public static class ByteBuddyUtils.ConvertValueForGetter extends ByteBuddyUtils.TypeConversion<StackManipulation>
StackManipulation
that returns a value. Prepares this value to be returned by a
getter. Row
needs getters to return specific types, but we
allow user objects to contain different but equivalent types. Therefore we must convert some of
these types before returning. These conversions correspond to the ones defined in ByteBuddyUtils.ConvertType
. This class generates the code to do these conversion.Modifier and Type | Field and Description |
---|---|
protected StackManipulation |
readValue |
Modifier | Constructor and Description |
---|---|
protected |
ConvertValueForGetter(StackManipulation readValue) |
Modifier and Type | Method and Description |
---|---|
protected StackManipulation |
convertArray(TypeDescriptor<?> type) |
protected StackManipulation |
convertByteBuffer(TypeDescriptor<?> type) |
protected StackManipulation |
convertCharSequence(TypeDescriptor<?> type) |
protected StackManipulation |
convertCollection(TypeDescriptor<?> type) |
protected StackManipulation |
convertDateTime(TypeDescriptor<?> type) |
protected StackManipulation |
convertDefault(TypeDescriptor<?> type) |
protected StackManipulation |
convertEnum(TypeDescriptor<?> type) |
protected StackManipulation |
convertIterable(TypeDescriptor<?> type) |
protected StackManipulation |
convertList(TypeDescriptor<?> type) |
protected StackManipulation |
convertMap(TypeDescriptor<?> type) |
protected StackManipulation |
convertPrimitive(TypeDescriptor<?> type) |
protected ByteBuddyUtils.TypeConversionsFactory |
getFactory() |
convert, shortCircuitReturnNull
protected final StackManipulation readValue
protected ConvertValueForGetter(StackManipulation readValue)
protected ByteBuddyUtils.TypeConversionsFactory getFactory()
protected StackManipulation convertArray(TypeDescriptor<?> type)
convertArray
in class ByteBuddyUtils.TypeConversion<StackManipulation>
protected StackManipulation convertIterable(TypeDescriptor<?> type)
convertIterable
in class ByteBuddyUtils.TypeConversion<StackManipulation>
protected StackManipulation convertCollection(TypeDescriptor<?> type)
convertCollection
in class ByteBuddyUtils.TypeConversion<StackManipulation>
protected StackManipulation convertList(TypeDescriptor<?> type)
convertList
in class ByteBuddyUtils.TypeConversion<StackManipulation>
protected StackManipulation convertMap(TypeDescriptor<?> type)
convertMap
in class ByteBuddyUtils.TypeConversion<StackManipulation>
protected StackManipulation convertDateTime(TypeDescriptor<?> type)
convertDateTime
in class ByteBuddyUtils.TypeConversion<StackManipulation>
protected StackManipulation convertByteBuffer(TypeDescriptor<?> type)
convertByteBuffer
in class ByteBuddyUtils.TypeConversion<StackManipulation>
protected StackManipulation convertCharSequence(TypeDescriptor<?> type)
convertCharSequence
in class ByteBuddyUtils.TypeConversion<StackManipulation>
protected StackManipulation convertPrimitive(TypeDescriptor<?> type)
convertPrimitive
in class ByteBuddyUtils.TypeConversion<StackManipulation>
protected StackManipulation convertEnum(TypeDescriptor<?> type)
convertEnum
in class ByteBuddyUtils.TypeConversion<StackManipulation>
protected StackManipulation convertDefault(TypeDescriptor<?> type)
convertDefault
in class ByteBuddyUtils.TypeConversion<StackManipulation>