Comparable<AnnotationInfo.AnnotationParamValue>
public static class AnnotationInfo.AnnotationParamValue extends Object implements Comparable<AnnotationInfo.AnnotationParamValue>
Constructor | Description |
---|---|
AnnotationParamValue(String paramName,
Object paramValue) |
Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(AnnotationInfo.AnnotationParamValue o) |
|
boolean |
equals(Object obj) |
|
String |
getParamName() |
Get the annotation parameter name.
|
Object |
getParamValue() |
Get the annotation parameter value.
|
String |
toString() |
public String getParamName()
public Object getParamValue()
Object
[] for array types (and then the array element type may be one of the types in
this list)
AnnotationInfo.AnnotationEnumValue
, for enum constants (this wraps the enum class and the string
name of the constant)
AnnotationInfo.AnnotationClassRef
, for Class references within annotations (this wraps the name of
the referenced class)
AnnotationInfo
, for nested annotations
public int compareTo(AnnotationInfo.AnnotationParamValue o)
compareTo
in interface Comparable<AnnotationInfo.AnnotationParamValue>
Copyright © 2018. All rights reserved.