| Modifier and Type | Field and Description |
|---|---|
| private static final MethodHandle | |
| private static final MethodHandle | |
| private static final MethodHandle | |
| private static final MethodHandle | |
| private static final MethodHandle | |
| private static final MethodHandles. | |
| private static final MethodHandle | |
| private static final MethodHandle | |
| private static final MethodHandle | |
| private static final MethodHandle | |
| private static final MethodHandle | |
| private static final MethodHandle | |
| private static final MethodHandle | |
| private static final MethodHandle | |
| private static final MethodHandle | |
| private static final MethodHandle | |
| private static final MethodHandle |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected static MethodHandle | addTransformer(MethodHandle handle, int pos, Object arg, Class<?> parameter)
Adds a type transformer applied at runtime. |
| public static MethodHandle | applyUnsharpFilter(MethodHandle handle, int pos, MethodHandle transformer)
Apply a transformer as filter. |
| private static MethodHandle | createSAMTransform(Object arg, Class<?> parameter)
creates a method handle able to transform the given Closure into a SAM type if the given parameter is a SAM type |
| private static MethodHandle | selectNumberTransformer(Class<?> param, Object arg)
returns a transformer later applied as filter to transform one number into another |
| AS_ARRAY | back to summary |
|---|---|
| private static final MethodHandle AS_ARRAY | |
| BIG_INT_TO_BIG_DEC | back to summary |
|---|---|
| private static final MethodHandle BIG_INT_TO_BIG_DEC | |
| DOUBLE_TO_BIG_DEC | back to summary |
|---|---|
| private static final MethodHandle DOUBLE_TO_BIG_DEC | |
| DOUBLE_TO_BIG_DEC_WITH_CONVERSION | back to summary |
|---|---|
| private static final MethodHandle DOUBLE_TO_BIG_DEC_WITH_CONVERSION | |
| LONG_TO_BIG_DEC | back to summary |
|---|---|
| private static final MethodHandle LONG_TO_BIG_DEC | |
| LOOKUP | back to summary |
|---|---|
| private static final MethodHandles. | |
| TO_BIG_INT | back to summary |
|---|---|
| private static final MethodHandle TO_BIG_INT | |
| TO_BYTE | back to summary |
|---|---|
| private static final MethodHandle TO_BYTE | |
| TO_DOUBLE | back to summary |
|---|---|
| private static final MethodHandle TO_DOUBLE | |
| TO_FLOAT | back to summary |
|---|---|
| private static final MethodHandle TO_FLOAT | |
| TO_GENERATED_PROXY | back to summary |
|---|---|
| private static final MethodHandle TO_GENERATED_PROXY | |
| TO_INT | back to summary |
|---|---|
| private static final MethodHandle TO_INT | |
| TO_LONG | back to summary |
|---|---|
| private static final MethodHandle TO_LONG | |
| TO_REFLECTIVE_PROXY | back to summary |
|---|---|
| private static final MethodHandle TO_REFLECTIVE_PROXY | |
| TO_SAMTRAIT_PROXY | back to summary |
|---|---|
| private static final MethodHandle TO_SAMTRAIT_PROXY | |
| TO_SHORT | back to summary |
|---|---|
| private static final MethodHandle TO_SHORT | |
| TO_STRING | back to summary |
|---|---|
| private static final MethodHandle TO_STRING | |
| TypeTransformers | back to summary |
|---|---|
| public TypeTransformers() | |
| addTransformer | back to summary |
|---|---|
| protected static MethodHandle addTransformer(MethodHandle handle, int pos, Object arg, Class<?> parameter) Adds a type transformer applied at runtime. This method handles transformations to String from GString, array transformations and number based transformations | |
| applyUnsharpFilter | back to summary |
|---|---|
| public static MethodHandle applyUnsharpFilter(MethodHandle handle, int pos, MethodHandle transformer) Apply a transformer as filter.
The filter may not match exactly in the types. In this case needed
additional type transformations are done by | |
| createSAMTransform | back to summary |
|---|---|
| private static MethodHandle createSAMTransform(Object arg, Class<?> parameter) creates a method handle able to transform the given Closure into a SAM type if the given parameter is a SAM type | |
| selectNumberTransformer | back to summary |
|---|---|
| private static MethodHandle selectNumberTransformer(Class<?> param, Object arg) returns a transformer later applied as filter to transform one number into another | |