| Package | Description |
|---|---|
| org.codehaus.janino |
The core of the Janino JavaTM compiler.
|
| org.codehaus.janino.util |
Application-independent helper classes.
|
| Modifier and Type | Method and Description |
|---|---|
ClassFile[] |
UnitCompiler.compileUnit(boolean debugSource,
boolean debugLines,
boolean debugVars)
Generates an array of
ClassFile objects which represent the classes and interfaces declared in the
compilation unit. |
ClassFile |
CodeContext.getClassFile()
The
ClassFile this context is related to. |
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleCompiler.cook(ClassFile[] classFiles)
Serializes the given classFiles as bytecode, stores them in a map, and then invokes
SimpleCompiler.cook(Map). |
void |
Compiler.storeClassFile(ClassFile classFile,
File sourceFile)
Stores the byte code of this
ClassFile in the file system. |
| Constructor and Description |
|---|
ClassFileIClass(ClassFile classFile,
IClassLoader iClassLoader) |
CodeContext(ClassFile classFile,
String functionName)
Creates an empty "Code" attribute.
|
| Modifier and Type | Method and Description |
|---|---|
ClassFile |
ClassFile.MethodInfo.getClassFile() |
| Modifier and Type | Method and Description |
|---|---|
ClassFile.ConstantClassInfo |
ClassFile.ConstantFieldrefInfo.getClassInfo(ClassFile classFile) |
ClassFile.ConstantClassInfo |
ClassFile.ConstantMethodrefInfo.getClassInfo(ClassFile classFile) |
ClassFile.ConstantClassInfo |
ClassFile.ConstantInterfaceMethodrefInfo.getClassInfo(ClassFile classFile) |
ClassFile.ConstantValuePoolInfo |
ClassFile.ConstantValueAttribute.getConstantValue(ClassFile classFile) |
String |
ClassFile.ConstantNameAndTypeInfo.getDescriptor(ClassFile classFile) |
String |
ClassFile.FieldInfo.getDescriptor(ClassFile classFile) |
ClassFile.ConstantClassInfo[] |
ClassFile.ExceptionsAttribute.getExceptions(ClassFile classFile) |
String |
ClassFile.ConstantClassInfo.getName(ClassFile classFile) |
String |
ClassFile.ConstantNameAndTypeInfo.getName(ClassFile classFile) |
String |
ClassFile.FieldInfo.getName(ClassFile classFile) |
ClassFile.ConstantNameAndTypeInfo |
ClassFile.ConstantFieldrefInfo.getNameAndType(ClassFile classFile) |
ClassFile.ConstantNameAndTypeInfo |
ClassFile.ConstantMethodrefInfo.getNameAndType(ClassFile classFile) |
ClassFile.ConstantNameAndTypeInfo |
ClassFile.ConstantInterfaceMethodrefInfo.getNameAndType(ClassFile classFile) |
abstract Object |
ClassFile.ConstantValuePoolInfo.getValue(ClassFile classFile) |
Copyright © 2019. All rights reserved.