public static class ByteBuddyUtils.ConvertValueForGetter extends ByteBuddyUtils.TypeConversion<net.bytebuddy.implementation.bytecode.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 net.bytebuddy.implementation.bytecode.StackManipulation |
readValue |
Modifier | Constructor and Description |
---|---|
protected |
ConvertValueForGetter(net.bytebuddy.implementation.bytecode.StackManipulation readValue) |
Modifier and Type | Method and Description |
---|---|
protected net.bytebuddy.implementation.bytecode.StackManipulation |
convertArray(TypeDescriptor<?> type) |
protected net.bytebuddy.implementation.bytecode.StackManipulation |
convertByteBuffer(TypeDescriptor<?> type) |
protected net.bytebuddy.implementation.bytecode.StackManipulation |
convertCharSequence(TypeDescriptor<?> type) |
protected net.bytebuddy.implementation.bytecode.StackManipulation |
convertCollection(TypeDescriptor<?> type) |
protected net.bytebuddy.implementation.bytecode.StackManipulation |
convertDateTime(TypeDescriptor<?> type) |
protected net.bytebuddy.implementation.bytecode.StackManipulation |
convertDefault(TypeDescriptor<?> type) |
protected net.bytebuddy.implementation.bytecode.StackManipulation |
convertEnum(TypeDescriptor<?> type) |
protected net.bytebuddy.implementation.bytecode.StackManipulation |
convertIterable(TypeDescriptor<?> type) |
protected net.bytebuddy.implementation.bytecode.StackManipulation |
convertList(TypeDescriptor<?> type) |
protected net.bytebuddy.implementation.bytecode.StackManipulation |
convertMap(TypeDescriptor<?> type) |
protected net.bytebuddy.implementation.bytecode.StackManipulation |
convertPrimitive(TypeDescriptor<?> type) |
protected ByteBuddyUtils.TypeConversionsFactory |
getFactory() |
convert, shortCircuitReturnNull
protected final net.bytebuddy.implementation.bytecode.StackManipulation readValue
protected ConvertValueForGetter(net.bytebuddy.implementation.bytecode.StackManipulation readValue)
protected ByteBuddyUtils.TypeConversionsFactory getFactory()
protected net.bytebuddy.implementation.bytecode.StackManipulation convertArray(TypeDescriptor<?> type)
convertArray
in class ByteBuddyUtils.TypeConversion<net.bytebuddy.implementation.bytecode.StackManipulation>
protected net.bytebuddy.implementation.bytecode.StackManipulation convertIterable(TypeDescriptor<?> type)
convertIterable
in class ByteBuddyUtils.TypeConversion<net.bytebuddy.implementation.bytecode.StackManipulation>
protected net.bytebuddy.implementation.bytecode.StackManipulation convertCollection(TypeDescriptor<?> type)
convertCollection
in class ByteBuddyUtils.TypeConversion<net.bytebuddy.implementation.bytecode.StackManipulation>
protected net.bytebuddy.implementation.bytecode.StackManipulation convertList(TypeDescriptor<?> type)
convertList
in class ByteBuddyUtils.TypeConversion<net.bytebuddy.implementation.bytecode.StackManipulation>
protected net.bytebuddy.implementation.bytecode.StackManipulation convertMap(TypeDescriptor<?> type)
convertMap
in class ByteBuddyUtils.TypeConversion<net.bytebuddy.implementation.bytecode.StackManipulation>
protected net.bytebuddy.implementation.bytecode.StackManipulation convertDateTime(TypeDescriptor<?> type)
convertDateTime
in class ByteBuddyUtils.TypeConversion<net.bytebuddy.implementation.bytecode.StackManipulation>
protected net.bytebuddy.implementation.bytecode.StackManipulation convertByteBuffer(TypeDescriptor<?> type)
convertByteBuffer
in class ByteBuddyUtils.TypeConversion<net.bytebuddy.implementation.bytecode.StackManipulation>
protected net.bytebuddy.implementation.bytecode.StackManipulation convertCharSequence(TypeDescriptor<?> type)
convertCharSequence
in class ByteBuddyUtils.TypeConversion<net.bytebuddy.implementation.bytecode.StackManipulation>
protected net.bytebuddy.implementation.bytecode.StackManipulation convertPrimitive(TypeDescriptor<?> type)
convertPrimitive
in class ByteBuddyUtils.TypeConversion<net.bytebuddy.implementation.bytecode.StackManipulation>
protected net.bytebuddy.implementation.bytecode.StackManipulation convertEnum(TypeDescriptor<?> type)
convertEnum
in class ByteBuddyUtils.TypeConversion<net.bytebuddy.implementation.bytecode.StackManipulation>
protected net.bytebuddy.implementation.bytecode.StackManipulation convertDefault(TypeDescriptor<?> type)
convertDefault
in class ByteBuddyUtils.TypeConversion<net.bytebuddy.implementation.bytecode.StackManipulation>