Class ConstantMethodHandleInfo

java.lang.Object
org.fife.rsta.ac.java.classreader.constantpool.ConstantPoolInfo
org.fife.rsta.ac.java.classreader.constantpool.ConstantMethodHandleInfo
All Implemented Interfaces:
ConstantTypes

public class ConstantMethodHandleInfo extends ConstantPoolInfo
Class representing a CONSTANT_MethodHandle structure.
Version:
1.0
  • Field Details

    • referenceKind

      private int referenceKind
    • referenceIndex

      private int referenceIndex
  • Constructor Details

    • ConstantMethodHandleInfo

      public ConstantMethodHandleInfo(int referenceKind, int referenceIndex)
      Constructor.
      Parameters:
      referenceKind - The reference kind.
      referenceIndex - The reference index.
  • Method Details

    • getReferenceKind

      public int getReferenceKind()
    • getReferenceIndex

      public int getReferenceIndex()
    • toString

      public String toString()
      Returns a string representation of this object. Useful for debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.