Package org.eclipse.viatra.query.patternlanguage.emf.specification

## Class JvmConstantEvaluator

- java.lang.Object
- - org.eclipse.viatra.query.patternlanguage.emf.specification.JvmConstantEvaluator

-     public class JvmConstantEvaluator
      extends java.lang.Object

  Evaluates an Jvm Constant, based on XbaseInterpreter#featureCall.
  Since:
    2.7

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `JvmConstantEvaluator​(org.eclipse.xtext.common.types.JvmField field, Pattern pattern)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.Object` | `evaluateConstantExpression()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JvmConstantEvaluator

          public JvmConstantEvaluator​(org.eclipse.xtext.common.types.JvmField field,
                                      Pattern pattern)

      Parameters:
        `xExpression` - the expression to evaluate
        `pattern` -
      Since:
        2.0

  - ### Method Detail

    - #### evaluateConstantExpression

          public java.lang.Object evaluateConstantExpression()