Package org.jboss.jandex
Class AnnotationTransformation.FieldBuilder
java.lang.Object
org.jboss.jandex.AnnotationTransformation.Builder<AnnotationTransformation.FieldBuilder>
org.jboss.jandex.AnnotationTransformation.FieldBuilder
- Enclosing interface:
- AnnotationTransformation
public static class AnnotationTransformation.FieldBuilder
extends AnnotationTransformation.Builder<AnnotationTransformation.FieldBuilder>
A builder of annotation transformations for fields.
-
Method Summary
Modifier and TypeMethodDescriptionAdds a predicate that tests whether the current field has givennameand is declared on givenclazz.Adds a predicate that tests whether the current field matches givenpredicate.Adds a predicate that tests whether the current field has givennameand is declared on givenclazz.Methods inherited from class org.jboss.jandex.AnnotationTransformation.Builder
priority, transform, when, whenAllMatch, whenAllMatch, whenAllMatch, whenAllMatch, whenAnyMatch, whenAnyMatch, whenAnyMatch, whenAnyMatch, whenNoneMatch, whenNoneMatch, whenNoneMatch, whenNoneMatch
-
Method Details
-
whenField
Adds a predicate that tests whether the current field has givennameand is declared on givenclazz.- Parameters:
clazz- the class, must not benullname- the field name, must not benull- Returns:
- this builder
- See Also:
-
whenField
Adds a predicate that tests whether the current field has givennameand is declared on givenclazz.- Parameters:
clazz- the class name, must not benullname- the field name, must not benull- Returns:
- this builder
- See Also:
-
whenField
Adds a predicate that tests whether the current field matches givenpredicate.- Parameters:
predicate- the predicate, must not benull- Returns:
- this builder
- See Also:
-