Constructor and Description |
---|
ConstantMethodHandle(ConstantMethodHandle c)
Initialize from another object.
|
ConstantMethodHandle(int reference_kind,
int reference_index) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitly
defined by the contents of a Java class.
|
void |
dump(DataOutputStream file)
Dump method kind and index to file stream in binary format.
|
int |
getReferenceIndex() |
int |
getReferenceKind() |
void |
setReferenceIndex(int reference_index) |
void |
setReferenceKind(int reference_kind) |
String |
toString() |
clone, copy, equals, getComparator, getTag, hashCode, readConstant, setComparator
public ConstantMethodHandle(ConstantMethodHandle c)
public ConstantMethodHandle(int reference_kind, int reference_index)
public void accept(Visitor v)
public void dump(DataOutputStream file) throws IOException
dump
in class Constant
file
- Output file streamIOException
public int getReferenceKind()
public void setReferenceKind(int reference_kind)
public int getReferenceIndex()
public void setReferenceIndex(int reference_index)
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.