Class AttributeEnclosingMethod

java.lang.Object
org.benf.cfr.reader.entities.attributes.Attribute
org.benf.cfr.reader.entities.attributes.AttributeEnclosingMethod
All Implemented Interfaces:
KnowsRawName, KnowsRawSize, Dumpable, TypeUsageCollectable

public class AttributeEnclosingMethod extends Attribute
  • Field Details

    • ATTRIBUTE_NAME

      public static final String ATTRIBUTE_NAME
      See Also:
    • OFFSET_OF_ATTRIBUTE_LENGTH

      private static final long OFFSET_OF_ATTRIBUTE_LENGTH
      See Also:
    • OFFSET_OF_REMAINDER

      private static final long OFFSET_OF_REMAINDER
      See Also:
    • length

      private final int length
    • classIndex

      private final int classIndex
    • methodIndex

      private final int methodIndex
  • Constructor Details

    • AttributeEnclosingMethod

      public AttributeEnclosingMethod(ByteData raw)
  • Method Details

    • getRawName

      public String getRawName()
    • dump

      public Dumper dump(Dumper d)
      Specified by:
      dump in interface Dumpable
      Specified by:
      dump in class Attribute
    • getRawByteLength

      public long getRawByteLength()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getClassIndex

      public int getClassIndex()
    • getMethodIndex

      public int getMethodIndex()