Top Description Fields Constructors Methods
org.aspectj.apache.bcel.classfile

public final Class ConstantMethodHandle

extends Constant
Class Inheritance
Imports
java.io.DataInputStream, .DataOutputStream, .IOException, org.aspectj.apache.bcel.Constants

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
Author
Andy Clement
See Also
Constant

Field Summary

Modifier and TypeField and Description
private int
private byte
Inherited from org.aspectj.apache.bcel.classfile.Constant:
tag

Constructor Summary

AccessConstructor and Description
pack-priv
public
ConstantMethodHandle(byte referenceKind, int referenceIndex)

Method Summary

Modifier and TypeMethod and Description
public void
public final void
public final int
public final byte
public String
public static String
kindToString(byte kind)

public final String
toString()

Overrides org.aspectj.apache.bcel.classfile.Constant.toString.

Returns a string representation of the object.
Inherited from org.aspectj.apache.bcel.classfile.Constant:
clonecopygetTagreadConstant

Field Detail

referenceIndexback to summary
private int referenceIndex
referenceKindback to summary
private byte referenceKind

Constructor Detail

ConstantMethodHandleback to summary
pack-priv ConstantMethodHandle(DataInputStream file) throws IOException
ConstantMethodHandleback to summary
public ConstantMethodHandle(byte referenceKind, int referenceIndex)

Method Detail

acceptback to summary
public void accept(ClassVisitor v)

Implements abstract org.aspectj.apache.bcel.classfile.Constant.accept.

Implements org.aspectj.apache.bcel.classfile.Node.accept.

Annotations
@Override
dumpback to summary
public final void dump(DataOutputStream file) throws IOException

Implements abstract org.aspectj.apache.bcel.classfile.Constant.dump.

Annotations
@Override
getReferenceIndexback to summary
public final int getReferenceIndex()
getReferenceKindback to summary
public final byte getReferenceKind()
getValueback to summary
public String getValue()

Implements abstract org.aspectj.apache.bcel.classfile.Constant.getValue.

Annotations
@Override
kindToStringback to summary
public static String kindToString(byte kind)
toStringback to summary
public final String toString()

Overrides org.aspectj.apache.bcel.classfile.Constant.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override