|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JavaMethod | |
edu.vub.at.objects.symbiosis |
Uses of JavaMethod in edu.vub.at.objects.symbiosis |
Methods in edu.vub.at.objects.symbiosis that return JavaMethod | |
static JavaMethod |
Symbiosis.getMethods(java.lang.Class fromClass,
java.lang.String selector,
boolean isStatic)
Retrieve all methods of a given name from a Java object. |
static JavaMethod[] |
Symbiosis.getAllMethods(java.lang.Class fromClass,
boolean isStatic)
Retrieve all public static or non-static methods from a given Java class (this includes methods defined in superclasses). |
JavaMethod |
JMethodCache.get(java.lang.Class cls,
java.lang.String methName,
boolean isStatic)
Retrieve a JavaMethod entry from the cache. |
Methods in edu.vub.at.objects.symbiosis with parameters of type JavaMethod | |
static ATObject |
Symbiosis.symbioticInvocation(ATObject wrapper,
java.lang.Object symbiont,
java.lang.String selector,
JavaMethod jMethod,
ATObject[] atArgs)
The Java method invocation algorithm is as follows: case of # of methods matching selector: 0 => XSelectorNotFound 1 => invoke the method OR XIllegalArgument, XArityMismatch, XReflectionFailure * => (case of # of methods with matching arity OR taking varargs: 0 => XSymbiosisFailure 1 => invoke the method OR XIllegalArgument, XReflectionFailure * => (case of # of methods matching 'default type' of the actual arguments: 0 => XSymbiosisFailure 1 => invoke OR XReflectionFailure * => XSymbiosisFailure)) A Java method takes a variable number of AT arguments <=> it has one formal parameter of type ATObject[] |
void |
JMethodCache.put(java.lang.Class cls,
java.lang.String methName,
boolean isStatic,
JavaMethod entry)
Add a JavaMethod instance to the cache. |
Constructors in edu.vub.at.objects.symbiosis with parameters of type JavaMethod | |
JavaClosure(ATObject scope,
JavaMethod meth)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |