public static class JavaClassFile.ConstantPool extends Object
| 构造器和说明 |
|---|
ConstantPool(int constantPoolCount,
JavaClassFile.ClassReader reader) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getClassName(int index) |
String |
getClassNameForToString(int index) |
JavaClassFile.ConstantPool.ConstantInfo |
getConstantInfo(int index) |
double |
getDouble(int index) |
int |
getFloat(int index) |
int |
getInteger(int index) |
long |
getLong(int index) |
JavaClassFile.ConstantPool.ConstantNameAndTypeInfo |
getNameAndType(int index) |
String |
getUtf8(int stringIndex) |
String |
getUtf8ForToString(int stringIndex) |
public ConstantPool(int constantPoolCount,
JavaClassFile.ClassReader reader)
public JavaClassFile.ConstantPool.ConstantInfo getConstantInfo(int index)
public JavaClassFile.ConstantPool.ConstantNameAndTypeInfo getNameAndType(int index)
public String getClassName(int index)
public String getUtf8(int stringIndex)
public String getClassNameForToString(int index)
public String getUtf8ForToString(int stringIndex)
public int getInteger(int index)
public double getDouble(int index)
public int getFloat(int index)
public long getLong(int index)
Copyright © 2021. All rights reserved.