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

java.lang.Object
  extended by org.eclipse.xtend.backend.functions.java.internal.EfficientLazyStringConverter
All Implemented Interfaces:
JavaBuiltinConverter

public final class EfficientLazyStringConverter
extends java.lang.Object
implements JavaBuiltinConverter

This class is provided to allow Java methods to deal with EfficientLazyString without the performance penalty of conversion to String and without forcing them to deal with conversion and special cases.

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

Constructor Summary
EfficientLazyStringConverter()
           
 
Method Summary
 java.lang.Object backendToJava(java.lang.Object o)
           
 java.lang.Object javaToBackend(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EfficientLazyStringConverter

public EfficientLazyStringConverter()
Method Detail

backendToJava

public java.lang.Object backendToJava(java.lang.Object o)
Specified by:
backendToJava in interface JavaBuiltinConverter

javaToBackend

public java.lang.Object javaToBackend(java.lang.Object o)
Specified by:
javaToBackend in interface JavaBuiltinConverter