Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
gnu.mapping.Procedure
gnu.mapping.Procedure2
gnu.kawa.reflect.SlotGet
Constructor Summary | |
| |
Method Summary | |
Object |
|
void |
|
static Object |
|
Type |
|
Procedure | |
Expression | |
static Expression |
|
void |
|
void |
|
static Object |
|
Methods inherited from class gnu.mapping.Procedure2 | |
apply0 , apply1 , apply2 , apply3 , apply4 , applyN , numArgs |
Methods inherited from class gnu.mapping.Procedure | |
apply , apply , apply0 , apply1 , apply2 , apply3 , apply4 , applyN , check0 , check1 , check2 , check3 , check4 , checkArgCount , checkN , getName , getProperty , getSetter , getSymbol , match0 , match1 , match2 , match3 , match4 , matchN , maxArgs , minArgs , name , numArgs , removeProperty , set0 , set1 , setN , setName , setProperty , setProperty , setSetter , setSymbol , toString |
public void compile(ApplyExp exp, Compilation comp, Target target)
- Specified by:
- compile in interface Inlineable
public static Object field(Object obj, String fname)
public Type getReturnType(Expression[] args)
- Specified by:
- getReturnType in interface Inlineable
public static Expression makeGetField(Expression value, String fieldName)
Convenience method to make an Expression that gets the value of a field.
- Parameters:
value
- evaluates to object that has the named fieldfieldName
- name of field in value
- Returns:
- expression that get the name field from value
public void set2(Object obj, Object name, Object value)
public static Object staticField(Object obj, String fname)