- java.lang.Object
-
- com.ibm.j9ddr.StructureReader.FieldDescriptor
-
- All Implemented Interfaces:
Comparable<StructureReader.FieldDescriptor>
- Enclosing class:
- StructureReader
public static class StructureReader.FieldDescriptor extends Object implements Comparable<StructureReader.FieldDescriptor>
-
-
Constructor Summary
Constructors Constructor Description FieldDescriptor(int offset, String type, String declaredType, String name, String declaredName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyAliases(Map<String,String> aliasMap)
void
cleanUpTypes()
Cleans up this type by mapping U_32 -> U32, removing any const declaration etc.String
deflate()
String
getDeclaredName()
String
getDeclaredType()
String
getName()
int
getOffset()
String
getType()
static Collection<StructureReader.FieldDescriptor>
inflate(String line)
boolean
isOptional()
boolean
isPresent()
boolean
isRequired()
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
cleanUpTypes
public void cleanUpTypes()
Cleans up this type by mapping U_32 -> U32, removing any const declaration etc.
-
getName
public String getName()
-
getDeclaredName
public String getDeclaredName()
-
getType
public String getType()
-
getDeclaredType
public String getDeclaredType()
-
getOffset
public int getOffset()
-
isOptional
public final boolean isOptional()
-
isPresent
public final boolean isPresent()
-
isRequired
public final boolean isRequired()
-
inflate
public static Collection<StructureReader.FieldDescriptor> inflate(String line)
-
deflate
public String deflate()
-
-