Documentation of 'org.python.compiler.ClassFile' Java class
ClassFile
org.python.compiler

Class ClassFile



  • public class ClassFile
    extends java.lang.Object
    • Field Detail

      • name

        public java.lang.String name
    • Constructor Detail

      • ClassFile

        public ClassFile(java.lang.String name)
      • ClassFile

        public ClassFile(java.lang.String name,
                         java.lang.String superclass,
                         int access)
      • ClassFile

        public ClassFile(java.lang.String name,
                         java.lang.String superclass,
                         int access,
                         long mtime)
    • Method Detail

      • fixName

        public static java.lang.String fixName(java.lang.String n)
      • visitAnnotations

        public static void visitAnnotations(org.objectweb.asm.AnnotationVisitor av,
                                            java.util.Map<java.lang.String,java.lang.Object> fields)
      • visitAnnotation

        public static void visitAnnotation(org.objectweb.asm.AnnotationVisitor av,
                                           java.lang.String fieldName,
                                           java.lang.Object fieldValue)
      • setSource

        public void setSource(java.lang.String name)
      • addInterface

        public void addInterface(java.lang.String name)
                          throws java.io.IOException
        Throws:
        java.io.IOException
      • addMethod

        public Code addMethod(java.lang.String name,
                              java.lang.String type,
                              int access)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • addMethod

        public Code addMethod(java.lang.String name,
                              java.lang.String type,
                              int access,
                              java.lang.String[] exceptions)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • addFinalStringLiteral

        public void addFinalStringLiteral(java.lang.String name,
                                          java.lang.String value)
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • addField

        public void addField(java.lang.String name,
                             java.lang.String type,
                             int access)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • addField

        public void addField(java.lang.String name,
                             java.lang.String type,
                             int access,
                             ProxyCodeHelpers.AnnotationDescr[] annotationDescrs)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • endFields

        public void endFields()
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • endMethods

        public void endMethods()
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • endClassAnnotations

        public void endClassAnnotations()
      • write

        public void write(java.io.OutputStream stream)
                   throws java.io.IOException
        Throws:
        java.io.IOException

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.