Comparable<AnnotationParameterValue>
public class AnnotationParameterValue extends Object implements Comparable<AnnotationParameterValue>
Modifier and Type | Field | Description |
---|---|---|
protected ScanResult |
scanResult |
Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(AnnotationParameterValue o) |
|
boolean |
equals(Object obj) |
|
protected ClassInfo |
getClassInfo() |
|
protected String |
getClassName() |
The name of the class (used by
getClassInfo() to fetch the ClassInfo object for the class). |
String |
getName() |
|
Object |
getValue() |
|
int |
hashCode() |
|
String |
toString() |
protected transient ScanResult scanResult
public String getName()
public Object getValue()
Object
[] 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
protected String getClassName()
getClassInfo()
to fetch the ClassInfo
object for the class).protected ClassInfo getClassInfo()
public int compareTo(AnnotationParameterValue o)
compareTo
in interface Comparable<AnnotationParameterValue>
Copyright © 2018. All rights reserved.