Example usage for Java org.eclipse.jdt.internal.core.hierarchy TypeHierarchy fields, constructors, methods, implement or subclass
The text is from its open source code.
TypeHierarchy(IType type, ICompilationUnit[] workingCopies, IJavaProject project, boolean computeSubtypes) Creates a TypeHierarchy on the given type. | |
TypeHierarchy(IType type, ICompilationUnit[] workingCopies, IJavaSearchScope scope, boolean computeSubtypes) Creates a TypeHierarchy on the given type. |
void | fireChange() Notifies listeners that this hierarchy has changed and needs refreshing. |
IType[] | getAllClasses() |
IType[] | getAllInterfaces() |
IType[] | getAllSubtypes(IType type) |
IType[] | getAllSuperclasses(IType type) |
IType[] | getImplementingClasses(IType type) |
IType[] | getRootClasses() |
IType[] | getRootInterfaces() |
IType[] | getSubtypes(IType type) |
IType | getSuperclass(IType type) |
IType[] | getSuperInterfaces(IType type) |
IType | getType() |
boolean | hasFineGrainChanges() |
IJavaProject | javaProject() Returns the java project this hierarchy was created in. |
void | refresh(IProgressMonitor monitor) |