public class ObjectStreamField extends Object implements Comparable
| Constructor and Description |
|---|
ObjectStreamField(Field field) |
ObjectStreamField(String n,
Class clazz) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o)
Compare this with another ObjectStreamField.
|
ClassInfoCache.ClassInfo |
getClassInfo() |
Class |
getClazz() |
long |
getFieldID() |
String |
getName()
Get the name of this field.
|
String |
getSignature() |
Class |
getType()
Get the type of the field.
|
char |
getTypeCode() |
String |
getTypeString() |
boolean |
isPrimitive()
test if this field is a primitive or not.
|
String |
toString()
Return a string describing this field.
|
boolean |
typeEquals(ObjectStreamField other)
Compare the types of two class descriptors.
|
public ObjectStreamField(Field field)
public String getName()
public ClassInfoCache.ClassInfo getClassInfo()
public Class getType()
public char getTypeCode()
public String getTypeString()
public boolean isPrimitive()
public int compareTo(Object o)
compareTo in interface Comparablepublic boolean typeEquals(ObjectStreamField other)
public String getSignature()
public String toString()
public Class getClazz()
public long getFieldID()
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.