Record Class CodeGenerationUtil.PrimitiveWrapperConverter

java.lang.Object
java.lang.Record
eu.cloudnetservice.utils.base.CodeGenerationUtil.PrimitiveWrapperConverter
Record Components:
wrapperType - the descriptor of the wrapper type.
primitiveType - the descriptor of the primitive type.
toWrapperMethod - the method to call to convert from primitive to wrapper on the wrapper type.
fromWrapperMethod - the method to call to convert from the wrapper to the primitive type.
toWrapperDesc - the descriptor of the method used to box the primitive.
fromWrapperDesc - the descriptor of the method used to unbox the primitive.
Enclosing class:
CodeGenerationUtil

private static record CodeGenerationUtil.PrimitiveWrapperConverter(@NonNull ClassDesc wrapperType, @NonNull ClassDesc primitiveType, @NonNull String toWrapperMethod, @NonNull String fromWrapperMethod, @NonNull MethodTypeDesc toWrapperDesc, @NonNull MethodTypeDesc fromWrapperDesc) extends Record
Holds all information required to generate code to box or unbox a primitive type.
Since:
4.0