abstract class LIRIntrospection<T> extends FieldIntrospection<T>
Modifier and Type | Class and Description |
---|---|
protected static class |
LIRIntrospection.LIRFieldsScanner |
protected static class |
LIRIntrospection.OperandModeAnnotation |
protected static class |
LIRIntrospection.ValueFieldInfo |
protected static class |
LIRIntrospection.Values |
Modifier and Type | Field and Description |
---|---|
private static Class<JavaConstant> |
CONSTANT_CLASS |
private static Class<RegisterValue> |
REGISTER_VALUE_CLASS |
private static Class<StackSlot> |
STACK_SLOT_CLASS |
private static Class<Value[]> |
VALUE_ARRAY_CLASS |
private static Class<Value> |
VALUE_CLASS |
protected LIRIntrospection.Values |
values
The component values in an
LIRInstruction or CompositeValue . |
private static Class<Variable> |
VARIABLE_CLASS |
data
unsafe
Constructor and Description |
---|
LIRIntrospection(Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
protected static void |
appendValues(StringBuilder sb,
Object obj,
String start,
String end,
String startMultiple,
String endMultiple,
String[] prefix,
Fields... fieldsList) |
protected static void |
forEach(LIRInstruction inst,
LIRIntrospection.Values values,
LIRInstruction.OperandMode mode,
InstructionValueConsumer proc) |
protected static void |
forEach(LIRInstruction inst,
LIRIntrospection.Values values,
LIRInstruction.OperandMode mode,
InstructionValueProcedure proc) |
protected static String |
getFieldString(Object obj,
int index,
Fields fields) |
private static boolean |
isPrintableAsciiString(byte[] array)
Tests if all values in this string are printable ASCII characters or value \0 (b in
[0x20,0x7F]) or b == 0.
|
private static String |
toString(byte[] bytes) |
getAllFields, getClazz, getData
createCString, readCString, writeCString
private static final Class<Value> VALUE_CLASS
private static final Class<JavaConstant> CONSTANT_CLASS
private static final Class<Variable> VARIABLE_CLASS
private static final Class<RegisterValue> REGISTER_VALUE_CLASS
private static final Class<StackSlot> STACK_SLOT_CLASS
private static final Class<Value[]> VALUE_ARRAY_CLASS
protected LIRIntrospection.Values values
LIRInstruction
or CompositeValue
.public LIRIntrospection(Class<T> clazz)
protected static void forEach(LIRInstruction inst, LIRIntrospection.Values values, LIRInstruction.OperandMode mode, InstructionValueProcedure proc)
protected static void forEach(LIRInstruction inst, LIRIntrospection.Values values, LIRInstruction.OperandMode mode, InstructionValueConsumer proc)
protected static void appendValues(StringBuilder sb, Object obj, String start, String end, String startMultiple, String endMultiple, String[] prefix, Fields... fieldsList)
protected static String getFieldString(Object obj, int index, Fields fields)
private static boolean isPrintableAsciiString(byte[] array)
array
-