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