public class MsgPackAnnotation extends Object implements MsgPack
MsgPack
annotation.
Constructor and Description |
---|
MsgPackAnnotation(Class<?> on)
Constructor.
|
MsgPackAnnotation(Field on)
Constructor.
|
MsgPackAnnotation(Method on)
Constructor.
|
MsgPackAnnotation(String on)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Annotation> |
annotationType() |
String |
on() |
MsgPackAnnotation |
on(Class<?> value)
Sets the
|
MsgPackAnnotation |
on(Field value)
Sets the
|
MsgPackAnnotation |
on(Method value)
Sets the
|
MsgPackAnnotation |
on(String value)
Sets the
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals, hashCode, toString
public MsgPackAnnotation(String on)
on
- The initial value for the MsgPack.on()
public MsgPackAnnotation(Class<?> on)
on
- The initial value for the MsgPack.on()
public MsgPackAnnotation(Method on)
on
- The initial value for the MsgPack.on()
public MsgPackAnnotation(Field on)
on
- The initial value for the MsgPack.on()
public Class<? extends Annotation> annotationType()
annotationType
in interface Annotation
public MsgPackAnnotation on(String value)
value
- The new value for this property.public MsgPackAnnotation on(Class<?> value)
value
- The new value for this property.public MsgPackAnnotation on(Method value)
value
- The new value for this property.public MsgPackAnnotation on(Field value)
value
- The new value for this property.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.