Package org.codehaus.groovy.vmplugin.v8
Class TypeTransformers
- java.lang.Object
- 
- org.codehaus.groovy.vmplugin.v8.TypeTransformers
 
- 
 public class TypeTransformers extends Object This class contains several transformers for used during method invocation.
- 
- 
Constructor SummaryConstructors Constructor Description TypeTransformers()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description protected static MethodHandleaddTransformer(MethodHandle handle, int pos, Object arg, Class<?> parameter)Adds a type transformer applied at runtime.static MethodHandleapplyUnsharpFilter(MethodHandle handle, int pos, MethodHandle transformer)Apply a transformer as filter.
 
- 
- 
- 
Method Detail- 
addTransformerprotected 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
 - 
applyUnsharpFilterpublic 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 byMethodHandle.asType(MethodType)
 
- 
 
-