gnu.kawa.reflect

Class StaticFieldLocation


public class StaticFieldLocation
extends FieldLocation

Field Summary

Fields inherited from class gnu.kawa.reflect.FieldLocation

KIND_FLAGS_SET, PROCEDURE, SYNTAX

Fields inherited from class gnu.mapping.Location

UNBOUND

Constructor Summary

StaticFieldLocation(String cname, String fname)
StaticFieldLocation(ClassType type, String mname)

Method Summary

static StaticFieldLocation
define(Environment environ, Symbol sym, Object property, String cname, String fname)
Object
get(Object defaultValue)
static StaticFieldLocation
make(String cname, String fldName)
static StaticFieldLocation
make(Declaration decl)

Methods inherited from class gnu.kawa.reflect.FieldLocation

get, getDeclaration, getFType, getField, isBound, isConstant, isIndirectLocation, isProcedureOrSyntax, make, make, set, setDeclaration, setProcedure, setSyntax, toString

Methods inherited from class gnu.kawa.reflect.ClassMemberLocation

define, defineAll, get, getDeclaringClass, getInstance, getMemberName, getRField, isBound, isConstant, set, setInstance

Methods inherited from class gnu.mapping.Location

entered, get, get, getBase, getKeyProperty, getKeySymbol, getValue, isBound, isConstant, make, make, make, print, set, setRestore, setValue, setWithSave, toString, undefine

Constructor Details

StaticFieldLocation

public StaticFieldLocation(String cname,
                           String fname)

StaticFieldLocation

public StaticFieldLocation(ClassType type,
                           String mname)

Method Details

define

public static StaticFieldLocation define(Environment environ,
                                         Symbol sym,
                                         Object property,
                                         String cname,
                                         String fname)

get

public Object get(Object defaultValue)
Overrides:
get in interface FieldLocation

make

public static StaticFieldLocation make(String cname,
                                       String fldName)

make

public static StaticFieldLocation make(Declaration decl)