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