Class InvocationExpressions

java.lang.Object
com.dassault_systemes.modeler.kerml.model.InvocationExpressions

@OpenApiAll public class InvocationExpressions extends Object
Utility class to work with InvocationExpression
  • Constructor Details

    • InvocationExpressions

      public InvocationExpressions()
  • Method Details

    • createInvocationExpression

      public static InvocationExpression createInvocationExpression(Type instantiatedType, int numberOfInputParameters)
      Creates an InvocationExpression with a specified number of input parameters.
      Parameters:
      instantiatedType - instantiated type
      numberOfInputParameters - number of input parameters to create
      Returns:
      created expression
    • createInvocationExpression

      public static InvocationExpression createInvocationExpression(Type instantiatedType, @CheckForNull Type resultType, Object... inputParameterValues)
      Creates an InvocationExpression with a specified arguments an optional result type.
      Parameters:
      instantiatedType - instantiated type
      resultType - expression result type
      inputParameterValues - values of arguments
      Returns:
      created expression