gnu.kawa.reflect
public class FieldLocation extends ClassMemberLocation
Field Summary | |
---|---|
static int | KIND_FLAGS_SET True if the flags PROCEDURE|SYNTAX|INDIRECT_LOCATION|CONSTANT
are valid. |
static int | PROCEDURE |
static int | SYNTAX |
Constructor Summary | |
---|---|
FieldLocation(Object instance, String cname, String fname) | |
FieldLocation(Object instance, ClassType type, String mname) |
Method Summary | |
---|---|
Object | get(Object defaultValue) |
Declaration | getDeclaration() |
Field | getField() |
Type | getFType() Get the type of the field. |
boolean | isBound() |
boolean | isConstant() |
boolean | isIndirectLocation() |
boolean | isProcedureOrSyntax() |
static FieldLocation | make(Object instance, Declaration decl) |
static FieldLocation | make(Object instance, String cname, String fldName) |
void | set(Object newValue) |
void | setDeclaration(Declaration decl) |
void | setProcedure() |
void | setSyntax() |
String | toString() |
PROCEDURE|SYNTAX|INDIRECT_LOCATION|CONSTANT
are valid.