Class Annotations

java.lang.Object
org.apache.logging.log4j.core.config.plugins.processor.internal.Annotations

public final class Annotations extends Object
  • Field Details

    • PARAMETER_ANNOTATION_NAMES

      private static final Collection<String> 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

      private static final Collection<String> 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

      private static final Collection<String> 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

      private static final Collection<String> 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

      private final Map<TypeElement, Annotations.Type> typeElementToTypeMap
  • Constructor Details

    • Annotations

      public Annotations(Elements elements)
  • Method Details