A C D E F G H I J L M O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accept(AnnotationValueVisitor<R, P>, P) - Method in class io.microsphere.annotation.processor.model.element.StringAnnotationValue
- AnnotatedElementJSONElementVisitor - Class in io.microsphere.annotation.processor.model.util
-
An abstract implementation of
ElementVisitor
that generates JSON content for elements annotated with a specific annotation. - AnnotatedElementJSONElementVisitor(ProcessingEnvironment, String) - Constructor for class io.microsphere.annotation.processor.model.util.AnnotatedElementJSONElementVisitor
- annotationClassName - Variable in class io.microsphere.annotation.processor.model.util.AnnotatedElementJSONElementVisitor
- annotationType - Variable in class io.microsphere.annotation.processor.model.util.AnnotatedElementJSONElementVisitor
- annotationTypeElement - Variable in class io.microsphere.annotation.processor.model.util.AnnotatedElementJSONElementVisitor
- AnnotationUtils - Interface in io.microsphere.annotation.processor.util
-
A utility interface for working with annotations in the
javax.lang.model.*
package.
C
- ClassUtils - Interface in io.microsphere.annotation.processor.util
-
The utilities class for
Class
- compare(ExecutableElement, ExecutableElement) - Method in class io.microsphere.annotation.processor.util.ExecutableElementComparator
- CONFIGURATION_PROPERTY_ANNOTATION_CLASS_NAME - Static variable in class io.microsphere.annotation.processor.model.util.ConfigurationPropertyJSONElementVisitor
- ConfigurationPropertyAnnotationProcessor - Class in io.microsphere.annotation.processor
-
The
Processor
for theConfigurationProperty
annotation - ConfigurationPropertyAnnotationProcessor() - Constructor for class io.microsphere.annotation.processor.ConfigurationPropertyAnnotationProcessor
- ConfigurationPropertyJSONElementVisitor - Class in io.microsphere.annotation.processor.model.util
-
@ConfigurationProperty
'sAnnotatedElementJSONElementVisitor
based onConfigurationPropertyGenerator
generating the JSON representation of the configuration property metadata. - ConfigurationPropertyJSONElementVisitor(ProcessingEnvironment) - Constructor for class io.microsphere.annotation.processor.model.util.ConfigurationPropertyJSONElementVisitor
- ConstructorUtils - Interface in io.microsphere.annotation.processor.util
-
The utils class for
constructor
D
- debug(String, Object...) - Static method in interface io.microsphere.annotation.processor.util.LoggerUtils
- DEFAULT_ANNOTATION_VALUE_VISITOR - Static variable in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
The default
AnnotationValueVisitor
- doAppend(ExecutableElement, StringBuilder) - Method in class io.microsphere.annotation.processor.model.util.JSONAnnotationValueVisitor
- doVisitPackage(PackageElement, StringBuilder) - Method in class io.microsphere.annotation.processor.model.util.JSONElementVisitor
-
Visits a package element and appends its JSON representation to the builder.
- doVisitTypeParameter(TypeParameterElement, StringBuilder) - Method in class io.microsphere.annotation.processor.model.util.JSONElementVisitor
-
Visits a type parameter element and appends its JSON representation to the builder.
E
- elements - Variable in class io.microsphere.annotation.processor.model.util.AnnotatedElementJSONElementVisitor
- elementTypes - Variable in class io.microsphere.annotation.processor.model.util.AnnotatedElementJSONElementVisitor
- ElementUtils - Interface in io.microsphere.annotation.processor.util
-
The utility class for
Element
- EMPTY_ELEMENT_TYPE_ARRAY - Static variable in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
The empty
ElementType
array - equalsFieldName(VariableElement, CharSequence) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Checks if the simple name of the given field matches the specified field name.
- error(String, Object...) - Static method in interface io.microsphere.annotation.processor.util.LoggerUtils
- ExecutableElementComparator - Class in io.microsphere.annotation.processor.util
-
The Comparator class for
ExecutableElement
, the comparison rule : Comparing to twoelement names
lexicographically
. - exists(FileObject) - Static method in class io.microsphere.annotation.processor.ResourceProcessor
F
- FieldUtils - Interface in io.microsphere.annotation.processor.util
-
A utility interface for working with fields in the context of Java annotation processing.
- FilerProcessor - Class in io.microsphere.annotation.processor
-
A processor class that provides safe and exception-handled operations for interacting with the
Filer
in an annotation processing environment. - FilerProcessor(ProcessingEnvironment) - Constructor for class io.microsphere.annotation.processor.FilerProcessor
- filterDeclaredConstructors(TypeMirror, Predicate<? super ExecutableElement>...) - Static method in interface io.microsphere.annotation.processor.util.ConstructorUtils
-
Filters and retrieves the list of declared constructors from the provided
TypeMirror
. - filterDeclaredFields(TypeMirror, boolean, Predicate<? super VariableElement>...) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Filters and retrieves the declared fields from the given type based on the provided criteria.
- filterDeclaredMethods(TypeMirror, boolean, Predicate<? super ExecutableElement>...) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Filters the declared methods of the specified type based on the given predicates.
- filterElements(List<E>, Predicate<? super E>...) - Static method in interface io.microsphere.annotation.processor.util.ElementUtils
-
Filters the provided list of
Element
objects based on the given array ofPredicate
conditions. - filterMethods(List<ExecutableElement>, Predicate<? super ExecutableElement>...) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Filters the given list of executable elements (methods) based on the provided predicates.
- findAllAnnotations(ProcessingEnvironment, CharSequence, Predicate<? super AnnotationMirror>...) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves all
AnnotationMirror
instances of the specified annotated type name from the givenProcessingEnvironment
. - findAllAnnotations(ProcessingEnvironment, Type, Predicate<? super AnnotationMirror>...) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves all
AnnotationMirror
instances of the specified annotated type from the givenProcessingEnvironment
. - findAllAnnotations(Element, Predicate<? super AnnotationMirror>...) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves all
AnnotationMirror
instances from the givenElement
, applying the specified annotation filters to narrow down the results. - findAllAnnotations(TypeElement, Predicate<? super AnnotationMirror>...) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
- findAllAnnotations(TypeMirror, Predicate<? super AnnotationMirror>...) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves all
AnnotationMirror
instances from the givenTypeMirror
, applying the specified annotation filters to narrow down the results. - findAllDeclaredFields(Element, Predicate<? super VariableElement>...) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Retrieves all declared fields from the given element, including those from hierarchical types (e.g., superclasses), after applying the provided filters.
- findAllDeclaredFields(TypeMirror, Predicate<? super VariableElement>...) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Retrieves all declared fields from the given type, including those from hierarchical types (e.g., superclasses), after applying the provided filters.
- findAllDeclaredMembers(TypeElement, Predicate<? super T>...) - Static method in interface io.microsphere.annotation.processor.util.MemberUtils
-
Retrieves all declared members (fields, methods, constructors, etc.) from the given
TypeElement
, including those inherited from superclasses and implemented interfaces. - findAllDeclaredMembers(TypeMirror, Predicate<? super T>...) - Static method in interface io.microsphere.annotation.processor.util.MemberUtils
-
Returns all declared members (including those from superclasses and interfaces) of the provided
TypeMirror
, optionally filtered by one or more predicates. - findAllDeclaredMethods(TypeElement, Type...) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Find all declared methods of the specified type element, including those inherited from superclasses and interfaces, and exclude methods declared in the specified excluded types.
- findAllDeclaredMethods(TypeElement, Predicate<? super ExecutableElement>...) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Find all declared methods of the specified
TypeElement
, including those inherited from superclasses and interfaces, and optionally filter them using the provided predicates. - findAllDeclaredMethods(TypeMirror, Type...) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Find all declared methods of the specified type mirror, including those inherited from superclasses and interfaces, and exclude methods declared in the specified excluded types.
- findAllDeclaredMethods(TypeMirror, Predicate<? super ExecutableElement>...) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Finds all declared methods of the specified type mirror, including those inherited from superclasses and interfaces, and optionally filters them using the provided predicates.
- findAllDeclaredTypes(Element, CharSequence...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing all associated types in the hierarchy of the given Element, excluding any types whose names match the specified excludedTypeNames.
- findAllDeclaredTypes(Element, Type...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing all associated types in the hierarchy of the given Element, excluding any types that match the specified excludedTypes.
- findAllDeclaredTypes(Element, Predicate<? super DeclaredType>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing all associated types in the hierarchy of the given Element, filtered by the provided predicates.
- findAllDeclaredTypes(TypeMirror, CharSequence...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing all associated types in the hierarchy of the given TypeMirror, excluding any types whose names match the specified excludedTypeNames.
- findAllDeclaredTypes(TypeMirror, Type...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing all associated types in the hierarchy of the given TypeMirror, excluding any types that match the specified excludedTypes.
- findAllDeclaredTypes(TypeMirror, Predicate<? super DeclaredType>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing all associated types in the hierarchy of the given TypeMirror, filtered by the provided predicates.
- findAllDeclaredTypesOfInterfaces(Element, Predicate<? super DeclaredType>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing all interfaces implemented in the entire hierarchy of the given Element.
- findAllDeclaredTypesOfInterfaces(TypeMirror, Predicate<? super DeclaredType>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing all interfaces implemented in the entire hierarchy of the given TypeMirror.
- findAllDeclaredTypesOfSuperclasses(Element, Predicate<? super DeclaredType>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing all superclasses in the hierarchy of the given Element.
- findAllDeclaredTypesOfSuperclasses(TypeMirror, Predicate<? super DeclaredType>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing all superclasses in the hierarchy of the given TypeMirror.
- findAllDeclaredTypesOfSuperTypes(Element, Predicate<? super DeclaredType>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing all superclasses and interfaces in the hierarchy of the given Element.
- findAllDeclaredTypesOfSuperTypes(TypeMirror, Predicate<? super DeclaredType>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing all superclasses and interfaces in the hierarchy of the given TypeMirror.
- findAllTypeElementsOfInterfaces(TypeElement, Predicate<? super TypeElement>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves all TypeElements representing the interfaces implemented in the entire hierarchy of the given TypeElement.
- findAllTypeElementsOfSuperclasses(TypeElement, Predicate<? super TypeElement>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves all TypeElements representing the superclasses in the hierarchy of the given TypeElement.
- findAllTypeElementsOfSuperTypes(TypeElement, Predicate<? super TypeElement>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves all TypeElements representing the superclasses and interfaces in the hierarchy of the given TypeElement.
- findAllTypeMirrorsOfInterfaces(TypeElement, Predicate<TypeMirror>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of TypeMirrors representing all interfaces implemented in the entire hierarchy of the given TypeElement.
- findAllTypeMirrorsOfInterfaces(TypeMirror, Predicate<TypeMirror>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of TypeMirrors representing all interfaces implemented in the entire hierarchy of the given TypeMirror.
- findAnnotation(Element, CharSequence) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves the first
AnnotationMirror
of the specified annotation class name from the givenElement
. - findAnnotation(Element, Class<? extends Annotation>) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves the first
AnnotationMirror
of the specified annotation class from the givenElement
. - findAnnotation(TypeMirror, CharSequence) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves the first
AnnotationMirror
of the specified annotation class name from the givenTypeMirror
. - findAnnotation(TypeMirror, Class<? extends Annotation>) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves the first
AnnotationMirror
of the specified annotation class from the givenTypeMirror
. - findAnnotations(AnnotatedConstruct, Predicate<? super AnnotationMirror>...) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves all
AnnotationMirror
instances from the givenAnnotatedConstruct
that match the provided annotation filters. - findConstructor(TypeElement, Type...) - Static method in interface io.microsphere.annotation.processor.util.ConstructorUtils
-
Finds a declared constructor in the specified
TypeElement
that matches the given parameter types. - findConstructor(TypeMirror, Type...) - Static method in interface io.microsphere.annotation.processor.util.ConstructorUtils
-
Finds a declared constructor in the specified
TypeMirror
that matches the given parameter types. - findDeclaredConstructors(TypeElement, Predicate<? super ExecutableElement>...) - Static method in interface io.microsphere.annotation.processor.util.ConstructorUtils
-
Retrieves and filters the list of declared constructors from the provided
TypeElement
. - findDeclaredConstructors(TypeMirror, Predicate<? super ExecutableElement>...) - Static method in interface io.microsphere.annotation.processor.util.ConstructorUtils
-
Retrieves and filters the list of declared constructors from the provided
TypeMirror
. - findDeclaredFields(Element, Predicate<? super VariableElement>...) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Retrieves the declared fields from the given element after applying the provided filters.
- findDeclaredFields(TypeMirror, Predicate<? super VariableElement>...) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Retrieves the declared fields from the given type after applying the provided filters.
- findDeclaredMembers(TypeElement, boolean, Predicate<? super T>...) - Static method in interface io.microsphere.annotation.processor.util.MemberUtils
-
Returns the declared members of the provided
TypeElement
, optionally including members from superclasses and interfaces, and filtered by one or more predicates. - findDeclaredMembers(TypeElement, Predicate<? super T>...) - Static method in interface io.microsphere.annotation.processor.util.MemberUtils
-
Returns the directly declared members of the provided
TypeElement
, optionally filtered by one or more predicates. - findDeclaredMembers(TypeMirror, boolean, Predicate<? super T>...) - Static method in interface io.microsphere.annotation.processor.util.MemberUtils
-
Returns the declared members of the provided
TypeMirror
, optionally including members from superclasses and interfaces, and filtered by one or more predicates. - findDeclaredMembers(TypeMirror, Predicate<? super T>...) - Static method in interface io.microsphere.annotation.processor.util.MemberUtils
-
Returns the declared members of the provided
TypeMirror
, optionally filtered by one or more predicates. - findDeclaredMethods(TypeElement, Predicate<? super ExecutableElement>...) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Find the declared methods of the specified
TypeElement
. - findDeclaredMethods(TypeMirror, Predicate<? super ExecutableElement>...) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Find the declared methods of the specified type mirror.
- findDeclaredTypes(Element, boolean, boolean, boolean, boolean, Predicate<? super DeclaredType>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Finds and returns a list of DeclaredTypes associated with the given Element based on the specified criteria.
- findDeclaredTypes(Element, CharSequence...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Finds and returns a list of DeclaredTypes associated with the given Element, excluding any types whose names match the specified excludedTypeNames.
- findDeclaredTypes(Element, Type...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Finds and returns a list of DeclaredTypes associated with the given Element, excluding any types that match the specified excludedTypes.
- findDeclaredTypes(TypeMirror, boolean, boolean, boolean, boolean, Predicate<? super DeclaredType>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Finds and returns a list of DeclaredTypes associated with the given TypeMirror based on the specified criteria.
- findDeclaredTypes(TypeMirror, CharSequence...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Finds and returns a list of DeclaredTypes associated with the given TypeMirror, excluding any types whose names match the specified excludedTypeNames.
- findDeclaredTypes(TypeMirror, Type...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Finds and returns a list of DeclaredTypes associated with the given TypeMirror, excluding any types that match the specified excludedTypes.
- findDeclaredTypesOfInterfaces(Element, Predicate<? super DeclaredType>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing the interfaces directly implemented by the given Element.
- findDeclaredTypesOfInterfaces(TypeMirror, Predicate<? super DeclaredType>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing the interfaces directly implemented by the given TypeMirror.
- findField(Element, String) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Retrieves the first matching field with the specified name from the given element.
- findField(TypeMirror, String) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Retrieves the first matching field with the specified name from the given type.
- findInterfaceTypeMirror(Element, CharSequence) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Finds and returns the TypeMirror representing the specified interface type from the given Element.
- findInterfaceTypeMirror(Element, Type) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Finds and returns the TypeMirror representing the specified interface type from the given Element.
- findInterfaceTypeMirror(TypeMirror, CharSequence) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Finds and returns the TypeMirror representing the specified interface type from the given TypeMirror.
- findInterfaceTypeMirror(TypeMirror, Type) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Finds and returns the TypeMirror representing the specified interface type from the given TypeMirror.
- findMetaAnnotation(Element, CharSequence) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves the first meta-annotation of the specified meta-annotation class name from the given annotated element.
- findMetaAnnotation(Element, Class<? extends Annotation>) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves the first meta-annotation of the specified meta-annotation class from the given annotated element.
- findMethod(TypeElement, String) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Finds a method with the specified name in the given type element, using an empty parameter type array as default.
- findMethod(TypeElement, String, CharSequence...) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Finds a method with the specified name and parameter type names in the given
TypeElement
. - findMethod(TypeElement, String, Type...) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Finds a method with the specified name and parameter types in the given
TypeElement
. - findMethod(TypeMirror, String) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Finds a method with the specified name in the given type mirror, using an empty parameter type array as default.
- findMethod(TypeMirror, String, CharSequence...) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Finds a method with the specified name and parameter type names in the given type mirror.
- findMethod(TypeMirror, String, Type...) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Finds a method with the specified name and parameter types in the given type mirror.
- findPublicNonStaticMethods(TypeElement, Type...) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Finds all public non-static methods declared in the specified
TypeElement
, excluding those inherited from superclasses or interfaces, and optionally excludes methods declared in the specified excluded types. - findPublicNonStaticMethods(TypeMirror, Type...) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Find all public non-static methods declared in the specified type mirror, excluding those inherited from superclasses or interfaces, and optionally exclude methods declared in the specified excluded types.
- findTypeElements(TypeElement, boolean, boolean, boolean, boolean, Predicate<? super TypeElement>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Finds and returns a list of TypeElements based on the specified criteria.
- findTypeElementsOfInterfaces(TypeElement, Predicate<? super TypeElement>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves the TypeElements representing the interfaces directly implemented by the given TypeElement.
- findTypeMirrorsOfInterfaces(TypeElement, Predicate<TypeMirror>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of TypeMirrors representing the interfaces directly implemented by the given TypeElement.
- findTypeMirrorsOfInterfaces(TypeMirror, Predicate<TypeMirror>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of TypeMirrors representing the interfaces directly implemented by the given TypeMirror.
G
- getAllAnnotations(ProcessingEnvironment, Type) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves all
AnnotationMirror
instances of the specified annotated type from the givenProcessingEnvironment
. - getAllAnnotations(Element) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves all
AnnotationMirror
instances from the givenElement
. - getAllAnnotations(Element, CharSequence) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves all
AnnotationMirror
instances of the specified annotation class name from the givenElement
. - getAllAnnotations(Element, Class<? extends Annotation>) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves all
AnnotationMirror
instances of the specified annotation class from the givenElement
. - getAllAnnotations(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves all
AnnotationMirror
instances from the givenTypeMirror
. - getAllAnnotations(TypeMirror, CharSequence) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves all
AnnotationMirror
instances of the specified annotation class name from the givenTypeMirror
. - getAllAnnotations(TypeMirror, Class<? extends Annotation>) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves all
AnnotationMirror
instances of the specified annotation class from the givenTypeMirror
. - getAllDeclaredFields(Element) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Retrieves all declared fields from the given element, including those from hierarchical types (e.g., superclasses), without any filtering.
- getAllDeclaredFields(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Retrieves all declared fields from the given type, including those from hierarchical types (e.g., superclasses), without any filtering.
- getAllDeclaredMembers(TypeElement) - Static method in interface io.microsphere.annotation.processor.util.MemberUtils
-
Returns all declared members (including those from superclasses and interfaces) of the provided
TypeElement
. - getAllDeclaredMembers(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.MemberUtils
-
Returns all declared members (including those from superclasses and interfaces) of the provided
TypeMirror
. - getAllDeclaredMethods(TypeElement) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Get all declared methods of the specified type element, including those inherited from superclasses and interfaces.
- getAllDeclaredMethods(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Get all declared methods of the specified type mirror, including those inherited from superclasses and interfaces.
- getAllDeclaredTypes(Element) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing all associated types of the given Element.
- getAllDeclaredTypes(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing all associated types in the hierarchy of the given TypeMirror.
- getAllDeclaredTypesOfInterfaces(Element) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing all interfaces implemented in the entire hierarchy of the given Element.
- getAllDeclaredTypesOfInterfaces(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing all interfaces implemented in the entire hierarchy of the given TypeMirror.
- getAllDeclaredTypesOfSuperclasses(Element) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing all superclasses in the hierarchy of the given Element.
- getAllDeclaredTypesOfSuperclasses(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing all superclasses in the hierarchy of the given TypeMirror.
- getAllDeclaredTypesOfSuperTypes(Element) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing all superclasses and interfaces in the hierarchy of the given Element.
- getAllDeclaredTypesOfSuperTypes(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes representing all superclasses and interfaces in the hierarchy of the given TypeMirror.
- getAllNonStaticFields(Element) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Retrieves all non-static fields from the given element, including those from superclasses and interfaces.
- getAllNonStaticFields(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Retrieves all non-static fields from the given type, including those from hierarchical types (e.g., superclasses).
- getAllTypeElements(TypeElement) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves all TypeElements associated with the given TypeElement, including: - The type itself - Direct and hierarchical superclasses - Direct and hierarchical interfaces
- getAllTypeElementsOfInterfaces(TypeElement) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves all TypeElements representing the interfaces implemented in the entire hierarchy of the given TypeElement.
- getAllTypeElementsOfSuperclasses(TypeElement) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves all TypeElements representing the superclasses in the hierarchy of the given TypeElement.
- getAllTypeElementsOfSuperTypes(TypeElement) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves all TypeElements representing the superclasses and interfaces in the hierarchy of the given TypeElement.
- getAllTypeMirrorsOfInterfaces(TypeElement) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of TypeMirrors representing all interfaces implemented in the entire hierarchy of the given TypeElement.
- getAllTypeMirrorsOfInterfaces(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of TypeMirrors representing all interfaces implemented in the entire hierarchy of the given TypeMirror.
- getAnnotation(AnnotatedConstruct, CharSequence) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves the first
AnnotationMirror
of the specified annotation class name from the givenAnnotatedConstruct
. - getAnnotation(AnnotatedConstruct, Class<? extends Annotation>) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves the first
AnnotationMirror
of the specified annotation class from the givenAnnotatedConstruct
. - getAnnotationClassName() - Method in class io.microsphere.annotation.processor.model.util.AnnotatedElementJSONElementVisitor
-
Get the annotation class name
- getAnnotations(AnnotatedConstruct) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves all
AnnotationMirror
instances from the givenAnnotatedConstruct
. - getAnnotations(AnnotatedConstruct, CharSequence) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves all
AnnotationMirror
instances of the specified annotation class name from the givenAnnotatedConstruct
. - getAnnotations(AnnotatedConstruct, Class<? extends Annotation>) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves all
AnnotationMirror
instances of the specified annotation class from the givenAnnotatedConstruct
. - getAttribute(Map.Entry<ExecutableElement, AnnotationValue>) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves the value of the specified attribute from the provided entry containing the attribute method and its corresponding annotation value.
- getAttribute(AnnotationMirror, String) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves the value of the specified attribute from the given annotation.
- getAttribute(AnnotationMirror, String, boolean) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves the value of the specified attribute from the given annotation, optionally including the default value.
- getAttributeName(ExecutableElement) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves the name of the attribute method from the given
ExecutableElement
. - getAttributesMap(AnnotatedConstruct, Class<? extends Annotation>) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves a map of attribute names to their corresponding values from the first matching annotation of the specified class on the given annotated construct.
- getAttributesMap(AnnotatedConstruct, Class<? extends Annotation>, boolean) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves a map of attribute names to their corresponding values from the first matching annotation of the specified class on the given annotated construct.
- getAttributesMap(AnnotationMirror) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves a map of attribute names to their corresponding values from the specified annotation.
- getAttributesMap(AnnotationMirror, boolean) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves a map of attribute names to their corresponding values from the specified annotation.
- getClassName(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.ClassUtils
-
Gets the fully qualified class name from the given
TypeMirror
. - getDeclaredConstructors(TypeElement) - Static method in interface io.microsphere.annotation.processor.util.ConstructorUtils
-
Retrieves the list of declared constructors from the provided
TypeElement
. - getDeclaredConstructors(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.ConstructorUtils
-
Retrieves the list of declared constructors from the provided
TypeMirror
. - getDeclaredField(Element, String) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Retrieves the declared field with the specified name from the given element.
- getDeclaredField(TypeMirror, String) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Retrieves the declared field with the specified name from the given type.
- getDeclaredFields(Element) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Retrieves all declared fields from the given element without any filtering.
- getDeclaredFields(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Retrieves all declared fields from the given type without any filtering.
- getDeclaredMembers(TypeElement) - Static method in interface io.microsphere.annotation.processor.util.MemberUtils
-
Returns the directly declared members of the provided
TypeElement
. - getDeclaredMembers(TypeElement, boolean) - Static method in interface io.microsphere.annotation.processor.util.MemberUtils
-
Returns the declared members of the provided
TypeElement
, optionally including members from superclasses and interfaces. - getDeclaredMembers(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.MemberUtils
-
Returns the directly declared members of the provided
TypeMirror
. - getDeclaredMembers(TypeMirror, boolean) - Static method in interface io.microsphere.annotation.processor.util.MemberUtils
-
Returns the declared members of the provided
TypeMirror
, optionally including members from superclasses and interfaces. - getDeclaredMethods(TypeElement) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Gets all declared methods of the specified
TypeElement
. - getDeclaredMethods(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Gets all declared methods of the specified
TypeMirror
. - getDeclaredType(ProcessingEnvironment, CharSequence) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves the DeclaredType corresponding to the given type name using the provided ProcessingEnvironment.
- getDeclaredType(ProcessingEnvironment, Type) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves the DeclaredType corresponding to the given Type using the provided ProcessingEnvironment.
- getDeclaredType(ProcessingEnvironment, TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves the DeclaredType corresponding to the given TypeMirror using the provided ProcessingEnvironment.
- getDeclaredTypeOfSuperclass(Element) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves the declared type of the superclass for the given Element.
- getDeclaredTypeOfSuperclass(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves the declared type of the superclass for the given TypeMirror.
- getDeclaredTypes(Element, boolean, boolean, boolean, boolean) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes associated with the given Element based on the specified inclusion criteria.
- getDeclaredTypes(TypeMirror, boolean, boolean, boolean, boolean) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of DeclaredTypes associated with the given TypeMirror based on the specified inclusion criteria.
- getDeclaredTypesOfInterfaces(Element) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of declared types representing the interfaces directly implemented by the given Element.
- getDeclaredTypesOfInterfaces(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of declared types representing the interfaces directly implemented by the given TypeMirror.
- getElementTypes(AnnotationMirror) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves the
ElementType
array from the specified annotation. - getElementTypes(DeclaredType) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves the
ElementType
array from the specified annotation type by checking theTarget
annotation associated with it. - getElementValue(Map<ExecutableElement, AnnotationValue>, String) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves the attribute method and its corresponding annotation value from the specified element values map based on the given attribute name.
- getElementValue(AnnotationMirror, String, boolean) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves the attribute method and its corresponding annotation value from the specified annotation based on the given attribute name.
- getElementValues(AnnotatedConstruct, Class<? extends Annotation>) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves the map of annotation attribute methods to their corresponding values from the specified
AnnotatedConstruct
and annotation class. - getElementValues(AnnotatedConstruct, Class<? extends Annotation>, boolean) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves the map of annotation attribute methods to their corresponding values from the specified
AnnotatedConstruct
and annotation class. - getElementValues(AnnotationMirror) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves a map of annotation attribute methods to their corresponding values from the specified
AnnotationMirror
. - getElementValues(AnnotationMirror, boolean) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves a map of annotation attribute methods to their corresponding values from the specified
AnnotationMirror
. - getEnclosingElement(ExecutableElement) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Returns the enclosing element of the given executable method.
- getGenerator() - Method in class io.microsphere.annotation.processor.model.util.ConfigurationPropertyJSONElementVisitor
- getJavaFileManager() - Method in class io.microsphere.annotation.processor.FilerProcessor
-
Get the
JavaFileManager
- getMethodName(ExecutableElement) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Gets the simple name of the method as a string.
- getMethodParameterTypeMirrors(ExecutableElement) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Gets the parameter type mirrors of the given method.
- getMethodParameterTypeNames(ExecutableElement) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Gets the parameter type names of the given method.
- getNonStaticFields(Element) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Retrieves all declared non-static fields from the given element.
- getNonStaticFields(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Retrieves all declared non-static fields from the given type.
- getOverrideMethod(ProcessingEnvironment, TypeElement, ExecutableElement) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Finds the overridden method in the specified type that corresponds to the given declaring method.
- getResource(String, boolean) - Method in class io.microsphere.annotation.processor.ResourceProcessor
- getReturnTypeName(ExecutableElement) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Gets the return type name of the given method.
- getSupportedSourceVersion() - Method in class io.microsphere.annotation.processor.ConfigurationPropertyAnnotationProcessor
- getTypeElement(ProcessingEnvironment, CharSequence) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves the TypeElement corresponding to the given type name using the provided ProcessingEnvironment.
- getTypeElement(ProcessingEnvironment, Type) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves the TypeElement corresponding to the given Type using the provided ProcessingEnvironment.
- getTypeElement(ProcessingEnvironment, TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves the TypeElement corresponding to the given TypeMirror using the provided ProcessingEnvironment.
- getTypeElementOfSuperclass(TypeElement) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves the TypeElement representing the superclass of the given TypeElement.
- getTypeElements(ProcessingEnvironment, Type...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Converts an array of Type objects to a list of TypeElement instances using the provided ProcessingEnvironment.
- getTypeElements(TypeElement) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves the directly associated TypeElements of the given TypeElement.
- getTypeElements(TypeElement, boolean, boolean, boolean, boolean) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of TypeElements associated with the given TypeElement based on the specified inclusion criteria.
- getTypeElementsOfInterfaces(TypeElement) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves the direct interface types implemented by the given TypeElement.
- getTypeMirror(ProcessingEnvironment, Type) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Converts the given Type to a TypeMirror using the provided ProcessingEnvironment.
- getTypeMirrors(ProcessingEnvironment, Type...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Converts an array of Type objects to a list of TypeMirror instances using the provided ProcessingEnvironment.
- getTypeMirrorsOfInterfaces(TypeElement) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of TypeMirrors representing the interfaces directly implemented by the given TypeElement.
- getTypeMirrorsOfInterfaces(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Retrieves a list of TypeMirrors representing the interfaces directly implemented by the given TypeMirror.
- getTypeName(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Gets the fully qualified name of the given TypeMirror, including type parameters if present.
- getValue() - Method in class io.microsphere.annotation.processor.model.element.StringAnnotationValue
- getValue(AnnotationMirror) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Retrieves the value of the default attribute method named
"value"
from the specified annotation.
H
- hasModifiers(Element, Modifier...) - Static method in interface io.microsphere.annotation.processor.util.ElementUtils
-
Checks whether the specified
Element
has all of the specifiedModifier
s.
I
- info(String, Object...) - Static method in interface io.microsphere.annotation.processor.util.LoggerUtils
- init(ProcessingEnvironment) - Method in class io.microsphere.annotation.processor.ConfigurationPropertyAnnotationProcessor
- INSTANCE - Static variable in class io.microsphere.annotation.processor.util.ExecutableElementComparator
-
The singleton instance
- io.microsphere.annotation.processor - package io.microsphere.annotation.processor
- io.microsphere.annotation.processor.model.element - package io.microsphere.annotation.processor.model.element
- io.microsphere.annotation.processor.model.util - package io.microsphere.annotation.processor.model.util
- io.microsphere.annotation.processor.util - package io.microsphere.annotation.processor.util
- isAnnotationPresent(Element, CharSequence) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Checks if the specified annotation (by class name) is present on the given element, either directly or as a meta-annotation.
- isAnnotationPresent(Element, Class<? extends Annotation>) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Checks if the specified annotation is present on the given element, either directly or as a meta-annotation.
- isAnnotationType(Element) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks whether the given Element represents an annotation type.
- isAnnotationType(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks whether the given
TypeMirror
represents an annotation type. - isArrayType(Element) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks whether the given Element represents an array type.
- isArrayType(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks whether the given
TypeMirror
represents an array type. - isClass(ElementKind) - Static method in interface io.microsphere.annotation.processor.util.ElementUtils
-
Returns
true
if the specifiedElementKind
represents a class-like element, including:ElementKind.CLASS
ElementKind.ENUM
ElementKind#RECORD
- isClassType(Element) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks whether the given Element represents a class type.
- isClassType(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks whether the given
TypeMirror
represents a class type. - isDeclaredType(Element) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks whether the given Element represents a declared type.
- isDeclaredType(ElementKind) - Static method in interface io.microsphere.annotation.processor.util.ElementUtils
-
Returns
true
if the specifiedElementKind
represents a declared type, which includes both class-like and interface-like elements. - isDeclaredType(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks whether the given
TypeMirror
represents a declared type. - isEnumMemberField(VariableElement) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Determines whether the given field is an enum member field.
- isEnumType(Element) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks whether the given Element represents an enum type.
- isEnumType(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks whether the given
TypeMirror
represents an enum type. - isExecutable(ElementKind) - Static method in interface io.microsphere.annotation.processor.util.ElementUtils
-
Returns
true
if this is a kind of executable: eitherMETHOD
,CONSTRUCTOR
,STATIC_INIT
, orINSTANCE_INIT
. - isField(ElementKind) - Static method in interface io.microsphere.annotation.processor.util.ElementUtils
-
Returns
true
if this is a kind of field: eitherFIELD
orENUM_CONSTANT
. - isField(VariableElement) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Checks if the given element is a field or an enum constant.
- isField(VariableElement, Modifier...) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Checks if the given element is a field or an enum constant, and also has all the specified modifiers.
- isInitializer(ElementKind) - Static method in interface io.microsphere.annotation.processor.util.ElementUtils
-
Returns
true
if the specifiedElementKind
represents an initializer, eitherSTATIC_INIT
orINSTANCE_INIT
. - isInterface(ElementKind) - Static method in interface io.microsphere.annotation.processor.util.ElementUtils
-
Returns
true
if this is a kind of interface: eitherINTERFACE
orANNOTATION_TYPE
. - isInterfaceType(Element) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks whether the given Element represents an interface type.
- isInterfaceType(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks whether the given
TypeMirror
represents an interface type. - isMember(ElementKind) - Static method in interface io.microsphere.annotation.processor.util.ElementUtils
-
Returns
true
if the specifiedElementKind
represents a member element, which includes both field-like and executable-like elements. - isMethod(ExecutableElement) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Checks if the given executable element is a method.
- isNonStaticField(VariableElement) - Static method in interface io.microsphere.annotation.processor.util.FieldUtils
-
Checks if the given field is a non-static field.
- isPrimitiveType(Element) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks whether the given Element represents a primitive type.
- isPrimitiveType(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks whether the given
TypeMirror
represents a primitive type. - isPublicNonStatic(Element) - Static method in interface io.microsphere.annotation.processor.util.ElementUtils
-
Checks whether the specified
Element
is public and non-static. - isPublicNonStaticMethod(ExecutableElement) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Checks whether the given method is a public non-static method.
- isSameType(Element, CharSequence) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks if the given Element and type name represent the same type.
- isSameType(Element, Type) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks if the given Element and Type represent the same type.
- isSameType(TypeMirror, CharSequence) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks if the given TypeMirror and type name represent the same type.
- isSameType(TypeMirror, Type) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks if the given
TypeMirror
andType
represent the same type. - isSimpleType(Element) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks if the given Element represents a simple type.
- isSimpleType(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks whether the given
TypeMirror
represents a simple type. - isTypeElement(Element) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks if the given Element is a TypeElement.
- isTypeElement(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Checks if the given TypeMirror represents a TypeElement.
- isVariable(ElementKind) - Static method in interface io.microsphere.annotation.processor.util.ElementUtils
-
Returns
true
if the specifiedElementKind
represents a variable-like element, including:ElementKind.ENUM_CONSTANT
ElementKind.FIELD
ElementKind.PARAMETER
ElementKind.LOCAL_VARIABLE
ElementKind.EXCEPTION_PARAMETER
ElementKind.RESOURCE_VARIABLE
ElementKind#BINDING_VARIABLE
J
- JSONAnnotationValueVisitor - Class in io.microsphere.annotation.processor.model.util
-
A visitor implementation for converting
AnnotationValue
objects into JSON-formatted strings. - JSONAnnotationValueVisitor(StringBuilder) - Constructor for class io.microsphere.annotation.processor.model.util.JSONAnnotationValueVisitor
- JSONElementVisitor - Class in io.microsphere.annotation.processor.model.util
-
A specialized
ElementVisitor
implementation that traverses Java elements and generates JSON representations of the elements' metadata. - JSONElementVisitor() - Constructor for class io.microsphere.annotation.processor.model.util.JSONElementVisitor
L
- loadClass(String) - Static method in interface io.microsphere.annotation.processor.util.ClassUtils
-
Loads the class represented by the given fully qualified class name.
- loadClass(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.ClassUtils
-
Loads the class represented by the given
TypeMirror
. - LOGGER - Static variable in interface io.microsphere.annotation.processor.util.LoggerUtils
- LoggerUtils - Interface in io.microsphere.annotation.processor.util
-
Logger Utils
M
- matches(ExecutableElement, String, CharSequence...) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Checks if the given method matches the specified method name and parameter type names.
- matches(ExecutableElement, String, Type...) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Checks if the given method matches the specified method name and parameter types.
- matchesAnnotationType(AnnotationMirror, Type) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Checks if the given annotation mirror has the same type as the specified
Type
. - matchesAnnotationTypeName(AnnotationMirror, CharSequence) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Checks if the given annotation mirror has the same type as the specified annotation class name.
- matchesAttributeMethod(ExecutableElement, String) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Checks if the provided executable element represents an annotation attribute method with the specified name.
- matchesAttributeValue(AnnotationValue, Object) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Checks if the value of the given
AnnotationValue
matches the specified attribute value. - matchesAttributeValue(AnnotationValue, AnnotationValue) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Checks if two given
AnnotationValue
instances are equal by comparing their values. - matchesDefaultAttributeValue(ExecutableElement, AnnotationValue) - Static method in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
Checks if the provided annotation value matches the default value of the specified attribute method.
- matchesElementKind(Element, ElementKind) - Static method in interface io.microsphere.annotation.processor.util.ElementUtils
-
Checks whether the specified
Element
matches the specifiedElementKind
. - matchesElementType(ElementKind, ElementType) - Static method in interface io.microsphere.annotation.processor.util.ElementUtils
-
Checks whether the specified
ElementKind
matches the specifiedElementType
. - matchesElementType(ElementKind, ElementType...) - Static method in interface io.microsphere.annotation.processor.util.ElementUtils
-
Checks whether the specified
ElementKind
matches any of the specifiedElementType
s. - matchesElementType(Element, ElementType...) - Static method in interface io.microsphere.annotation.processor.util.ElementUtils
-
Checks whether the specified
Element
matches any of the specifiedElementType
s. - matchesMethod(ExecutableElement, String, CharSequence...) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Checks if the given method matches the specified method name and parameter type names.
- matchesMethod(ExecutableElement, String, Type...) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Checks if the given method matches the specified method name and parameter types.
- matchesMethodName(ExecutableElement, String) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Checks if the given method has the specified method name.
- matchParameterTypeNames(List<? extends VariableElement>, CharSequence...) - Static method in interface io.microsphere.annotation.processor.util.ElementUtils
-
Checks whether the parameter types of the given list of
VariableElement
parameters match the specified type names. - matchParameterTypes(List<? extends VariableElement>, Type...) - Static method in interface io.microsphere.annotation.processor.util.ElementUtils
-
Checks whether the parameter types of the given list of
VariableElement
parameters match the specifiedtypes
. - matchParameterTypes(ExecutableElement, Type...) - Static method in interface io.microsphere.annotation.processor.util.ElementUtils
-
Checks whether the parameter types of the given
ExecutableElement
match the specifiedtypes
. - MemberUtils - Interface in io.microsphere.annotation.processor.util
-
A utility interface for handling members (such as fields, methods, constructors) from types in the
javax.lang.model
package. - MessagerUtils - Interface in io.microsphere.annotation.processor.util
-
Messager
utilities class - methodPredicateForExcludedTypes(Type...) - Static method in interface io.microsphere.annotation.processor.util.MethodUtils
-
Creates a predicate that filters out methods declared in the specified excluded types.
- MethodUtils - Interface in io.microsphere.annotation.processor.util
-
The utilities class for method in the package "javax.lang.model."
O
- ofDeclaredType(Element) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Converts the given Element to a DeclaredType by first converting it to a TypeElement.
- ofDeclaredType(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Converts the given TypeMirror to a DeclaredType if it represents a declared type.
- ofDeclaredTypes(Collection<? extends Element>) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Converts a collection of Elements to a list of DeclaredTypes.
- ofDeclaredTypes(Collection<? extends Element>, Predicate<? super DeclaredType>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Converts a collection of Elements to a list of DeclaredTypes.
- ofDeclaredTypes(Element...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Converts an array of Elements to a List of DeclaredTypes.
- ofTypeElement(Element) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Converts the given Element to a TypeElement if it is an instance of TypeElement.
- ofTypeElement(DeclaredType) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Converts the given DeclaredType to a TypeElement if it is not null.
- ofTypeElement(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Converts the given TypeMirror to a TypeElement if it represents a declared type.
- ofTypeElements(Collection<? extends TypeMirror>) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Converts a collection of TypeMirrors to a list of TypeElements.
- ofTypeElements(Collection<? extends TypeMirror>, Predicate<? super TypeElement>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Converts a collection of TypeMirrors to a list of TypeElements.
- ofTypeElements(TypeMirror...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Converts an array of TypeMirrors to a List of TypeElements.
- ofTypeMirrors(Collection<? extends Element>) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Converts a collection of Elements to a list of TypeMirrors.
- ofTypeMirrors(Collection<? extends Element>, Predicate<? super TypeMirror>...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
- ofTypeMirrors(Element...) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Converts an array of Elements to a List of TypeMirrors.
P
- printError(Messager, String, Object...) - Static method in interface io.microsphere.annotation.processor.util.MessagerUtils
-
Prints an error message using the provided
Messager
. - printError(ProcessingEnvironment, String, Object...) - Static method in interface io.microsphere.annotation.processor.util.MessagerUtils
-
Prints an error message using the
ProcessingEnvironment
'sMessager
. - printMandatoryWarning(Messager, String, Object...) - Static method in interface io.microsphere.annotation.processor.util.MessagerUtils
-
Prints a mandatory warning message using the provided
Messager
. - printMandatoryWarning(ProcessingEnvironment, String, Object...) - Static method in interface io.microsphere.annotation.processor.util.MessagerUtils
-
Prints a mandatory warning message using the
ProcessingEnvironment
'sMessager
. - printMessage(Messager, Diagnostic.Kind, String, Object...) - Static method in interface io.microsphere.annotation.processor.util.MessagerUtils
-
Prints a message of the specified kind using the provided
Messager
. - printMessage(ProcessingEnvironment, Diagnostic.Kind, String, Object...) - Static method in interface io.microsphere.annotation.processor.util.MessagerUtils
-
Prints a message of the specified kind using the
ProcessingEnvironment
'sMessager
. - printNote(Messager, String, Object...) - Static method in interface io.microsphere.annotation.processor.util.MessagerUtils
-
Prints a note message using the provided
Messager
. - printNote(ProcessingEnvironment, String, Object...) - Static method in interface io.microsphere.annotation.processor.util.MessagerUtils
-
Prints a note message using the
ProcessingEnvironment
'sMessager
. - printWarning(Messager, String, Object...) - Static method in interface io.microsphere.annotation.processor.util.MessagerUtils
-
Prints a warning message using the provided
Messager
. - printWarning(ProcessingEnvironment, String, Object...) - Static method in interface io.microsphere.annotation.processor.util.MessagerUtils
-
Prints a warning message using the
ProcessingEnvironment
'sMessager
. - process(Set<? extends TypeElement>, RoundEnvironment) - Method in class io.microsphere.annotation.processor.ConfigurationPropertyAnnotationProcessor
- processInFiler(ThrowableFunction<Filer, T>) - Method in class io.microsphere.annotation.processor.FilerProcessor
- processInFiler(ThrowableFunction<Filer, T>, BiFunction<Filer, Throwable, T>) - Method in class io.microsphere.annotation.processor.FilerProcessor
- processingEnv - Variable in class io.microsphere.annotation.processor.model.util.AnnotatedElementJSONElementVisitor
- processInResource(String, boolean, ThrowableFunction<Optional<FileObject>, T>) - Method in class io.microsphere.annotation.processor.ResourceProcessor
- processInResource(String, boolean, ThrowableFunction<Optional<FileObject>, T>, Function<Throwable, T>) - Method in class io.microsphere.annotation.processor.ResourceProcessor
- processInResourceContent(String, ThrowableFunction<CharSequence, T>) - Method in class io.microsphere.annotation.processor.ResourceProcessor
- processInResourceContent(String, ThrowableFunction<CharSequence, T>, BiFunction<FileObject, Throwable, T>) - Method in class io.microsphere.annotation.processor.ResourceProcessor
- processInResourceInputStream(String, ThrowableFunction<InputStream, T>) - Method in class io.microsphere.annotation.processor.ResourceProcessor
- processInResourceInputStream(String, ThrowableFunction<InputStream, T>, BiFunction<FileObject, Throwable, T>) - Method in class io.microsphere.annotation.processor.ResourceProcessor
- processInResourceOutputStream(String, ThrowableConsumer<OutputStream>) - Method in class io.microsphere.annotation.processor.ResourceProcessor
- processInResourceOutputStream(String, ThrowableConsumer<OutputStream>, BiConsumer<FileObject, Throwable>) - Method in class io.microsphere.annotation.processor.ResourceProcessor
- processInResourceReader(String, ThrowableFunction<Reader, T>) - Method in class io.microsphere.annotation.processor.ResourceProcessor
- processInResourceReader(String, ThrowableFunction<Reader, T>, BiFunction<FileObject, Throwable, T>) - Method in class io.microsphere.annotation.processor.ResourceProcessor
- processInResourceWriter(String, ThrowableConsumer<Writer>) - Method in class io.microsphere.annotation.processor.ResourceProcessor
- processInResourceWriter(String, ThrowableConsumer<Writer>, BiConsumer<FileObject, Throwable>) - Method in class io.microsphere.annotation.processor.ResourceProcessor
R
- ResolvableAnnotationValueVisitor - Class in io.microsphere.annotation.processor.model.util
-
A visitor for resolving annotation values into their corresponding runtime representations.
- ResolvableAnnotationValueVisitor() - Constructor for class io.microsphere.annotation.processor.model.util.ResolvableAnnotationValueVisitor
- ResolvableAnnotationValueVisitor(boolean) - Constructor for class io.microsphere.annotation.processor.model.util.ResolvableAnnotationValueVisitor
- ResolvableAnnotationValueVisitor(boolean, boolean) - Constructor for class io.microsphere.annotation.processor.model.util.ResolvableAnnotationValueVisitor
- ResourceProcessor - Class in io.microsphere.annotation.processor
-
A processor class that provides a comprehensive and exception-safe mechanism for handling resources during annotation processing.
- ResourceProcessor(ProcessingEnvironment, JavaFileManager.Location) - Constructor for class io.microsphere.annotation.processor.ResourceProcessor
- ResourceProcessor(ProcessingEnvironment, JavaFileManager.Location, CharSequence) - Constructor for class io.microsphere.annotation.processor.ResourceProcessor
S
- SIMPLE_TYPE_NAMES - Static variable in interface io.microsphere.annotation.processor.util.TypeUtils
-
A list of names representing simple types in Java.
- StringAnnotationValue - Class in io.microsphere.annotation.processor.model.element
-
AnnotationValue
for String type - StringAnnotationValue(String) - Constructor for class io.microsphere.annotation.processor.model.element.StringAnnotationValue
- supports(Element) - Method in class io.microsphere.annotation.processor.model.util.AnnotatedElementJSONElementVisitor
- supports(Element) - Method in class io.microsphere.annotation.processor.model.util.JSONElementVisitor
-
Determines whether the specified element is supported for processing.
- supportsExecutable(ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.JSONElementVisitor
-
Determines whether the specified executable element is supported for processing.
- supportsPackage(PackageElement) - Method in class io.microsphere.annotation.processor.model.util.JSONElementVisitor
-
Determines whether the specified package element is supported for processing.
- supportsType(TypeElement) - Method in class io.microsphere.annotation.processor.model.util.JSONElementVisitor
-
Determines whether the specified type element is supported for processing.
- supportsTypeParameter(TypeParameterElement) - Method in class io.microsphere.annotation.processor.model.util.JSONElementVisitor
-
Determines whether the specified type parameter element is supported for processing.
- supportsVariable(VariableElement) - Method in class io.microsphere.annotation.processor.model.util.JSONElementVisitor
-
Determines whether the specified variable element is supported for processing.
T
- toElementKind(ElementType) - Static method in interface io.microsphere.annotation.processor.util.ElementUtils
-
Converts the specified
ElementType
to an equivalentElementKind
. - toString(TypeMirror) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Converts the given TypeMirror to its string representation.
- trace(String, Object...) - Static method in interface io.microsphere.annotation.processor.util.LoggerUtils
- TYPE_ELEMENT_GET_INTERFACES - Static variable in interface io.microsphere.annotation.processor.util.TypeUtils
-
Get the interfaces of the specified type
- TYPE_ELEMENT_GET_SUPERCLASS - Static variable in interface io.microsphere.annotation.processor.util.TypeUtils
-
Get the superclass of the specified type
- typeElementFinder(TypeElement, boolean, boolean, boolean, boolean) - Static method in interface io.microsphere.annotation.processor.util.TypeUtils
-
Creates a TypeFinder instance for the specified TypeElement with configurable inclusion options.
- TypeUtils - Interface in io.microsphere.annotation.processor.util
-
The utilities class for type in the package "javax.lang.model
V
- VALUE_ATTRIBUTE_NAME - Static variable in interface io.microsphere.annotation.processor.util.AnnotationUtils
-
The name of the attribute method : value()
- visitAnnotation(AnnotationMirror, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.JSONAnnotationValueVisitor
- visitAnnotation(AnnotationMirror, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.ResolvableAnnotationValueVisitor
- visitArray(List<? extends AnnotationValue>, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.JSONAnnotationValueVisitor
- visitArray(List<? extends AnnotationValue>, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.ResolvableAnnotationValueVisitor
- visitBoolean(boolean, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.JSONAnnotationValueVisitor
- visitBoolean(boolean, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.ResolvableAnnotationValueVisitor
- visitByte(byte, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.JSONAnnotationValueVisitor
- visitByte(byte, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.ResolvableAnnotationValueVisitor
- visitChar(char, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.JSONAnnotationValueVisitor
- visitChar(char, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.ResolvableAnnotationValueVisitor
- visitDouble(double, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.JSONAnnotationValueVisitor
- visitDouble(double, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.ResolvableAnnotationValueVisitor
- visitEnumConstant(VariableElement, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.JSONAnnotationValueVisitor
- visitEnumConstant(VariableElement, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.ResolvableAnnotationValueVisitor
- visitExecutable(ExecutableElement, StringBuilder) - Method in class io.microsphere.annotation.processor.model.util.JSONElementVisitor
- visitFloat(float, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.JSONAnnotationValueVisitor
- visitFloat(float, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.ResolvableAnnotationValueVisitor
- visitInt(int, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.JSONAnnotationValueVisitor
- visitInt(int, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.ResolvableAnnotationValueVisitor
- visitLong(long, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.JSONAnnotationValueVisitor
- visitLong(long, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.ResolvableAnnotationValueVisitor
- visitMembers(List<? extends Element>, StringBuilder) - Method in class io.microsphere.annotation.processor.model.util.JSONElementVisitor
- visitPackage(PackageElement, StringBuilder) - Method in class io.microsphere.annotation.processor.model.util.JSONElementVisitor
- visitShort(short, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.JSONAnnotationValueVisitor
- visitShort(short, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.ResolvableAnnotationValueVisitor
- visitString(String, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.JSONAnnotationValueVisitor
- visitString(String, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.ResolvableAnnotationValueVisitor
- visitType(TypeElement, StringBuilder) - Method in class io.microsphere.annotation.processor.model.util.JSONElementVisitor
- visitType(TypeMirror, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.JSONAnnotationValueVisitor
- visitType(TypeMirror, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.ResolvableAnnotationValueVisitor
- visitTypeParameter(TypeParameterElement, StringBuilder) - Method in class io.microsphere.annotation.processor.model.util.JSONElementVisitor
- visitUnknown(AnnotationValue, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.JSONAnnotationValueVisitor
- visitUnknown(AnnotationValue, ExecutableElement) - Method in class io.microsphere.annotation.processor.model.util.ResolvableAnnotationValueVisitor
- visitVariable(VariableElement, StringBuilder) - Method in class io.microsphere.annotation.processor.model.util.JSONElementVisitor
- visitVariableAsField(VariableElement, StringBuilder) - Method in class io.microsphere.annotation.processor.model.util.ConfigurationPropertyJSONElementVisitor
W
- warn(String, Object...) - Static method in interface io.microsphere.annotation.processor.util.LoggerUtils
- WITH_DEFAULT - Static variable in interface io.microsphere.annotation.processor.util.AnnotationUtils
All Classes All Packages