Package | Description |
---|---|
gnu.bytecode |
Contains classes to generate, read,
write, and print Java bytecode in the form of
.class files. |
gnu.expr |
Supports
Expression ,
and various related classes need to compile programming languages. |
gnu.kawa.functions |
Various core run-time functions and operators.
|
gnu.kawa.lispexpr |
Support classes for compiling and running Lisp languages.
|
gnu.kawa.xml |
Classes for using XML within Kawa.
|
gnu.xquery.util | |
kawa.lang |
Core Kawa classes for Scheme and Lisp compile-time.
|
Modifier and Type | Field and Description |
---|---|
static Method |
Type.booleanValue_method |
static Method |
Type.clone_method |
Method |
ClassType.constructor |
static Method |
Type.doubleValue_method |
static Method |
Type.floatValue_method |
static Method |
Type.intValue_method |
static Method |
Type.longValue_method |
static Method |
Type.toString_method |
Modifier and Type | Method and Description |
---|---|
Method |
ClassType.addMethod(java.lang.reflect.Constructor method) |
Method |
ClassType.addMethod(java.lang.reflect.Method method) |
Method |
ClassType.addMethod(java.lang.String name) |
Method |
ClassType.addMethod(java.lang.String name,
int flags) |
Method |
ClassType.addMethod(java.lang.String name,
int flags,
Type[] arg_types,
Type return_type)
Add a method to this ClassType.
|
Method |
ClassType.addMethod(java.lang.String name,
java.lang.String signature,
int flags) |
Method |
ClassType.addMethod(java.lang.String name,
Type[] arg_types,
Type return_type,
int flags) |
Method |
ClassType.checkSingleAbstractMethod()
Check to see if this is a Single Abstract Method (SAM) type.
|
Method[] |
ClassType.getAbstractMethods() |
Method |
ClassType.getDeclaredMethod(java.lang.String name,
int argCount)
Get a method with matching name and number of arguments.
|
Method |
SpecialObjectType.getDeclaredMethod(java.lang.String name,
int argCount) |
Method |
ClassType.getDeclaredMethod(java.lang.String name,
Type[] arg_types)
Look for a matching method.
|
Method |
ClassType.getDeclaredMethods() |
Method |
ClassType.getDeclaredStaticMethod(java.lang.String name,
int argCount)
Get a static method with matching name and number of arguments.
|
Method |
ClassType.getDefaultConstructor() |
Method[] |
ClassType.getMatchingMethods(java.lang.String name,
Type[] paramTypes,
int flags) |
Method |
CodeAttr.getMethod() |
Method |
LocalVarsAttr.getMethod() |
Method |
StackMapTableAttr.getMethod() |
Method |
ClassType.getMethod(java.lang.reflect.Method method)
Add a method to this ClassType.
|
Method |
ClassType.getMethod(java.lang.String name,
Type[] arg_types)
Looks for a method matching the name and types.
|
Method |
SpecialObjectType.getMethod(java.lang.String name,
Type[] arg_types) |
Method |
ObjectType.getMethod(java.lang.String name,
Type[] arg_types) |
Method |
ClassType.getMethods()
Get the methods of this class.
|
Method[] |
ClassType.getMethods(Filter filter,
boolean searchSupers) |
Method[] |
ClassType.getMethods(Filter filter,
int searchSupers)
Get methods matching a given filter.
|
Method |
Method.getNext() |
Modifier and Type | Method and Description |
---|---|
CpoolMethodHandle |
ConstantPool.addMethodHandle(Method method) |
CpoolRef |
ConstantPool.addMethodRef(Method method) |
CpoolNameAndType |
ConstantPool.addNameAndType(Method method) |
void |
CodeAttr.emitInvoke(Method method) |
void |
CodeAttr.emitInvokeInterface(Method method) |
void |
CodeAttr.emitInvokeMethod(Method method,
int opcode) |
void |
CodeAttr.emitInvokeSpecial(Method method) |
void |
CodeAttr.emitInvokeStatic(Method method)
Compile a static method call.
|
void |
CodeAttr.emitInvokeVirtual(Method method)
Compile a virtual method call.
|
void |
CodeAttr.emitPushMethodHandle(Method method)
Push a MethodHandle, using an appropriate constant pool entry.
|
int |
ClassType.getMethods(Filter filter,
int searchSupers,
Method[] result,
int offset)
Deprecated.
|
void |
ClassTypeWriter.printMethod(Method method) |
Modifier and Type | Method and Description |
---|---|
int |
ClassType.getMethods(Filter filter,
int searchSupers,
java.util.List<Method> result)
Helper to get methods satisfying a filtering predicate.
|
int |
ArrayType.getMethods(Filter filter,
int searchSupers,
java.util.List<Method> result) |
int |
SpecialObjectType.getMethods(Filter filter,
int searchSupers,
java.util.List<Method> result) |
int |
ObjectType.getMethods(Filter filter,
int searchSupers,
java.util.List<Method> result) |
Constructor and Description |
---|
CodeAttr(Method meth) |
ExceptionsAttr(Method meth)
Add a new ExceptionsAttr to a Method.
|
LocalVarsAttr(Method method)
Create, but don't link into method.code's attributes list (yet).
|
Method(Method base,
ClassType clas)
A copy constructor, except you can override the declaring class.
|
Modifier and Type | Field and Description |
---|---|
static Method |
Compilation.apply0method |
static Method |
Compilation.apply1method |
static Method |
Compilation.apply2method |
static Method |
Compilation.apply3method |
static Method |
Compilation.apply4method |
static Method |
Compilation.applyCpsMethod |
static Method[] |
Compilation.applymethods |
static Method |
Compilation.applyNmethod |
static Method |
Compilation.getCallContextInstanceMethod |
static Method |
Compilation.getCurrentEnvironmentMethod |
static Method |
Compilation.getNextArgMethod |
Method |
Declaration.getterMethod |
static Method |
ConditionalTarget.isTrueMethod |
Method |
Compilation.method
The current method.
|
Method |
Declaration.setterMethod |
Modifier and Type | Method and Description |
---|---|
protected Method |
ClassExp.findMethodForBridge(java.lang.String mname,
Type[] ptypes,
Type rtype)
Finds a like-named method suitable for bridging the given
arg/return types (i.e.
|
Method |
Compilation.generateCheckMethod(LambdaExp lexp,
LambdaExp parent) |
static Method |
Compilation.getConstructor(ClassType clas,
LambdaExp lexp) |
Method |
Compilation.getConstructor(LambdaExp lexp) |
Method |
Compilation.getForNameHelper()
Generate a method to find a named Class without initializing it.
|
Method |
LambdaExp.getMainMethod()
Get the method that contains the actual body of the procedure.
|
Method |
PrimProcedure.getMethod() |
Method |
LambdaExp.getMethod(int nonSpliceCount,
int spliceCount)
Select the method used given an argument count.
|
static Method |
BindingInitializer.makeLocationMethod(java.lang.Object name) |
Modifier and Type | Method and Description |
---|---|
static void |
ApplyExp.compileArgsToContext(ApplyExp exp,
Method setupMethod,
Compilation comp) |
static void |
PrimProcedure.compileInvoke(Compilation comp,
Method method,
Target target,
boolean isTailCall,
int op_code,
Type returnType,
boolean doFixUnsigned)
Emit the actual invoke operation, after arguments have been pushed.
|
static void |
ConsumerTarget.compileUsingConsumer(Expression exp,
Compilation comp,
Target target,
Method makeMethod,
Method resultMethod) |
void |
ClassExp.generateBridgeMethod(Compilation comp,
Method src_method,
Type[] bridge_arg_types,
Type bridge_return_type)
Given an existing method and a desired bridge method signature,
generates an appropriate bridge method.
|
void |
PrimProcedure.setMethodForInvoke(Method m) |
static boolean |
PrimProcedure.takesContext(Method method) |
static boolean |
PrimProcedure.takesVarArgs(Method method) |
Constructor and Description |
---|
ApplyExp(Method m,
Expression... a) |
PrimProcedure(Method method) |
PrimProcedure(Method method,
char mode,
Language language,
ParameterizedType parameterizedType) |
PrimProcedure(Method method,
LambdaExp source) |
PrimProcedure(Method method,
Language language) |
PrimProcedure(Method method,
Type retType,
Type[] argTypes) |
Modifier and Type | Method and Description |
---|---|
static void |
ValuesMap.compileInlined(LambdaExp lambda,
Expression vals,
int startCounter,
Method matchesMethod,
Compilation comp,
Target target) |
Modifier and Type | Method and Description |
---|---|
protected Method |
LangObjType.coercionOrNullMethod() |
Modifier and Type | Field and Description |
---|---|
static Method |
SortNodes.canonicalizeMethod |
static Method |
CoerceNodes.makeNodesMethod |
static Method |
SortNodes.makeSortedNodesMethod |
Modifier and Type | Field and Description |
---|---|
static Method |
ValuesFilter.matchesMethod |
Modifier and Type | Field and Description |
---|---|
static Method |
Pattern.matchPatternMethod |