Package org.immutables.generator
Class TypeHierarchyCollector
java.lang.Object
org.immutables.generator.TypeHierarchyCollector
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static StringBuilderappend(StringBuilder builder, List<? extends AnnotationMirror> annotations) (package private) static StringBuilderappend(StringBuilder builder, TypeMirror mirror) voidcollectFrom(TypeMirror typeMirror) private voidcollectHierarchyMirrors(TypeMirror typeMirror, String stringRepresentation) private voidcollectInterfacesMirrors(TypeMirror typeMirror, TypeHierarchyCollector.TypevarContext context) private voidcollectUnresolvedInterface(TypeMirror typeMirror, TypeHierarchyCollector.TypevarContext context) com.google.common.collect.ImmutableList<TypeElement> com.google.common.collect.ImmutableSet<String> com.google.common.collect.ImmutableSet<String> com.google.common.collect.ImmutableSet<TypeElement> protected Stringstringify(DeclaredType input, TypeHierarchyCollector.TypevarContext context) overridable stringify.(package private) static Stringstringify(TypeMirror mirror) private DeclaredTypetoDeclaredType(TypeMirror typeMirror) private static TypeElementtoTypeElement(DeclaredType input) com.google.common.collect.ImmutableSet<String>
-
Field Details
-
extendedClasses
-
implementedInterfaces
-
extendedClassNames
-
implementedInterfaceNames
-
unresolvedYetArguments
-
-
Constructor Details
-
TypeHierarchyCollector
public TypeHierarchyCollector()
-
-
Method Details
-
stringify
overridable stringify.- Parameters:
input- the inputcontext- the context- Returns:
- the string
-
collectFrom
-
stringify
-
append
-
append
private static StringBuilder append(StringBuilder builder, List<? extends AnnotationMirror> annotations) -
toDeclaredType
-
extendedClasses
-
implementedInterfaces
-
unresolvedYetArguments
-
extendedClassNames
-
implementedInterfaceNames
-
collectHierarchyMirrors
-
collectUnresolvedInterface
private void collectUnresolvedInterface(TypeMirror typeMirror, TypeHierarchyCollector.TypevarContext context) -
collectInterfacesMirrors
private void collectInterfacesMirrors(TypeMirror typeMirror, TypeHierarchyCollector.TypevarContext context) -
toTypeElement
-