public class FieldInfo
extends java.lang.Object
ClassInfo
Constructor and Description |
---|
FieldInfo()
Create a new, empty FieldInfo object.
|
FieldInfo(int access,
java.lang.String name,
java.lang.String description,
java.lang.String signature,
java.lang.Object value)
Create and initialize a new FieldInfo object.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(FieldInfo other)
Compare this object and another FieldInfo object.
|
boolean |
equals(java.lang.Object other)
Compare this object to another one for equality.
|
int |
getAccess()
Get the access modifiers for this field
|
java.lang.String |
getDescription()
Get the field description, if any.
|
java.lang.String |
getName()
Get the field name.
|
java.lang.String |
getSignature()
Get the field's signature, if any.
|
java.lang.Object |
getValue()
Get the field value, if any.
|
int |
hashCode()
Get the hash code.
|
java.lang.String |
toString()
Return a string representation of the method.
|
public FieldInfo()
public FieldInfo(int access, java.lang.String name, java.lang.String description, java.lang.String signature, java.lang.Object value)
access
- field access modifiers, etc.name
- field namedescription
- field descriptionsignature
- field signaturevalue
- field value, if anypublic int getAccess()
public java.lang.String getName()
public java.lang.String getDescription()
public java.lang.String getSignature()
public java.lang.Object getValue()
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(FieldInfo other)
other
- the other objectpublic boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- the other objectpublic java.lang.String toString()
toString
in class java.lang.Object