| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectgnu.mapping.PropertySetgnu.mapping.Proceduregnu.mapping.ProcedureNgnu.kawa.reflect.InvokeFields inherited from class gnu.mapping.ProcedureN | |
noArgs | |
Method Summary | |
void |
|
Object |
|
static int |
|
protected PrimProcedure[] |
|
static PrimProcedure |
|
Expression | |
static ApplyExp |
|
static Object |
|
static Object |
|
protected MethodProc |
|
static Object |
|
static ApplyExp |
|
int |
|
Methods inherited from class gnu.mapping.Procedure | |
apply, apply, apply0, apply1, apply2, apply3, apply4, applyN, check0, check1, check2, check3, check4, checkArgCount, checkN, getSetter, getSourceLocation, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, numArgs, set0, set1, setN, setSetter, setSourceLocation, toString | |
Methods inherited from class gnu.mapping.PropertySet | |
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol | |
public static int checkKnownClass(Type type, Compilation comp)
Check if class exists.
- Returns:
- 1 if class actually exists; -1 is class should exist, but doesn't; and 0 otherwise.
public static PrimProcedure getStaticMethod(ClassType type, String name, Expression[] args)
public static ApplyExp inlineClassName(ApplyExp exp, int carg, InlineCalls walker)
Resolve class specifier to ClassType at inline time. This is an optimization to avoid having a module-level binding created for the class name.
public static Object invoke$V(Object[] args)
throws Throwablepublic static Object invokeStatic$V(Object[] args)
throws Throwablepublic static Object make$V(Object[] args)
throws Throwablepublic static ApplyExp makeInvokeStatic(ClassType type, String name, Expression[] args)
Return an ApplyExp that will call a method with given arguments.
- Parameters:
type- the class containing the method we want to call.name- the name of the method we want to callargs- the arguments to the call
- Returns:
- an ApplyExp representing the call