org.eclipse.xtend.backend.common
Class Helpers
java.lang.Object
org.eclipse.xtend.backend.common.Helpers
public class Helpers
- extends java.lang.Object
This class contains commonly used helper operations.
- Author:
- Arno Haase (http://www.haase-consulting.com), André Arnold
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TO_STRING_METHOD_NAME
public static QualifiedName TO_STRING_METHOD_NAME
EQUALS_NAME
public static QualifiedName EQUALS_NAME
Helpers
public Helpers()
overridableToString
public static java.lang.CharSequence overridableToString(ExecutionContext ctx,
java.lang.Object o)
- This method is public static so as to be available as a helper method for all code that needs to call "toString".
It calls "toString" on an object, taking into account all potential overriding extensions.
nullSafeEquals
public static boolean nullSafeEquals(ExecutionContext ctx,
java.lang.Object o1,
java.lang.Object o2)