Package org.jboss.jandex
Class AnnotationTransformation.DeclarationBuilder
- java.lang.Object
-
- org.jboss.jandex.AnnotationTransformation.Builder<AnnotationTransformation.DeclarationBuilder>
-
- org.jboss.jandex.AnnotationTransformation.DeclarationBuilder
-
- Enclosing interface:
- AnnotationTransformation
public static class AnnotationTransformation.DeclarationBuilder extends AnnotationTransformation.Builder<AnnotationTransformation.DeclarationBuilder>
A builder of annotation transformations for arbitrary declarations.
-
-
Constructor Summary
Constructors Constructor Description DeclarationBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationTransformation.DeclarationBuilder
whenDeclaration(java.util.function.Predicate<Declaration> predicate)
Adds a predicate that tests whether the current declaration matches givenpredicate
.-
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
-
-
-
-
Method Detail
-
whenDeclaration
public AnnotationTransformation.DeclarationBuilder whenDeclaration(java.util.function.Predicate<Declaration> predicate)
Adds a predicate that tests whether the current declaration matches givenpredicate
.- Parameters:
predicate
- the predicate, must not benull
- Returns:
- this builder
- See Also:
AnnotationTransformation.Builder.when(Predicate)
-
-