Class Annotations
java.lang.Object
org.apache.logging.log4j.core.config.plugins.processor.internal.Annotations
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Collection<String> Reflection is also used to create constraint validators and plugin visitors.private static final Collection<String> These are static methods that must be reachable through reflection.private static final Collection<String> These are fields, methods or parameters that correspond to Log4j configuration attributes, elements, and other injected elements.private static final Collection<String> These must be public types with either: A factory method. A static method callednewInstance. A public no-argument constructor.private final Map<TypeElement, Annotations.Type> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddTypeElementIfExists(Elements elements, CharSequence className, Annotations.Type type) classifyAnnotation(TypeElement element) getAnnotationClassValue(Element element, TypeElement annotation)
-
Field Details
-
PARAMETER_ANNOTATION_NAMES
These are fields, methods or parameters that correspond to Log4j configuration attributes, elements, and other injected elements.Note: The annotations listed here must also be declared in
GraalVmProcessor. -
FACTORY_ANNOTATION_NAMES
These are static methods that must be reachable through reflection.Note: The annotations listed here must also be declared in
GraalVmProcessor. -
PLUGIN_ANNOTATION_NAMES
These must be public types with either:- A factory method.
- A static method called
newInstance. - A public no-argument constructor.
Note: The annotations listed here must also be declared in
GraalVmProcessor. -
CONSTRAINT_OR_VISITOR_ANNOTATION_NAMES
Reflection is also used to create constraint validators and plugin visitors.Note: The annotations listed here must also be declared in
GraalVmProcessor. -
typeElementToTypeMap
-
-
Constructor Details
-
Annotations
-
-
Method Details
-
addTypeElementIfExists
private void addTypeElementIfExists(Elements elements, CharSequence className, Annotations.Type type) -
classifyAnnotation
-
getAnnotationClassValue
-