@Test public void evaluateUnaryExpression() { assertTrue(expressionEvaluatorLocal.evaluateUnaryExpression(null, null, String.class)); assertTrue(expressionEvaluatorLocal.evaluateUnaryExpression(null, null, Map.class)); assertTrue(expressionEvaluatorLocal.evaluateUnaryExpression(null, null, List.class)); }
@Override public boolean evaluateUnaryExpression(String rawExpression, Object resultValue, Class<?> resultClass) { if (isStructuredResult(resultClass)) { return verifyResult(rawExpression, resultValue, resultClass); } else { return internalUnaryEvaluation(rawExpression, resultValue, resultClass, false); } }
AbstractExpressionEvaluator implements ExpressionEvaluator { @Override public boolean evaluateUnaryExpression(String rawExpression, Object resultValue, Class<?> resultClass) { if (isStructuredResult(resultClass)) { return verifyResult(rawExpression, resultValue, resultClass); } else { return internalUnaryEvaluation(rawExpression, resultValue, resultClass, false); } } }
AbstractExpressionEvaluator implements ExpressionEvaluator { @Override public boolean evaluateUnaryExpression(String rawExpression, Object resultValue, Class<?> resultClass) { if (isStructuredResult(resultClass)) { return verifyResult(rawExpression, resultValue, resultClass); } else { return internalUnaryEvaluation(rawExpression, resultValue, resultClass, false); } }  }
AbstractExpressionEvaluator implements ExpressionEvaluator { @Override public boolean evaluateUnaryExpression(String rawExpression, Object resultValue, Class<?> resultClass) { if (isStructuredResult(resultClass)) { return verifyResult(rawExpression, resultValue, resultClass); } else { return internalUnaryEvaluation(rawExpression, resultValue, resultClass, false); } }  @Override Object evaluateLiteralExpression(String rawExpression, String className, List<String> genericClasses); @Override boolean evaluateUnaryExpression(String rawExpression, Object resultValue, Class<?> resultClass); }
AbstractExpressionEvaluator implements ExpressionEvaluator { @Override public boolean evaluateUnaryExpression(String rawExpression, Object resultValue, Class<?> resultClass) { if (isStructuredResult(resultClass)) { return verifyResult(rawExpression, resultValue, resultClass); } else { return internalUnaryEvaluation(rawExpression, resultValue, resultClass, false); } }  @Override Object evaluateLiteralExpression(String rawExpression, String className, List<String> genericClasses); @Override boolean evaluateUnaryExpression(String rawExpression, Object resultValue, Class<?> resultClass);  }