1 11 package org.eclipse.jdt.core; 12 13 import java.io.OutputStream ; 14 15 import org.eclipse.core.runtime.IProgressMonitor; 16 17 43 public interface ITypeHierarchy { 44 51 void addTypeHierarchyChangedListener(ITypeHierarchyChangedListener listener); 52 58 boolean contains(IType type); 59 63 boolean exists(); 64 71 IType[] getAllClasses(); 72 79 IType[] getAllInterfaces(); 80 90 IType[] getAllSubtypes(IType type); 91 106 IType[] getAllSuperclasses(IType type); 107 121 IType[] getAllSuperInterfaces(IType type); 122 139 IType[] getAllSupertypes(IType type); 140 147 IType[] getAllTypes(); 148 149 158 int getCachedFlags(IType type); 159 160 171 IType[] getExtendingInterfaces(IType type); 172 183 IType[] getImplementingClasses(IType type); 184 190 IType[] getRootClasses(); 191 197 IType[] getRootInterfaces(); 198 210 IType[] getSubclasses(IType type); 211 223 IType[] getSubtypes(IType type); 224 236 IType getSuperclass(IType type); 237 248 IType[] getSuperInterfaces(IType type); 249 262 IType[] getSupertypes(IType type); 263 269 IType getType(); 270 276 void refresh(IProgressMonitor monitor) throws JavaModelException; 277 283 void removeTypeHierarchyChangedListener(ITypeHierarchyChangedListener listener); 284 302 void store(OutputStream outputStream, IProgressMonitor monitor) throws JavaModelException; 303 } 304 | Popular Tags |