public class BasicBitType extends BasicIntType implements BitType
CONST, VOLATILE
Constructor and Description |
---|
BasicBitType(Type underlyingType,
int sizeInBits,
int lsbOffset)
Underlying type of enum must be an integer type (or as yet
unresolved)
|
Modifier and Type | Method and Description |
---|---|
BitType |
asBit() |
protected Type |
createCVVariant(int cvAttributes) |
int |
getOffset()
Offset from the least-significant bit (LSB) of the LSB of this
type
|
int |
getSize()
Size of the type in bytes
|
int |
getSizeInBits()
Size in bits of this type
|
boolean |
isUnsigned()
Indicates whether this type is unsigned
|
void |
iterateObject(Address a,
ObjectVisitor v,
FieldIdentifier f)
Alternate visitor which allows end user to specify the
FieldIdentifier associated with this type (typically for
visiting locals in a frame)
|
void |
visit(TypeVisitor v) |
asInt, getIntSize
addCVVariant, asArray, asCompound, asDouble, asEnum, asFloat, asFunction, asMemberFunction, asPointer, asRef, asVoid, findCVVariant, getCVVariant, getName, isArray, isBit, isCompound, isConst, isDouble, isEnum, isFloat, isFunction, isInt, isLazy, isMemberFunction, isPointer, isRef, isVoid, isVolatile, iterateObject, setName, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIntSize
asArray, asCompound, asDouble, asEnum, asFloat, asFunction, asInt, asMemberFunction, asPointer, asRef, asVoid, getName, isArray, isBit, isCompound, isConst, isDouble, isEnum, isFloat, isFunction, isInt, isMemberFunction, isPointer, isRef, isVoid, isVolatile, iterateObject, toString
public BasicBitType(Type underlyingType, int sizeInBits, int lsbOffset)
public BitType asBit()
public int getSize()
Type
public boolean isUnsigned()
IntType
isUnsigned
in interface IntType
isUnsigned
in class BasicIntType
public int getSizeInBits()
BitType
getSizeInBits
in interface BitType
public int getOffset()
BitType
public void iterateObject(Address a, ObjectVisitor v, FieldIdentifier f)
Type
iterateObject
in interface Type
iterateObject
in class BasicIntType
protected Type createCVVariant(int cvAttributes)
createCVVariant
in class BasicIntType
public void visit(TypeVisitor v)
visit
in class BasicIntType
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.