public final class TypeHelper extends Object
Modifier and Type | Method and Description |
---|---|
static int |
calculateByteSize(int offset,
TypeDefinition typeDefinition) |
static int |
calculateByteSize(TypeDefinition typeDefinition) |
static boolean |
hasType(TypeSystem typeSystem,
TypeDefinition type)
Test if a type system contains the type
|
public static int calculateByteSize(int offset, TypeDefinition typeDefinition)
public static int calculateByteSize(TypeDefinition typeDefinition)
public static boolean hasType(TypeSystem typeSystem, TypeDefinition type)
typeSystem
- the type systemtype
- the type to look fortrue
if the type system provides the type,
false
otherwise