Interface AnnotationValueFilter.Factory

All Known Implementing Classes:
AnnotationValueFilter.Default
Enclosing interface:
AnnotationValueFilter

public static interface AnnotationValueFilter.Factory
A factory for creating an annotation value filter for an annotation's target.
  • Method Details

    • on

      AnnotationValueFilter on(TypeDescription instrumentedType)
      Creates an annotation value filter for writing annotations on an instrumented type.
      Parameters:
      instrumentedType - The instrumented type onto which the annotations are written.
      Returns:
      An annotation value filter to be used when writing annotations onto the given type.
    • on

      Creates an annotation value filter for writing annotations on a field.
      Parameters:
      fieldDescription - The field onto which the annotations are written.
      Returns:
      An annotation value filter to be used when writing annotations onto the given field.
    • on

      Creates an annotation value filter for writing annotations on a method.
      Parameters:
      methodDescription - The method onto which the annotations are written.
      Returns:
      An annotation value filter to be used when writing annotations onto the given method.
    • on

      AnnotationValueFilter on(RecordComponentDescription recordComponentDescription)
      Creates an annotation value filter for writing annotations on a record component.
      Parameters:
      recordComponentDescription - The record component onto which the annotations are written.
      Returns:
      An annotation value filter to be used when writing annotations onto the given record component.