public class Field extends Object
Constructor and Description |
---|
Field(String name,
Type type,
SizeThunk offset) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object arg) |
String |
getName()
Name of this field in the containing data structure.
|
SizeThunk |
getOffset()
SizeThunk computing offset, in bytes, of this field in the containing data structure.
|
long |
getOffset(MachineDescription machDesc)
Offset, in bytes, of this field in the containing data structure
given the specified MachineDescription.
|
Type |
getType()
Type of this field.
|
int |
hashCode() |
void |
setOffset(SizeThunk offset)
Sets the offset of this field in the containing data structure.
|
String |
toString() |
public String getName()
public Type getType()
public SizeThunk getOffset()
public long getOffset(MachineDescription machDesc)
public void setOffset(SizeThunk offset)