This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Field and Description |
|---|---|
| public final Map | annotationToField
The mapping of TypeElements representing annotation to fields that use them. |
| public final Map | classToClass
Mapping of TypeElements to a set of TypeElements used by that class. |
| public final Map | classToClassAnnotations
The mapping of TypeElement representing annotation to TypeElements that use them. |
| public final Map | classToClassTypeParam
The mapping of TypeElement to TypeElement that use them as type parameters. |
| public final Map | classToConstructorAnnotations
The mapping of TypeElements representing annotations to constructors that use them. |
| public final Map | classToConstructorArgs
Mapping of TypeElements to list of ExecutableElements (constructors) having that class as an arg. |
| public final Map | classToConstructorArgTypeParam
The mapping of TypeElements to constructor arguments that use them as type parameters. |
| public final Map | classToConstructorParamAnnotation
The mapping of TypeElement representing annotations to constructor parameters that use them. |
| public final Map | classToConstructorThrows
Mapping of TypeElements to list of constructors which throws that class. |
| public final Map | classToField
Mapping of TypeElements to list of VariableElements declared as that class. |
| public final Map | classToFieldTypeParam
The mapping of TypeElements to fields that use them as type parameters. |
| public final Map | classToImplementingClass
Mapping of TypeElements to list of TypeElements which implement this interface. |
| public final Map | classToImplementsTypeParam
Mapping of TypeElements to list of TypeElements which use them in implemented interface type parameters. |
| public final Map | classToMethodAnnotations
The mapping of TypeElement representing annotation to methods that use them. |
| public final Map | classToMethodArgs
Mapping of TypeElements to list of ExecutableElements having that class as an arg. |
| public final Map | classToMethodArgTypeParam
The mapping of TypeElement to method arguments that use them as type parameters. |
| public final Map | classToMethodParamAnnotation
The mapping of TypeElements representing annotations to method parameters that use them. |
| public final Map | classToMethodReturn
Mapping of TypeElements to list of ExecutableElements returning that class. |
| public final Map | classToMethodReturnTypeParam
The mapping of TypeElements to methods that have return type with type parameters of that class. |
| public final Map | classToMethodThrows
Mapping of TypeElements to list of ExecutableElements which throws that class. |
| public final Map | classToMethodTypeParam
The mapping of TypeElement to methods that use them as type parameters. |
| public final Map | classToPackage
Mapping of TypeElements to set of PackageElements used by that class. |
| public final Map | classToPackageAnnotations
Mapping of TypeElements representing annotations to a set of PackageElements that use the annotation. |
| public final Map | classToSubclass
Mapping of TypeElements to a list of TypeElements which are direct or indirect subClasses of that class. |
| public final Map | classToSubclassTypeParam
Mapping of TypeElements to list of TypeElements which use them in superclass type parameters. |
| public final Map | classToSubinterface
Mapping of TypeElements to list of TypeElements which are direct or indirect subInterfaces of that interface. |
| public final Map | classToSubinterfaceTypeParam
Mapping of TypeElements to list of TypeElements which use them in superinterface type parameters. |
| private final ClassTree | |
| private final Comparators | |
| private final DocletEnvironment | |
| private final Elements | |
| private final Types | |
| private final Utils |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private <T extends Element> void | |
| private void | |
| private <T extends Element> void | |
| private Set | |
| private Collection | implementingClasses(TypeElement te)
Return all implementing classes of an interface (including all subClasses of implementing classes and all classes implementing subInterfaces) AND fill-in both classToImplementingClass and classToSubinterface maps. |
| private <T extends Element> void | mapAnnotations(final Map<TypeElement, List<T>>
the map the insert the information into. map, Element whose type parameters are being checked. e, final T owning the type parameters. holder)Map the AnnotationType to the members that use them as type parameters. |
| private void | mapExecutable(ExecutableElement ee)
Determine classes used by a method or constructor, so they can be inverse mapped. |
| private <T extends Element> void | mapTypeParameters(final Map<TypeElement, List<T>>
the map the insert the information into. map, Element the te whose type parameters are being checked. element, final T the holder that owns the type parameters. holder)Map the TypeElements to the members that use them as type parameters. |
| private <T extends Element> void | |
| private Set | |
| private <T> List | |
| private Collection | |
| private Collection | subinterfaces(TypeElement te)
Return all subInterfaces of an interface AND fill-in classToSubinterface map. |
| annotationToField | back to summary |
|---|---|
| public final Map<TypeElement, List<VariableElement>> annotationToField The mapping of TypeElements representing annotation to fields that use them. | |
| classToClass | back to summary |
|---|---|
| public final Map<TypeElement, Set<TypeElement>> classToClass Mapping of TypeElements to a set of TypeElements used by that class. | |
| classToClassAnnotations | back to summary |
|---|---|
| public final Map<TypeElement, List<TypeElement>> classToClassAnnotations The mapping of TypeElement representing annotation to TypeElements that use them. | |
| classToClassTypeParam | back to summary |
|---|---|
| public final Map<TypeElement, List<TypeElement>> classToClassTypeParam The mapping of TypeElement to TypeElement that use them as type parameters. | |
| classToConstructorAnnotations | back to summary |
|---|---|
| public final Map<TypeElement, List<ExecutableElement>> classToConstructorAnnotations The mapping of TypeElements representing annotations to constructors that use them. | |
| classToConstructorArgs | back to summary |
|---|---|
| public final Map<TypeElement, List<ExecutableElement>> classToConstructorArgs Mapping of TypeElements to list of ExecutableElements (constructors) having that class as an arg. | |
| classToConstructorArgTypeParam | back to summary |
|---|---|
| public final Map<TypeElement, List<ExecutableElement>> classToConstructorArgTypeParam The mapping of TypeElements to constructor arguments that use them as type parameters. | |
| classToConstructorParamAnnotation | back to summary |
|---|---|
| public final Map<TypeElement, List<ExecutableElement>> classToConstructorParamAnnotation The mapping of TypeElement representing annotations to constructor parameters that use them. | |
| classToConstructorThrows | back to summary |
|---|---|
| public final Map<TypeElement, List<ExecutableElement>> classToConstructorThrows Mapping of TypeElements to list of constructors which throws that class. | |
| classToField | back to summary |
|---|---|
| public final Map<TypeElement, List<VariableElement>> classToField Mapping of TypeElements to list of VariableElements declared as that class. | |
| classToFieldTypeParam | back to summary |
|---|---|
| public final Map<TypeElement, List<VariableElement>> classToFieldTypeParam The mapping of TypeElements to fields that use them as type parameters. | |
| classToImplementingClass | back to summary |
|---|---|
| public final Map<TypeElement, List<TypeElement>> classToImplementingClass Mapping of TypeElements to list of TypeElements which implement this interface. | |
| classToImplementsTypeParam | back to summary |
|---|---|
| public final Map<TypeElement, List<TypeElement>> classToImplementsTypeParam Mapping of TypeElements to list of TypeElements which use them in implemented interface type parameters. | |
| classToMethodAnnotations | back to summary |
|---|---|
| public final Map<TypeElement, List<ExecutableElement>> classToMethodAnnotations The mapping of TypeElement representing annotation to methods that use them. | |
| classToMethodArgs | back to summary |
|---|---|
| public final Map<TypeElement, List<ExecutableElement>> classToMethodArgs Mapping of TypeElements to list of ExecutableElements having that class as an arg. | |
| classToMethodArgTypeParam | back to summary |
|---|---|
| public final Map<TypeElement, List<ExecutableElement>> classToMethodArgTypeParam The mapping of TypeElement to method arguments that use them as type parameters. | |
| classToMethodParamAnnotation | back to summary |
|---|---|
| public final Map<TypeElement, List<ExecutableElement>> classToMethodParamAnnotation The mapping of TypeElements representing annotations to method parameters that use them. | |
| classToMethodReturn | back to summary |
|---|---|
| public final Map<TypeElement, List<ExecutableElement>> classToMethodReturn Mapping of TypeElements to list of ExecutableElements returning that class. | |
| classToMethodReturnTypeParam | back to summary |
|---|---|
| public final Map<TypeElement, List<ExecutableElement>> classToMethodReturnTypeParam The mapping of TypeElements to methods that have return type with type parameters of that class. | |
| classToMethodThrows | back to summary |
|---|---|
| public final Map<TypeElement, List<ExecutableElement>> classToMethodThrows Mapping of TypeElements to list of ExecutableElements which throws that class. | |
| classToMethodTypeParam | back to summary |
|---|---|
| public final Map<TypeElement, List<ExecutableElement>> classToMethodTypeParam The mapping of TypeElement to methods that use them as type parameters. | |
| classToPackage | back to summary |
|---|---|
| public final Map<TypeElement, Set<PackageElement>> classToPackage Mapping of TypeElements to set of PackageElements used by that class. | |
| classToPackageAnnotations | back to summary |
|---|---|
| public final Map<TypeElement, List<PackageElement>> classToPackageAnnotations Mapping of TypeElements representing annotations to a set of PackageElements that use the annotation. | |
| classToSubclass | back to summary |
|---|---|
| public final Map<TypeElement, List<TypeElement>> classToSubclass Mapping of TypeElements to a list of TypeElements which are direct or indirect subClasses of that class. | |
| classToSubclassTypeParam | back to summary |
|---|---|
| public final Map<TypeElement, List<TypeElement>> classToSubclassTypeParam Mapping of TypeElements to list of TypeElements which use them in superclass type parameters. | |
| classToSubinterface | back to summary |
|---|---|
| public final Map<TypeElement, List<TypeElement>> classToSubinterface Mapping of TypeElements to list of TypeElements which are direct or indirect subInterfaces of that interface. | |
| classToSubinterfaceTypeParam | back to summary |
|---|---|
| public final Map<TypeElement, List<TypeElement>> classToSubinterfaceTypeParam Mapping of TypeElements to list of TypeElements which use them in superinterface type parameters. | |
| classTree | back to summary |
|---|---|
| private final ClassTree classTree | |
| comparators | back to summary |
|---|---|
| private final Comparators comparators | |
| docEnv | back to summary |
|---|---|
| private final DocletEnvironment docEnv | |
| elementUtils | back to summary |
|---|---|
| private final Elements elementUtils | |
| typeUtils | back to summary |
|---|---|
| private final Types typeUtils | |
| utils | back to summary |
|---|---|
| private final Utils utils | |
| ClassUseMapper | back to summary |
|---|---|
| public ClassUseMapper(BaseConfiguration configuration, ClassTree classTree) | |
| add | back to summary |
|---|---|
| private <T extends Element> void add(Map<TypeElement, List<T>> map, TypeElement te, T ref) | |
| addAll | back to summary |
|---|---|
| private void addAll(Map<TypeElement, List<TypeElement>> map, TypeElement te, Collection<TypeElement> refs) | |
| addTypeParameterToMap | back to summary |
|---|---|
| private <T extends Element> void addTypeParameterToMap(final Map<TypeElement, List<T>> map, TypeMirror type, final T holder) | |
| classSet | back to summary |
|---|---|
| private Set | |
| implementingClasses | back to summary |
|---|---|
| private Collection Return all implementing classes of an interface (including all subClasses of implementing classes and all classes implementing subInterfaces) AND fill-in both classToImplementingClass and classToSubinterface maps. | |
| mapAnnotations | back to summary |
|---|---|
| private <T extends Element> void mapAnnotations(final Map<TypeElement, List<T>> map, Element e, final T holder) Map the AnnotationType to the members that use them as type parameters.
| |
| mapExecutable | back to summary |
|---|---|
| private void mapExecutable(ExecutableElement ee) Determine classes used by a method or constructor, so they can be inverse mapped. | |
| mapTypeParameters | back to summary |
|---|---|
| private <T extends Element> void mapTypeParameters(final Map<TypeElement, List<T>> map, Element element, final T holder) Map the TypeElements to the members that use them as type parameters.
| |
| mapTypeParameters | back to summary |
|---|---|
| private <T extends Element> void mapTypeParameters(final Map<TypeElement, List<T>> map, TypeMirror aType, final T holder) | |
| packageSet | back to summary |
|---|---|
| private Set | |
| refList | back to summary |
|---|---|
| private <T> List | |
| subclasses | back to summary |
|---|---|
| private Collection Return all subClasses of a class AND fill-in classToSubclass map. | |
| subinterfaces | back to summary |
|---|---|
| private Collection Return all subInterfaces of an interface AND fill-in classToSubinterface map. | |