Package org.apache.juneau.annotation
Class SwapAnnotation
java.lang.Object
org.apache.juneau.annotation.SwapAnnotation
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Applies targetedSwap
annotations to aBeanContext.Builder
.static @interface
A collection of@Swap annotations
.static class
Builder class. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Swap
copy
(Swap a, VarResolverSession r) Creates a copy of the specified annotation.static SwapAnnotation.Builder
create()
Instantiates a new builder for this class.static SwapAnnotation.Builder
Instantiates a new builder for this class.static SwapAnnotation.Builder
Instantiates a new builder for this class.
-
Field Details
-
DEFAULT
Default value
-
-
Constructor Details
-
SwapAnnotation
public SwapAnnotation()
-
-
Method Details
-
create
Instantiates a new builder for this class.- Returns:
- A new builder object.
-
create
Instantiates a new builder for this class.- Parameters:
on
- The targets this annotation applies to.- Returns:
- A new builder object.
-
create
Instantiates a new builder for this class.- Parameters:
on
- The targets this annotation applies to.- Returns:
- A new builder object.
-
copy
Creates a copy of the specified annotation.- Parameters:
a
- The annotation to copy.sr
- The var resolver for resolving any variables.- Returns:
- A copy of the specified annotation.
-