org.aspectj.apache.bcel.classfile
Class ConstantMethodHandle

java.lang.Object
  extended by org.aspectj.apache.bcel.classfile.Constant
      extended by org.aspectj.apache.bcel.classfile.ConstantMethodHandle
All Implemented Interfaces:
java.lang.Cloneable, Node

public final class ConstantMethodHandle
extends Constant

This class is derived from the abstract Constant class and represents a reference to the name and signature of a field or method. http://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.4.8

See Also:
Constant

Field Summary
 
Fields inherited from class org.aspectj.apache.bcel.classfile.Constant
tag
 
Constructor Summary
ConstantMethodHandle(byte referenceKind, int referenceIndex)
           
 
Method Summary
 void accept(ClassVisitor v)
           
 void dump(java.io.DataOutputStream file)
           
 byte getReferenceKind()
           
 java.lang.String getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class org.aspectj.apache.bcel.classfile.Constant
clone, copy, getTag
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstantMethodHandle

public ConstantMethodHandle(byte referenceKind,
                            int referenceIndex)
Method Detail

dump

public final void dump(java.io.DataOutputStream file)
                throws java.io.IOException
Specified by:
dump in class Constant
Throws:
java.io.IOException

getReferenceKind

public final byte getReferenceKind()

toString

public final java.lang.String toString()
Overrides:
toString in class Constant

getValue

public java.lang.String getValue()
Specified by:
getValue in class Constant

accept

public void accept(ClassVisitor v)
Specified by:
accept in interface Node
Specified by:
accept in class Constant