< prev index next >
src/jdk.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotResolvedObjectTypeImpl.java
Print this page
*** 593,612 ****
* Returns the name of this field as a {@link String}. If the field is an internal field the
* name index is pointing into the vmSymbols table.
*/
public String getName() {
final int nameIndex = getNameIndex();
! return isInternal() ? HotSpotVmSymbols.symbolAt(nameIndex) : getConstantPool().lookupUtf8(nameIndex);
}
/**
* Returns the signature of this field as {@link String}. If the field is an internal field
* the signature index is pointing into the vmSymbols table.
*/
public String getSignature() {
final int signatureIndex = getSignatureIndex();
! return isInternal() ? HotSpotVmSymbols.symbolAt(signatureIndex) : getConstantPool().lookupUtf8(signatureIndex);
}
public JavaType getType() {
String signature = getSignature();
return runtime().lookupType(signature, HotSpotResolvedObjectTypeImpl.this, false);
--- 593,612 ----
* Returns the name of this field as a {@link String}. If the field is an internal field the
* name index is pointing into the vmSymbols table.
*/
public String getName() {
final int nameIndex = getNameIndex();
! return isInternal() ? HotSpotSymbol.symbolAt(nameIndex) : getConstantPool().lookupUtf8(nameIndex);
}
/**
* Returns the signature of this field as {@link String}. If the field is an internal field
* the signature index is pointing into the vmSymbols table.
*/
public String getSignature() {
final int signatureIndex = getSignatureIndex();
! return isInternal() ? HotSpotSymbol.symbolAt(signatureIndex) : getConstantPool().lookupUtf8(signatureIndex);
}
public JavaType getType() {
String signature = getSignature();
return runtime().lookupType(signature, HotSpotResolvedObjectTypeImpl.this, false);
< prev index next >