类 EnclosingMethodAttribute

java.lang.Object
proguard.util.SimpleProcessable
proguard.classfile.attribute.Attribute
proguard.classfile.attribute.EnclosingMethodAttribute
所有已实现的接口:
Serializable, Processable

public class EnclosingMethodAttribute extends Attribute
This Attribute represents an enclosing method attribute.
另请参阅:
  • 字段详细资料

    • u2classIndex

      public int u2classIndex
    • u2nameAndTypeIndex

      public int u2nameAndTypeIndex
    • referencedClass

      public Clazz referencedClass
      An extra field pointing to the referenced Clazz object. This field is typically filled out by the ClassReferenceInitializer.
    • referencedMethod

      public Method referencedMethod
      An extra field optionally pointing to the referenced Method object. This field is typically filled out by the ClassReferenceInitializer.
  • 构造器详细资料

    • EnclosingMethodAttribute

      public EnclosingMethodAttribute()
      Creates an uninitialized EnclosingMethodAttribute.
    • EnclosingMethodAttribute

      public EnclosingMethodAttribute(int u2attributeNameIndex, int u2classIndex, int u2nameAndTypeIndex)
      Creates an initialized EnclosingMethodAttribute.
  • 方法详细资料

    • getClassName

      public String getClassName(Clazz clazz)
      Returns the class name.
    • getName

      public String getName(Clazz clazz)
      Returns the method/field name.
    • getType

      public String getType(Clazz clazz)
      Returns the type.
    • referencedClassAccept

      public void referencedClassAccept(ClassVisitor classVisitor)
      Lets the referenced class accept the given visitor.
    • referencedMethodAccept

      public void referencedMethodAccept(MemberVisitor memberVisitor)
      Lets the referenced class member accept the given visitor.
    • accept

      public void accept(Clazz clazz, AttributeVisitor attributeVisitor)
      从类复制的说明: Attribute
      Accepts the given visitor.
      覆盖:
      accept 在类中 Attribute