Class MsgPackAnnotation
java.lang.Object
org.apache.juneau.msgpack.annotation.MsgPackAnnotation
Utility classes and methods for the
@MsgPack annotation.
See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classApplies targetedMsgPackannotations to aContext.Builder.static @interfaceA collection of@MsgPack annotations.static classBuilder class. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MsgPackcopy(MsgPack a, VarResolverSession r) Creates a copy of the specified annotation.static MsgPackAnnotation.Buildercreate()Instantiates a new builder for this class.static MsgPackAnnotation.BuilderInstantiates a new builder for this class.static MsgPackAnnotation.BuilderInstantiates a new builder for this class.
-
Field Details
-
DEFAULT
Default value
-
-
Constructor Details
-
MsgPackAnnotation
public MsgPackAnnotation()
-
-
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.
-