java.lang.Object
de.uni_hildesheim.sse.vil.expressions.translation.Utils

public class Utils extends Object
Some utility methods.
Author:
Holger Eichelberger
  • Constructor Details

    • Utils

      private Utils()
      Prevents creation from outside.
  • Method Details

    • getQualifiedNameString

      public static String getQualifiedNameString(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(QualifiedPrefix name)
      Returns whether the given qualified name is empty.
      Parameters:
      name - the name to be checked
      Returns:
      true if it is empty, false else
    • getQualifiedNameString

      public static String getQualifiedNameString(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