Package com.strobel.reflection.emit
Class ConstantPool.MethodHandle
- java.lang.Object
-
- com.strobel.reflection.emit.ConstantPool.Entry
-
- com.strobel.reflection.emit.ConstantPool.MethodHandle
-
- Enclosing class:
- ConstantPool
public static class ConstantPool.MethodHandle extends ConstantPool.Entry
-
-
Field Summary
Fields Modifier and Type Field Description int
referenceIndex
ConstantPool.ReferenceKind
referenceKind
-
Fields inherited from class com.strobel.reflection.emit.ConstantPool.Entry
index, owner
-
-
Constructor Summary
Constructors Constructor Description MethodHandle(ConstantPool owner, ConstantPool.ReferenceKind referenceKind, int referenceIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,D>
Raccept(ConstantPool.Visitor<R,D> visitor, D data)
int
byteLength()
ConstantPool.ReferenceEntry
getReference()
ConstantPool.Tag
getTag()
-
Methods inherited from class com.strobel.reflection.emit.ConstantPool.Entry
size
-
-
-
-
Field Detail
-
referenceKind
public final ConstantPool.ReferenceKind referenceKind
-
referenceIndex
public final int referenceIndex
-
-
Constructor Detail
-
MethodHandle
public MethodHandle(ConstantPool owner, ConstantPool.ReferenceKind referenceKind, int referenceIndex)
-
-
Method Detail
-
getReference
public ConstantPool.ReferenceEntry getReference()
-
getTag
public ConstantPool.Tag getTag()
- Specified by:
getTag
in classConstantPool.Entry
-
byteLength
public int byteLength()
- Specified by:
byteLength
in classConstantPool.Entry
-
accept
public <R,D> R accept(ConstantPool.Visitor<R,D> visitor, D data)
- Specified by:
accept
in classConstantPool.Entry
-
-