Class EnclosingMethodAttribute


public class EnclosingMethodAttribute extends Attribute
Enclosing method class file attribute.
  • Field Details

    • attributeName

      private static CPUTF8 attributeName
    • classIndex

      private int classIndex
    • methodIndex

      private int methodIndex
    • cpClass

      private final CPClass cpClass
    • method

      private final CPNameAndType method
  • Constructor Details

    • EnclosingMethodAttribute

      public EnclosingMethodAttribute(CPClass cpClass, CPNameAndType method)
      Constructs a new instance.
      Parameters:
      cpClass - a constant pool class.
      method - a constant pool name and type.
  • Method Details