Package tools.refinery.language.naming
Class NamingUtil
java.lang.Object
tools.refinery.language.naming.NamingUtil
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.xtext.naming.QualifiedName
addRootPrefix
(org.eclipse.xtext.naming.QualifiedName name) static boolean
isFullyQualified
(org.eclipse.xtext.naming.QualifiedName name) static boolean
isNullOrEmpty
(String name) static boolean
static boolean
isSimpleId
(String name) static boolean
static boolean
static org.eclipse.xtext.naming.QualifiedName
stripRootPrefix
(org.eclipse.xtext.naming.QualifiedName name)
-
Field Details
-
ROOT_NAME
public static final org.eclipse.xtext.naming.QualifiedName ROOT_NAME -
ID_REGEX_STRING
- See Also:
-
QUOTED_ID_REGEX_STRING
- See Also:
-
IDENTIFIER_REGEX_STRING
- See Also:
-
-
Method Details
-
isNullOrEmpty
-
isSingletonVariableName
-
isValidId
-
isSimpleId
-
isFullyQualified
public static boolean isFullyQualified(org.eclipse.xtext.naming.QualifiedName name) -
stripRootPrefix
public static org.eclipse.xtext.naming.QualifiedName stripRootPrefix(org.eclipse.xtext.naming.QualifiedName name) -
addRootPrefix
public static org.eclipse.xtext.naming.QualifiedName addRootPrefix(org.eclipse.xtext.naming.QualifiedName name) -
isQuoted
-