Uses of Class
org.codehaus.janino.util.ClassFile
Packages that use ClassFile
Package
Description
The core of the Janino Java compiler.
Application-independent helper classes.
-
Uses of ClassFile in org.codehaus.janino
Fields in org.codehaus.janino declared as ClassFileModifier and TypeFieldDescriptionprivate final ClassFileClassFileIClass.classFileprivate final ClassFileCodeContext.classFileFields in org.codehaus.janino with type parameters of type ClassFileModifier and TypeFieldDescriptionprivate Collection<ClassFile> SimpleCompiler.classFilesNullbefore cooking, non-nullafter cooking.Methods in org.codehaus.janino that return ClassFileModifier and TypeMethodDescriptionCodeContext.getClassFile()TheClassFilethis context is related to.SimpleCompiler.getClassFiles()private ClassFileUnitCompiler.newClassFile(short accessFlags, IClass iClass, IClass superclass, IClass[] interfaces) Methods in org.codehaus.janino that return types with arguments of type ClassFileMethods in org.codehaus.janino with parameters of type ClassFileModifier and TypeMethodDescriptionprivate voidUnitCompiler.addClassFile(ClassFile cf) Adds the givenClassFileto the result set.private voidUnitCompiler.addFields(Java.FieldDeclaration fd, ClassFile cf) Creates and addsClassFile.FieldInfos to the cf for all fields declared by the fd.private static ClassFile.MethodInfoUnitCompiler.addMethodInfo(Java.Locatable locatable, ClassFile classFile, short accessFlags, String methodName, MethodDescriptor methodMd) private voidUnitCompiler.compile(Java.FunctionDeclarator fd, ClassFile classFile) private voidUnitCompiler.compile2(Java.FunctionDeclarator fd, ClassFile classFile) private voidUnitCompiler.compileAnnotations(Java.Annotation[] annotations, Annotatable target, ClassFile cf) Converts and adds the annotations to the target.private voidUnitCompiler.compileDeclaredMemberTypes(Java.TypeDeclaration decl, ClassFile cf) Compiles all of the types for this declarationprivate voidUnitCompiler.compileDeclaredMethods(Java.TypeDeclaration typeDeclaration, ClassFile cf) Compiles all of the methods for this declarationprivate voidUnitCompiler.compileDeclaredMethods(Java.TypeDeclaration typeDeclaration, ClassFile cf, int startPos) Compiles methods for this declaration starting at startPos.private ClassFile.ElementValueUnitCompiler.compileElementValue(Java.ElementValue elementValue, ClassFile cf, boolean compileAsArray) voidprivate voidUnitCompiler.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 voidUnitCompiler.maybeCreateInitMethod(Java.TypeDeclaration td, ClassFile cf, List<Java.BlockStatement> statements) Creates class/interface initialization method iff there is any initialization code.voidCompiler.storeClassFile(ClassFile classFile, File sourceFile) Stores the byte code of thisClassFilein the file system.Method parameters in org.codehaus.janino with type arguments of type ClassFileModifier and TypeMethodDescriptionvoidUnitCompiler.compileUnit(boolean debugSource, boolean debugLines, boolean debugVars, Collection<ClassFile> generatedClassFiles) Generates a set ofClassFileobjects which represent the classes and interfaces declared in the compilation unit.Constructors in org.codehaus.janino with parameters of type ClassFileModifierConstructorDescriptionClassFileIClass(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 ClassFileMethods in org.codehaus.janino.util with parameters of type ClassFileModifier and TypeMethodDescriptionClassFile.ConstantFieldrefInfo.getClassInfo(ClassFile classFile) ClassFile.ConstantInterfaceMethodrefInfo.getClassInfo(ClassFile classFile) ClassFile.ConstantMethodrefInfo.getClassInfo(ClassFile classFile) ClassFile.ConstantValueAttribute.getConstantValue(ClassFile classFile) ClassFile.ConstantNameAndTypeInfo.getDescriptor(ClassFile classFile) ClassFile.FieldInfo.getDescriptor(ClassFile classFile) ClassFile.ExceptionsAttribute.getExceptions(ClassFile classFile) ClassFile.ConstantFieldrefInfo.getNameAndType(ClassFile classFile) ClassFile.ConstantInterfaceMethodrefInfo.getNameAndType(ClassFile classFile) ClassFile.ConstantMethodrefInfo.getNameAndType(ClassFile classFile) ClassFile.SignatureAttribute.getSignature(ClassFile classFile) abstract Objectprivate static ClassFile.AttributeInfoClassFile.CodeAttribute.loadBody(short attributeNameIndex, ClassFile classFile, DataInputStream dis) private static ClassFile.AttributeInfoClassFile.StackMapTableAttribute.loadBody(short attributeNameIndex, DataInputStream dis, ClassFile classFile) private static ClassFile.StackMapTableAttribute.VerificationTypeInfoClassFile.StackMapTableAttribute.loadVerificationTypeInfo(DataInputStream dis, ClassFile classFile) private static ClassFile.StackMapTableAttribute.VerificationTypeInfo[]ClassFile.StackMapTableAttribute.loadVerificationTypeInfos(DataInputStream dis, int number, ClassFile classFile)