Package | Description |
---|---|
org.codehaus.janino |
The classes in this package pose the core of the Janino JavaTM compiler.
|
org.codehaus.janino.tools |
Auxiliary command line tools related to JANINO.
|
Modifier and Type | Class and Description |
---|---|
class |
ReflectionIClass.ReflectionIMethod |
Modifier and Type | Field and Description |
---|---|
private IClass.IMethod[] |
IClass.declaredIMethodsCache |
(package private) IClass.IMethod |
Java.MethodDeclarator.iMethod
The resolved
IClass.IMethod . |
(package private) IClass.IMethod |
Java.MethodInvocation.iMethod
The resolved
IClass.IMethod . |
private IClass.IMethod[] |
IClass.iMethodCache |
IClass.IMethod |
IClassLoader.METH_java_lang_Iterable__iterator
Representation of the
Iterable.iterator() method. |
IClass.IMethod |
IClassLoader.METH_java_lang_String__concat__java_lang_String
Representation of the
String.concat(String) method. |
IClass.IMethod |
IClassLoader.METH_java_lang_String__valueOf__boolean
Representation of the
String.valueOf(boolean) method. |
IClass.IMethod |
IClassLoader.METH_java_lang_String__valueOf__char
Representation of the
String.valueOf(char) method. |
IClass.IMethod |
IClassLoader.METH_java_lang_String__valueOf__double
Representation of the
String.valueOf(double) method. |
IClass.IMethod |
IClassLoader.METH_java_lang_String__valueOf__float
Representation of the
String.valueOf(float) method. |
IClass.IMethod |
IClassLoader.METH_java_lang_String__valueOf__int
Representation of the
String.valueOf(int) method. |
IClass.IMethod |
IClassLoader.METH_java_lang_String__valueOf__java_lang_Object
Representation of the
String.valueOf(Object) method. |
IClass.IMethod |
IClassLoader.METH_java_lang_String__valueOf__long
Representation of the
String.valueOf(long) method. |
IClass.IMethod |
IClassLoader.METH_java_lang_StringBuilder__append__java_lang_String
Representation of the
StringBuilder.append(String) method. |
IClass.IMethod |
IClassLoader.METH_java_lang_StringBuilder__toString
Representation of the
StringBuilder.toString() method. |
IClass.IMethod |
IClassLoader.METH_java_util_Iterator__hasNext
Representation of the
Iterator.hasNext() method. |
IClass.IMethod |
IClassLoader.METH_java_util_Iterator__next
Representation of the
Iterator.next() method. |
private static IClass.IMethod[] |
IClass.NO_IMETHODS |
Modifier and Type | Method and Description |
---|---|
private IClass.IMethod |
UnitCompiler.fakeIMethod(IClass targetType,
java.lang.String name,
Java.Rvalue[] arguments) |
private IClass.IMethod |
UnitCompiler.findIMethod(IClass targetType,
Java.Invocation invocation)
Find a
IClass.IMethod in the given targetType , its superclasses or superinterfaces with the
given name and for the given arguments . |
IClass.IMethod |
UnitCompiler.findIMethod(Java.MethodInvocation mi)
Find named methods of "targetType", examine the argument types and choose the most specific method.
|
IClass.IMethod |
UnitCompiler.findIMethod(Java.SuperclassMethodInvocation superclassMethodInvocation) |
IClass.IMethod |
IClass.findIMethod(java.lang.String methodName,
IClass[] parameterTypes) |
IClass.IMethod[] |
IClass.getDeclaredIMethods()
Returns the methods of the class or interface (but not inherited methods).
|
IClass.IMethod[] |
IClass.getDeclaredIMethods(java.lang.String methodName)
Returns all methods with the given name declared in the class or interface (but not inherited methods).
|
protected IClass.IMethod[] |
ReflectionIClass.getDeclaredIMethods2() |
protected abstract IClass.IMethod[] |
IClass.getDeclaredIMethods2()
The uncached version of
IClass.getDeclaredIMethods() which must be implemented by derived classes. |
protected IClass.IMethod[] |
IClass.PrimitiveIClass.getDeclaredIMethods2() |
protected IClass.IMethod[] |
ClassFileIClass.getDeclaredIMethods2() |
IClass.IMethod[] |
IClass.getIMethods()
Returns all methods declared in the class or interface, its superclasses and its
superinterfaces.
|
IClass.IMethod |
UnitCompiler.toIMethod(Java.MethodDeclarator methodDeclarator) |
Modifier and Type | Method and Description |
---|---|
private void |
UnitCompiler.checkThrownExceptions(Java.Invocation in,
IClass.IMethod iMethod) |
private void |
UnitCompiler.compileBridgeMethod(ClassFile cf,
IClass.IMethod base,
IClass.IMethod override)
Compiles a bridge method which will add a method of the signature of base that delegates to override.
|
private void |
UnitCompiler.invoke(Java.Locatable locatable,
IClass.IMethod iMethod) |
private boolean |
UnitCompiler.overridesMethod(IClass.IMethod method,
IClass type) |
private boolean |
UnitCompiler.overridesMethodFromSupertype(IClass.IMethod m,
IClass type) |
Modifier and Type | Method and Description |
---|---|
void |
UnitCompiler.getIMethods(IClass type,
java.lang.String methodName,
java.util.List<IClass.IMethod> v)
Add all methods with the given
methodName that are declared by the type , its superclasses and
all their superinterfaces to the result list v . |
private void |
IClass.getIMethods(java.util.List<IClass.IMethod> result) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
JGrep.MethodInvocationTarget.apply(UnitCompiler uc,
Java.Invocation invocation,
IClass.IMethod method) |
boolean |
JGrep.MethodInvocationPredicate.evaluate(UnitCompiler uc,
Java.Invocation invocation,
IClass.IMethod method) |
void |
JGrep.MethodInvocationAction.execute(UnitCompiler uc,
Java.Invocation invocation,
IClass.IMethod method)
Executes some action for a method invocation.
|