org.eclipse.xtend.backend.functions.java.internal
Class ParameterConverter

java.lang.Object
  extended by org.eclipse.xtend.backend.functions.java.internal.ParameterConverter

public final class ParameterConverter
extends java.lang.Object

This class serves as an abstraction to convert between the internal, canonical representation of the instances of a type, and a variation thereof needed by a specific operation (specifically, a Java implementation).

Examples of this are the List <--> Array conversion, int <--> long, float <--> double or CharSequence <--> String.

Author:
Arno Haase (http://www.haase-consulting.com)

Constructor Summary
ParameterConverter(int index, JavaBuiltinConverter inner)
           
 
Method Summary
 void convert(java.lang.Object[] params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterConverter

public ParameterConverter(int index,
                          JavaBuiltinConverter inner)
Method Detail

convert

public void convert(java.lang.Object[] params)