Class Utils
- java.lang.Object
-
- de.uni_hildesheim.sse.vil.expressions.translation.Utils
-
public class Utils extends java.lang.ObjectSome utility methods.- Author:
- Holger Eichelberger
-
-
Constructor Summary
Constructors Modifier Constructor Description privateUtils()Prevents creation from outside.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetQualifiedNameString(de.uni_hildesheim.sse.vil.expressions.expressionDsl.QualifiedName name)Returns a string representing a qualified name.static java.lang.StringgetQualifiedNameString(de.uni_hildesheim.sse.vil.expressions.expressionDsl.QualifiedPrefix name)Returns a string representing a qualified name.static booleanisEmpty(de.uni_hildesheim.sse.vil.expressions.expressionDsl.QualifiedPrefix name)Returns whether the given qualified name is empty.
-
-
-
Method Detail
-
getQualifiedNameString
public static java.lang.String getQualifiedNameString(de.uni_hildesheim.sse.vil.expressions.expressionDsl.QualifiedPrefix name)
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
public static boolean isEmpty(de.uni_hildesheim.sse.vil.expressions.expressionDsl.QualifiedPrefix name)
Returns whether the given qualified name is empty.- Parameters:
name- the name to be checked- Returns:
trueif it is empty,falseelse
-
getQualifiedNameString
public static java.lang.String getQualifiedNameString(de.uni_hildesheim.sse.vil.expressions.expressionDsl.QualifiedName name)
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
-
-