org.eclipse.xtext.generator.grammarAccess
Class GrammarAccessUtil
java.lang.Object
org.eclipse.xtext.generator.grammarAccess.GrammarAccessUtil
public class GrammarAccessUtil
- extends java.lang.Object
- Author:
- Moritz Eysholdt
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GrammarAccessUtil
public GrammarAccessUtil()
getClassName
public static java.lang.String getClassName(org.eclipse.emf.ecore.EObject obj)
serialize
public static java.lang.String serialize(org.eclipse.emf.ecore.EObject obj,
java.lang.String prefix)
getGrammarAccessFQName
public static java.lang.String getGrammarAccessFQName(Grammar grammar,
Naming naming)
getUniqueElementName
public static java.lang.String getUniqueElementName(AbstractElement ele)
isValidJavaLatinIdentifier
public static boolean isValidJavaLatinIdentifier(boolean start,
char c)
toJavaIdentifier
public static java.lang.String toJavaIdentifier(java.lang.String text,
java.lang.Boolean uppercaseFirst)