Uses of Class
org.codehaus.janino.util.ClassFile
-
Packages that use ClassFile Package Description org.codehaus.janino The core of the Janino Java compiler.org.codehaus.janino.util Application-independent helper classes. -
-
Uses of ClassFile in org.codehaus.janino
Fields in org.codehaus.janino declared as ClassFile Modifier and Type Field Description private ClassFile
ClassFileIClass. classFile
private ClassFile
CodeContext. classFile
private ClassFile[]
SimpleCompiler. classFiles
Null
before cooking, non-null
after cooking.Fields in org.codehaus.janino with type parameters of type ClassFile Modifier and Type Field Description private java.util.List<ClassFile>
UnitCompiler. generatedClassFiles
Non-null
whileUnitCompiler.compileUnit(boolean, boolean, boolean)
is executing.Methods in org.codehaus.janino that return ClassFile Modifier and Type Method Description private ClassFile[]
SimpleCompiler. assertCooked()
ClassFile[]
UnitCompiler. compileUnit(boolean debugSource, boolean debugLines, boolean debugVars)
Generates an array ofClassFile
objects which represent the classes and interfaces declared in the compilation unit.ClassFile
CodeContext. getClassFile()
TheClassFile
this context is related to.ClassFile[]
SimpleCompiler. getClassFiles()
private ClassFile
UnitCompiler. newClassFile(short accessFlags, IClass iClass, IClass superclass, IClass[] interfaces)
Methods in org.codehaus.janino with parameters of type ClassFile Modifier and Type Method Description private void
UnitCompiler. addClassFile(ClassFile cf)
Adds the givenClassFile
to the result set.private void
UnitCompiler. addFields(Java.FieldDeclaration fd, ClassFile cf)
Creates and addsClassFile.FieldInfo
s to the cf for all fields declared by the fd.private void
UnitCompiler. compile(Java.FunctionDeclarator fd, ClassFile classFile)
private void
UnitCompiler. compile2(Java.FunctionDeclarator fd, ClassFile classFile)
private void
UnitCompiler. compileAnnotations(Java.Annotation[] annotations, Annotatable target, ClassFile cf)
Converts and adds the annotations to the target.private void
UnitCompiler. compileDeclaredMemberTypes(Java.TypeDeclaration decl, ClassFile cf)
Compiles all of the types for this declarationprivate void
UnitCompiler. compileDeclaredMethods(Java.TypeDeclaration typeDeclaration, ClassFile cf)
Compiles all of the methods for this declarationprivate void
UnitCompiler. compileDeclaredMethods(Java.TypeDeclaration typeDeclaration, ClassFile cf, int startPos)
Compiles methods for this declaration starting at startPos.private ClassFile.ElementValue
UnitCompiler. compileElementValue(Java.ElementValue elementValue, ClassFile cf)
private void
UnitCompiler. generateBridgeMethod(ClassFile cf, IClass declaringIClass, IClass.IMethod base, IClass.IMethod override)
Generates and compiles a bridge method with signature base that delegates to override.private void
UnitCompiler. maybeCreateInitMethod(Java.TypeDeclaration td, ClassFile cf, java.util.List<Java.BlockStatement> statements)
Creates class/interface initialization method iff there is any initialization code.void
Compiler. storeClassFile(ClassFile classFile, java.io.File sourceFile)
Stores the byte code of thisClassFile
in the file system.Constructors in org.codehaus.janino with parameters of type ClassFile Constructor Description ClassFileIClass(ClassFile classFile, IClassLoader iClassLoader)
CodeContext(ClassFile classFile)
Creates an empty "Code" attribute. -
Uses of ClassFile in org.codehaus.janino.util
Methods in org.codehaus.janino.util that return ClassFile Modifier and Type Method Description ClassFile
ClassFile.MethodInfo. getClassFile()
Methods in org.codehaus.janino.util with parameters of type ClassFile Modifier and Type Method Description ClassFile.ConstantClassInfo
ClassFile.ConstantFieldrefInfo. getClassInfo(ClassFile classFile)
ClassFile.ConstantClassInfo
ClassFile.ConstantInterfaceMethodrefInfo. getClassInfo(ClassFile classFile)
ClassFile.ConstantClassInfo
ClassFile.ConstantMethodrefInfo. getClassInfo(ClassFile classFile)
ClassFile.ConstantValuePoolInfo
ClassFile.ConstantValueAttribute. getConstantValue(ClassFile classFile)
java.lang.String
ClassFile.ConstantNameAndTypeInfo. getDescriptor(ClassFile classFile)
java.lang.String
ClassFile.FieldInfo. getDescriptor(ClassFile classFile)
ClassFile.ConstantClassInfo[]
ClassFile.ExceptionsAttribute. getExceptions(ClassFile classFile)
java.lang.String
ClassFile.ConstantClassInfo. getName(ClassFile classFile)
java.lang.String
ClassFile.ConstantNameAndTypeInfo. getName(ClassFile classFile)
java.lang.String
ClassFile.FieldInfo. getName(ClassFile classFile)
ClassFile.ConstantNameAndTypeInfo
ClassFile.ConstantFieldrefInfo. getNameAndType(ClassFile classFile)
ClassFile.ConstantNameAndTypeInfo
ClassFile.ConstantInterfaceMethodrefInfo. getNameAndType(ClassFile classFile)
ClassFile.ConstantNameAndTypeInfo
ClassFile.ConstantMethodrefInfo. getNameAndType(ClassFile classFile)
java.lang.String
ClassFile.SignatureAttribute. getSignature(ClassFile classFile)
java.lang.Object
ClassFile.ConstantDoubleInfo. getValue(ClassFile classFile)
java.lang.Object
ClassFile.ConstantFloatInfo. getValue(ClassFile classFile)
java.lang.Object
ClassFile.ConstantIntegerInfo. getValue(ClassFile classFile)
java.lang.Object
ClassFile.ConstantLongInfo. getValue(ClassFile classFile)
java.lang.Object
ClassFile.ConstantStringInfo. getValue(ClassFile classFile)
java.lang.Object
ClassFile.ConstantUtf8Info. getValue(ClassFile classFile)
abstract java.lang.Object
ClassFile.ConstantValuePoolInfo. getValue(ClassFile classFile)
private static ClassFile.AttributeInfo
ClassFile.CodeAttribute. loadBody(short attributeNameIndex, ClassFile classFile, java.io.DataInputStream dis)
private static ClassFile.AttributeInfo
ClassFile.StackMapTableAttribute. loadBody(short attributeNameIndex, java.io.DataInputStream dis, ClassFile classFile)
private static ClassFile.StackMapTableAttribute.VerificationTypeInfo
ClassFile.StackMapTableAttribute. loadVerificationTypeInfo(java.io.DataInputStream dis, ClassFile classFile)
private static ClassFile.StackMapTableAttribute.VerificationTypeInfo[]
ClassFile.StackMapTableAttribute. loadVerificationTypeInfos(java.io.DataInputStream dis, int number, ClassFile classFile)
-