Class ClassDataCollector

    • Constructor Detail

      • ClassDataCollector

        public ClassDataCollector()
    • Method Detail

      • classStart

        public boolean classStart​(Clazz c)
      • extendsClass

        public void extendsClass​(Descriptors.TypeRef zuper)
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • implementsInterfaces

        public void implementsInterfaces​(Descriptors.TypeRef[] interfaces)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • annotation

        public void annotation​(Annotation annotation)
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • parameter

        public void parameter​(int p)
      • classEnd

        public void classEnd()
                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • deprecated

        public void deprecated()
                        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • enclosingMethod

        public void enclosingMethod​(Descriptors.TypeRef cName,
                                    java.lang.String mName,
                                    java.lang.String mDescriptor)
        The EnclosingMethod attribute
        Parameters:
        cName - The name of the enclosing class, never null. Name is with slashes.
        mName - The name of the enclosing method in the class with cName or null
        mDescriptor - The descriptor of this type
      • innerClass

        public void innerClass​(Descriptors.TypeRef innerClass,
                               Descriptors.TypeRef outerClass,
                               java.lang.String innerName,
                               int innerClassAccessFlags)
                        throws java.lang.Exception
        The InnerClass attribute
        Parameters:
        innerClass - The name of the inner class (with slashes). Can be null.
        outerClass - The name of the outer class (with slashes) Can be null.
        innerName - The name inside the outer class, can be null.
        innerClassAccessFlags - The access flags
        Throws:
        java.lang.Exception
      • signature

        public void signature​(java.lang.String signature)
      • constant

        public void constant​(java.lang.Object object)
      • memberEnd

        public void memberEnd()
      • version

        public void version​(int minor,
                            int major)
      • referenceMethod

        public void referenceMethod​(int access,
                                    Descriptors.TypeRef className,
                                    java.lang.String method,
                                    java.lang.String descriptor)
      • referTo

        public void referTo​(Descriptors.TypeRef typeRef,
                            int modifiers)
        A reference to a type from method or field. The modifiers indicate the access level of the parent method/field.
        Parameters:
        typeRef -
        modifiers -
      • annotationDefault

        public void annotationDefault​(Clazz.MethodDef method)
      • annotationDefault

        public void annotationDefault​(Clazz.MethodDef method,
                                      java.lang.Object value)
      • typeuse

        public void typeuse​(int target_type,
                            int target_index,
                            byte[] target_info,
                            byte[] type_path)