Package org.jboss.jandex
Class AnnotationTransformation.ClassBuilder
java.lang.Object
org.jboss.jandex.AnnotationTransformation.Builder<AnnotationTransformation.ClassBuilder>
org.jboss.jandex.AnnotationTransformation.ClassBuilder
- Enclosing interface:
- AnnotationTransformation
public static class AnnotationTransformation.ClassBuilder
extends AnnotationTransformation.Builder<AnnotationTransformation.ClassBuilder>
A builder of annotation transformations for classes.
-
Method Summary
Modifier and TypeMethodDescriptionAdds a predicate that tests whether the current class is the givenclazz.Adds a predicate that tests whether the current class matches givenpredicate.Adds a predicate that tests whether the current class has givenname.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
-
whenClass
Adds a predicate that tests whether the current class is the givenclazz.- Parameters:
clazz- the class, must not benull- Returns:
- this builder
- See Also:
-
whenClass
Adds a predicate that tests whether the current class has givenname.- Parameters:
name- the class name, must not benull- Returns:
- this builder
- See Also:
-
whenClass
Adds a predicate that tests whether the current class matches givenpredicate.- Parameters:
predicate- the predicate, must not benull- Returns:
- this builder
- See Also:
-