public class AnnotationParameterValue extends Object implements HasName, Comparable<AnnotationParameterValue>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(AnnotationParameterValue other) |
boolean |
equals(Object obj) |
String |
getName()
Get the annotation parameter name.
|
Object |
getValue()
Get the annotation parameter value.
|
int |
hashCode() |
String |
toString()
Render to string.
|
String |
toStringWithSimpleNames()
Render to string, using only simple
names for classes.
|
public String getName()
public Object getValue()
Object[] array for array types (and then the array element type may be
one of the types in this list)
AnnotationEnumValue, for enum constants (this wraps the enum class and the string name of
the constant)
AnnotationClassRef, for Class references within annotations (this wraps the name of the
referenced class)
AnnotationInfo, for nested annotations
public int compareTo(AnnotationParameterValue other)
compareTo in interface Comparable<AnnotationParameterValue>public String toStringWithSimpleNames()
Copyright © 2021. All rights reserved.