Package org.apache.juneau.annotation
Class BeancAnnotation.Builder
java.lang.Object
org.apache.juneau.annotation.AnnotationBuilder
org.apache.juneau.annotation.TargetedAnnotationBuilder
org.apache.juneau.annotation.TargetedAnnotationCBuilder
org.apache.juneau.annotation.BeancAnnotation.Builder
- Enclosing class:
BeancAnnotation
Builder class.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Instantiates a new@Beancobject initialized with this builder.on(Constructor<?>... value) Appends the constructors that this annotation applies to.The targets this annotation applies to.properties(String value) Sets theBeanc.properties()property on this annotation.
-
Constructor Details
-
Builder
protected Builder()Constructor.
-
-
Method Details
-
build
Instantiates a new@Beancobject initialized with this builder.- Returns:
- A new
@Beancobject.
-
properties
Sets theBeanc.properties()property on this annotation.- Parameters:
value- The new value for this property.- Returns:
- This object.
-
on
Description copied from class:TargetedAnnotationBuilderThe targets this annotation applies to.- Overrides:
onin classTargetedAnnotationCBuilder- Parameters:
values- The targets this annotation applies to.- Returns:
- This object.
-
on
Description copied from class:TargetedAnnotationCBuilderAppends the constructors that this annotation applies to.- Overrides:
onin classTargetedAnnotationCBuilder- Parameters:
value- The values to append.- Returns:
- This object.
-