Class Utils
java.lang.Object
de.uni_hildesheim.sse.vil.expressions.translation.Utils
Some utility methods.
- Author:
- Holger Eichelberger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns a string representing a qualified name.static StringReturns a string representing a qualified name.static booleanisEmpty(QualifiedPrefix name) Returns whether the given qualified name is empty.
-
Constructor Details
-
Utils
private Utils()Prevents creation from outside.
-
-
Method Details
-
getQualifiedNameString
Returns a string representing a qualified name. (May change in future to structured qualified names.)- Parameters:
name- the qualified name- Returns:
- the corresponding string representation
-
isEmpty
Returns whether the given qualified name is empty.- Parameters:
name- the name to be checked- Returns:
trueif it is empty,falseelse
-
getQualifiedNameString
Returns a string representing a qualified name. (May change in future to structured qualified names.)- Parameters:
name- the qualified name- Returns:
- the corresponding string representation
-