public final class CompositeValueClass<T> extends FieldIntrospection<T>
CompositeValue
type. The metadata includes:
CompositeValue.Component
as well as methods for iterating over
such fields.Modifier and Type | Class and Description |
---|---|
private static class |
CompositeValueClass.CompositeValueFieldsScanner |
Modifier and Type | Field and Description |
---|---|
private static ClassValue<CompositeValueClass<?>> |
compositeClass
The CompositeValueClass is only used for formatting for the most part so cache it as a
ClassValue.
|
private LIRIntrospection.Values |
values |
data
unsafe
Modifier | Constructor and Description |
---|---|
private |
CompositeValueClass(Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
static String |
format(CompositeValue obj) |
static <T> CompositeValueClass<T> |
get(Class<T> type) |
Fields[] |
getAllFields() |
String |
toString() |
getClazz, getData
createCString, readCString, writeCString
private static final ClassValue<CompositeValueClass<?>> compositeClass
private final LIRIntrospection.Values values
private CompositeValueClass(Class<T> clazz)
public static <T> CompositeValueClass<T> get(Class<T> type)
public Fields[] getAllFields()
getAllFields
in class FieldIntrospection<T>
public static String format(CompositeValue obj)