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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnnotationValueFilter
on(FieldDescription fieldDescription)
Creates an annotation value filter for writing annotations on a field.AnnotationValueFilter
on(MethodDescription methodDescription)
Creates an annotation value filter for writing annotations on a method.AnnotationValueFilter
on(RecordComponentDescription recordComponentDescription)
Creates an annotation value filter for writing annotations on a record component.AnnotationValueFilter
on(TypeDescription instrumentedType)
Creates an annotation value filter for writing annotations on an instrumented type.
-
-
-
Method Detail
-
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
AnnotationValueFilter on(FieldDescription fieldDescription)
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
AnnotationValueFilter on(MethodDescription methodDescription)
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.
-
-