Package com.google.turbine.processing
Class ClassHierarchy
- java.lang.Object
-
- com.google.turbine.processing.ClassHierarchy
-
public class ClassHierarchy extends java.lang.ObjectA representation of the class hierarchy, with logic for performing search between subtypes and their supertypes.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidround(CompoundEnv<ClassSymbol,TypeBoundClass> env)java.lang.Iterable<ClassSymbol>transitiveSupertypes(ClassSymbol s)Returns all classes in the transitive supertype hierarchy of the given class, including the class itself.
-
-
-
Method Detail
-
round
public void round(CompoundEnv<ClassSymbol,TypeBoundClass> env)
-
transitiveSupertypes
public java.lang.Iterable<ClassSymbol> transitiveSupertypes(ClassSymbol s)
Returns all classes in the transitive supertype hierarchy of the given class, including the class itself.The iteration order of the results is undefined, and in particular no guarantees are made about the ordering of sub-types and super-types.
-
-