public abstract class FieldOrMethod extends CPInstruction implements LoadClass
indexlength, opcode| Modifier | Constructor and Description |
|---|---|
protected |
FieldOrMethod(short opcode,
int index) |
| Modifier and Type | Method and Description |
|---|---|
String |
getClassName(ConstantPoolGen cpg) |
ObjectType |
getClassType(ConstantPoolGen cpg) |
ObjectType |
getLoadClassType(ConstantPoolGen cpg)
Returns the ObjectType of the referenced class or interface
that may be loaded and resolved.
|
String |
getName(ConstantPoolGen cpg) |
String |
getSignature(ConstantPoolGen cpg) |
dump, getIndex, getType, initFromFile, setIndex, toString, toStringaccept, consumeStack, copy, equals, getComparator, getLength, getName, getOpcode, produceStack, readInstruction, setComparator, toStringprotected FieldOrMethod(short opcode,
int index)
index - to constant poolpublic String getSignature(ConstantPoolGen cpg)
public String getName(ConstantPoolGen cpg)
public String getClassName(ConstantPoolGen cpg)
public ObjectType getClassType(ConstantPoolGen cpg)
public ObjectType getLoadClassType(ConstantPoolGen cpg)
LoadClassgetLoadClassType in interface LoadClassCopyright © 2018–2021 mhoffrogge. All rights reserved.