|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.mat.snapshot.model.FieldDescriptor
public class FieldDescriptor
Describes a field of an object, i.e. its name and signature.
Constructor Summary | |
---|---|
FieldDescriptor(java.lang.String name,
int type)
Create a field for a class - just contains the field name and type, not the value |
Method Summary | |
---|---|
java.lang.String |
getName()
Gets the field name |
int |
getType()
Gets the type as a number. |
java.lang.String |
getVerboseSignature()
Returns the type of the field. |
void |
setName(java.lang.String name)
Sets the name of the field. |
void |
setType(int type)
Sets the type of the field. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FieldDescriptor(java.lang.String name, int type)
name
- field nametype
- field type from IObject.Type
Method Detail |
---|
public java.lang.String getName()
public int getType()
IObject.Type
public void setName(java.lang.String name)
name
- the name of the field.public void setType(int type)
type
- the type of the field as IObject.Type
public java.lang.String getVerboseSignature()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |