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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds a predicate that tests whether the current field has givenname
and 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 givenname
and is declared on givenclazz
.Methods inherited from class org.jboss.jandex.AnnotationTransformation.Builder
priority, self, transform, when, whenAllMatch, whenAllMatch, whenAllMatch, whenAllMatch, whenAnyMatch, whenAnyMatch, whenAnyMatch, whenAnyMatch, whenNoneMatch, whenNoneMatch, whenNoneMatch, whenNoneMatch
-
Constructor Details
-
FieldBuilder
FieldBuilder()
-
-
Method Details
-
whenField
Adds a predicate that tests whether the current field has givenname
and is declared on givenclazz
.- Parameters:
clazz
- the class, must not benull
name
- the field name, must not benull
- Returns:
- this builder
- See Also:
-
whenField
Adds a predicate that tests whether the current field has givenname
and is declared on givenclazz
.- Parameters:
clazz
- the class name, must not benull
name
- 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:
-