|
||||||||||
| 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(String name,
int type)
Create a field for a class - just contains the field name and type, not the value |
|
| Method Summary | |
|---|---|
String |
getName()
Gets the field name |
int |
getType()
Gets the type as a number. |
String |
getVerboseSignature()
Returns the type of the field. |
void |
setName(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(String name,
int type)
name - field nametype - field type from IObject.Type| Method Detail |
|---|
public String getName()
public int getType()
IObject.Typepublic void setName(String name)
name - the name of the field.public void setType(int type)
type - the type of the field as IObject.Typepublic String getVerboseSignature()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||