applyN
public Object applyN(Object[] args)
throws Throwable
- applyN in interface ProcedureN
checkKnownClass
public static int checkKnownClass(Type type,
Compilation comp)
Check if class exists.
- 1 if class actually exists;
-1 is class should exist, but doesn't;
and 0 otherwise.
inlineClassName
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.
invoke$V
public static Object invoke$V(Object[] args)
throws Throwable
invokeStatic$V
public static Object invokeStatic$V(Object[] args)
throws Throwable
make$V
public static Object make$V(Object[] args)
throws Throwable
makeInvokeStatic
public static ApplyExp makeInvokeStatic(ClassType type,
String name,
Expression[] args)
Return an ApplyExp that will call a method with given arguments.
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
- an ApplyExp representing the call