Method Summary |
|
public static boolean | areEqualInWorkspaceOrOnDisk(IResource r1, IResource r2) |
public static boolean | canBeDestinationForLinkedResources(IResource resource) |
public static boolean | canBeDestinationForLinkedResources(IJavaElement javaElement) |
public static boolean | containsElementOrParent(Set elements, IJavaElement element) |
public static boolean | containsElementOrParent(Set elements, IResource element) |
public static boolean | containsLinkedResources(IResource[] resources) |
public static boolean | containsLinkedResources(IJavaElement[] javaElements) |
public static boolean | containsOnlyProjects(List elements) |
public static ICompilationUnit | getCompilationUnit(IJavaElement javaElement) |
public static ICompilationUnit[] | getCompilationUnits(IJavaElement[] javaElements) |
public static IPackageFragmentRoot | getCorrespondingPackageFragmentRoot(IJavaProject p) |
public static List | getElementsOfType(IJavaElement[] javaElements, int type) |
public static IFile[] | getFiles(IResource[] resources) |
public static IFolder[] | getFolders(IResource[] resources) |
public static IJavaElement[] | getJavaElements(List elements) |
public static IType[] | getMainTypes(IJavaElement[] javaElements) |
public static String | getName(IResource resource) |
public static String | getName(IJavaElement element) |
public static IResource[] | getNotLinked(IResource[] resources) |
public static IResource[] | getNotNulls(IResource[] resources) |
public static IResource | getResource(IJavaElement element) |
public static IResource[] | getResources(IJavaElement[] elements) |
public static IResource[] | getResources(List elements) |
public static Set | getResourcesOfType(IResource[] resources, int typeMask) |
public static IWorkingSet[] | getWorkingSets(List elements) |
public static Map | groupByCompilationUnit(List javaElements) |
public static boolean | hasAncestorOfType(IJavaElement element, int type) |
public static boolean | hasElementsNotOfType(IResource[] resources, int typeMask) |
public static boolean | hasElementsNotOfType(IJavaElement[] javaElements, int type) |
public static boolean | hasElementsOfType(IJavaElement[] javaElements, int type) |
public static boolean | hasElementsOfType(IJavaElement[] javaElements, int[] types) |
public static boolean | hasElementsOfType(IResource[] resources, int typeMask) |
public static boolean | hasOnlyElementsOfType(IJavaElement[] javaElements, int[] types) |
public static boolean | hasSourceAvailable(IMember member) |
public static boolean | isArchiveMember(IJavaElement[] elements) |
public static boolean | isClassFolder(IJavaElement javaElement) |
public static boolean | isInsideClassFile(IJavaElement element) |
public static boolean | isInsideCompilationUnit(IJavaElement element) |
public static boolean | isPackageFragmentRoot(IJavaProject javaProject) |
public static boolean | isParentInWorkspaceOrOnDisk(IPackageFragment pack, IPackageFragmentRoot root) |
public static boolean | isParentInWorkspaceOrOnDisk(IPackageFragmentRoot root, IJavaProject javaProject) |
public static boolean | isParentInWorkspaceOrOnDisk(ICompilationUnit cu, IPackageFragment dest) |
public static boolean | isParentInWorkspaceOrOnDisk(IResource res, IResource maybeParent) |
public static boolean | isProject(Object element) |
public static boolean | isSourceFolder(IJavaElement javaElement) |
public static IResource[] | setMinus(IResource[] setToRemoveFrom, IResource[] elementsToRemove) |
public static IJavaElement[] | setMinus(IJavaElement[] setToRemoveFrom, IJavaElement[] elementsToRemove) |
public static void | splitIntoJavaElementsAndResources(Object[] elements, List javaElementResult, List resourceResult) |
public static IJavaElement[] | union(IJavaElement[] set1, IJavaElement[] set2) |
public static IResource[] | union(IResource[] set1, IResource[] set2) |
public static Set | union(Set set1, Set set2) |