Package net.java.sezpoz.impl
Class SerAnnotatedElement
- java.lang.Object
-
- net.java.sezpoz.impl.SerAnnotatedElement
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SerAnnotatedElement>
public final class SerAnnotatedElement extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<SerAnnotatedElement>
Represents one annotated element (class etc.) with a particular list of values. One META-INF/annotations/* file is a sequence of serialized SerAnnotatedElement instances, terminated by a null.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringclassNamefully qualified name of classbooleanisMethodtrue for method, false for class or fieldjava.lang.StringmemberNamemame of method or field within class, or null for whole classjava.util.TreeMap<java.lang.String,java.lang.Object>valuesvalues of annotation, as primitive wrappers, String's, ArrayList's (for arrays), or Ser*Const objects
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(SerAnnotatedElement o)booleanequals(java.lang.Object obj)inthashCode()java.lang.Stringkey()Key based on the annotated element, ignoring annotation values.java.lang.StringtoString()
-
-
-
Field Detail
-
className
public final java.lang.String className
fully qualified name of class
-
memberName
public final java.lang.String memberName
mame of method or field within class, or null for whole class
-
isMethod
public final boolean isMethod
true for method, false for class or field
-
values
public final java.util.TreeMap<java.lang.String,java.lang.Object> values
values of annotation, as primitive wrappers, String's, ArrayList's (for arrays), or Ser*Const objects
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
key
public java.lang.String key()
Key based on the annotated element, ignoring annotation values.
-
compareTo
public int compareTo(SerAnnotatedElement o)
- Specified by:
compareToin interfacejava.lang.Comparable<SerAnnotatedElement>
-
-