public static class ByteBuddyUtils.ConvertType extends ByteBuddyUtils.TypeConversion<java.lang.reflect.Type>
StringBuffer
and String
are represented as a String
in Row. This determines
what the return type of the getter will be. For instance, the following POJO class:
class POJO {
StringBuffer str;
int[] array;
}
Generates the following getters:
FieldValueGetter<POJO, String>
FieldValueGetter<POJO, List<Integer>>
Modifier | Constructor and Description |
---|---|
protected |
ConvertType(boolean returnRawTypes) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.reflect.Type |
convertArray(TypeDescriptor<?> type) |
protected java.lang.reflect.Type |
convertByteBuffer(TypeDescriptor<?> type) |
protected java.lang.reflect.Type |
convertCharSequence(TypeDescriptor<?> type) |
protected java.lang.reflect.Type |
convertCollection(TypeDescriptor<?> type) |
protected java.lang.reflect.Type |
convertDateTime(TypeDescriptor<?> type) |
protected java.lang.reflect.Type |
convertDefault(TypeDescriptor<?> type) |
protected java.lang.reflect.Type |
convertEnum(TypeDescriptor<?> type) |
protected java.lang.reflect.Type |
convertIterable(TypeDescriptor<?> type) |
protected java.lang.reflect.Type |
convertList(TypeDescriptor<?> type) |
protected java.lang.reflect.Type |
convertMap(TypeDescriptor<?> type) |
protected java.lang.reflect.Type |
convertPrimitive(TypeDescriptor<?> type) |
convert
protected java.lang.reflect.Type convertArray(TypeDescriptor<?> type)
convertArray
in class ByteBuddyUtils.TypeConversion<java.lang.reflect.Type>
protected java.lang.reflect.Type convertCollection(TypeDescriptor<?> type)
convertCollection
in class ByteBuddyUtils.TypeConversion<java.lang.reflect.Type>
protected java.lang.reflect.Type convertList(TypeDescriptor<?> type)
convertList
in class ByteBuddyUtils.TypeConversion<java.lang.reflect.Type>
protected java.lang.reflect.Type convertIterable(TypeDescriptor<?> type)
convertIterable
in class ByteBuddyUtils.TypeConversion<java.lang.reflect.Type>
protected java.lang.reflect.Type convertMap(TypeDescriptor<?> type)
convertMap
in class ByteBuddyUtils.TypeConversion<java.lang.reflect.Type>
protected java.lang.reflect.Type convertDateTime(TypeDescriptor<?> type)
convertDateTime
in class ByteBuddyUtils.TypeConversion<java.lang.reflect.Type>
protected java.lang.reflect.Type convertByteBuffer(TypeDescriptor<?> type)
convertByteBuffer
in class ByteBuddyUtils.TypeConversion<java.lang.reflect.Type>
protected java.lang.reflect.Type convertCharSequence(TypeDescriptor<?> type)
convertCharSequence
in class ByteBuddyUtils.TypeConversion<java.lang.reflect.Type>
protected java.lang.reflect.Type convertPrimitive(TypeDescriptor<?> type)
convertPrimitive
in class ByteBuddyUtils.TypeConversion<java.lang.reflect.Type>
protected java.lang.reflect.Type convertEnum(TypeDescriptor<?> type)
convertEnum
in class ByteBuddyUtils.TypeConversion<java.lang.reflect.Type>
protected java.lang.reflect.Type convertDefault(TypeDescriptor<?> type)
convertDefault
in class ByteBuddyUtils.TypeConversion<java.lang.reflect.Type>