Class CrySLReaderUtils


  • public class CrySLReaderUtils
    extends Object
    • Constructor Detail

      • CrySLReaderUtils

        public CrySLReaderUtils()
    • Method Detail

      • resolveEventToCryslMethods

        public static Collection<CrySLMethod> resolveEventToCryslMethods​(de.darmstadt.tu.crossing.crySL.Event event)
      • resolveEventToPredicateParameters

        public static List<ICrySLPredicateParameter> resolveEventToPredicateParameters​(de.darmstadt.tu.crossing.crySL.Event event)
      • resolveEventsToCryslMethods

        public static Collection<CrySLMethod> resolveEventsToCryslMethods​(Collection<de.darmstadt.tu.crossing.crySL.Event> events)
      • resolveEventsToCryslMethodsStream

        public static Stream<CrySLMethod> resolveEventsToCryslMethodsStream​(Collection<de.darmstadt.tu.crossing.crySL.Event> events)
      • resolveEventToCryslMethodsStream

        public static Stream<CrySLMethod> resolveEventToCryslMethodsStream​(de.darmstadt.tu.crossing.crySL.Event event)
      • resolveEventToCryslMethodsStream

        protected static Stream<CrySLMethod> resolveEventToCryslMethodsStream​(de.darmstadt.tu.crossing.crySL.Aggregate aggregate)
      • resolveEventToCryslMethodsStream

        protected static Stream<CrySLMethod> resolveEventToCryslMethodsStream​(de.darmstadt.tu.crossing.crySL.LabeledMethodCall event)
      • toCrySLMethod

        public static CrySLMethod toCrySLMethod​(de.darmstadt.tu.crossing.crySL.ForbiddenMethod method)
      • toCrySLMethod

        public static CrySLMethod toCrySLMethod​(de.darmstadt.tu.crossing.crySL.Method method)
      • toCrySLObject

        public static CrySLObject toCrySLObject​(de.darmstadt.tu.crossing.crySL.Object object)
      • toCrySLObject

        public static CrySLObject toCrySLObject​(de.darmstadt.tu.crossing.crySL.Literal literal)
      • resolveExceptions

        public static Collection<CrySLException> resolveExceptions​(de.darmstadt.tu.crossing.crySL.Exception exception)
      • resolveExceptionsStream

        public static Stream<CrySLException> resolveExceptionsStream​(de.darmstadt.tu.crossing.crySL.Exception exception)
      • resolveExceptionsStream

        protected static Stream<CrySLException> resolveExceptionsStream​(de.darmstadt.tu.crossing.crySL.ExceptionAggregate exception)
      • resolveExceptionsStream

        protected static Stream<CrySLException> resolveExceptionsStream​(de.darmstadt.tu.crossing.crySL.ExceptionDeclaration exception)
      • toCrySLException

        public static CrySLException toCrySLException​(de.darmstadt.tu.crossing.crySL.ExceptionDeclaration exception)
      • resolveObject

        public static Map.Entry<String,​String> resolveObject​(de.darmstadt.tu.crossing.crySL.Object o)
      • getResourceFromWithin

        public static File getResourceFromWithin​(String inputPath)
      • isArithmeticExpression

        public static boolean isArithmeticExpression​(de.darmstadt.tu.crossing.crySL.Constraint constraint)
      • isLogicExpression

        public static boolean isLogicExpression​(de.darmstadt.tu.crossing.crySL.Constraint constraint)
      • isComparisonExpression

        public static boolean isComparisonExpression​(de.darmstadt.tu.crossing.crySL.Constraint constraint)