public class BasicCIntegerField extends BasicField implements CIntegerField
db, type
Constructor and Description |
---|
BasicCIntegerField(BasicTypeDataBase db,
Type containingType,
java.lang.String name,
Type type,
boolean isStatic,
long offset,
Address staticFieldAddress) |
Modifier and Type | Method and Description |
---|---|
long |
getValue()
The field must be static and of integer type, or a
WrongTypeException will be thrown.
|
long |
getValue(Address addr)
The field must be nonstatic and of integer type, or a
WrongTypeException will be thrown.
|
boolean |
isUnsigned() |
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 BasicCIntegerField(BasicTypeDataBase db, Type containingType, java.lang.String name, Type type, boolean isStatic, long offset, Address staticFieldAddress)
public boolean isUnsigned()
isUnsigned
in interface CIntegerField
public long getValue(Address addr) throws UnmappedAddressException, UnalignedAddressException, WrongTypeException
getValue
in interface CIntegerField
UnmappedAddressException
UnalignedAddressException
WrongTypeException
public long getValue() throws UnmappedAddressException, UnalignedAddressException, WrongTypeException
getValue
in interface CIntegerField
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.