public class BasicOopField extends BasicField implements OopField
db, type
Constructor and Description |
---|
BasicOopField(BasicTypeDataBase db,
Type containingType,
java.lang.String name,
Type type,
boolean isStatic,
long offset,
Address staticFieldAddress) |
BasicOopField(OopField oopf) |
Modifier and Type | Method and Description |
---|---|
OopHandle |
getValue()
The field must be static and the type of the field must be a
Java oop, or a WrongTypeException will be thrown.
|
OopHandle |
getValue(Address addr)
The field must be nonstatic and the type of the field must be a
Java oop, or a WrongTypeException will be thrown.
|
getAddress, getAddress, getCInteger, getCInteger, getJBoolean, getJBoolean, getJByte, getJByte, getJChar, getJChar, getJDouble, getJDouble, getJFloat, getJFloat, getJInt, getJInt, getJLong, getJLong, getJShort, getJShort, getName, getNarrowOopHandle, getNarrowOopHandle, getOffset, getOopHandle, getOopHandle, getSize, getStaticFieldAddress, getType, isStatic
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAddress, getAddress, getCInteger, getCInteger, getJBoolean, getJBoolean, getJByte, getJByte, getJChar, getJChar, getJDouble, getJDouble, getJFloat, getJFloat, getJInt, getJInt, getJLong, getJLong, getJShort, getJShort, getName, getNarrowOopHandle, getNarrowOopHandle, getOffset, getOopHandle, getOopHandle, getSize, getStaticFieldAddress, getType, isStatic
public BasicOopField(OopField oopf)
public BasicOopField(BasicTypeDataBase db, Type containingType, java.lang.String name, Type type, boolean isStatic, long offset, Address staticFieldAddress)
public OopHandle getValue(Address addr) throws UnmappedAddressException, UnalignedAddressException, WrongTypeException
getValue
in interface OopField
UnmappedAddressException
UnalignedAddressException
WrongTypeException
public OopHandle getValue() throws UnmappedAddressException, UnalignedAddressException, WrongTypeException
getValue
in interface OopField
UnmappedAddressException
UnalignedAddressException
WrongTypeException
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.