@Test public void evaluateLiteralExpression() { assertNull(expressionEvaluatorLocal.evaluateLiteralExpression(null, String.class.getCanonicalName(), null)); assertNull(expressionEvaluatorLocal.evaluateLiteralExpression(null, List.class.getCanonicalName(), null)); assertNull(expressionEvaluatorLocal.evaluateLiteralExpression(null, Map.class.getCanonicalName(), null)); }
@Override public Object evaluateLiteralExpression(String rawExpression, String className, List<String> genericClasses) { if (isStructuredInput(className)) { return convertResult(rawExpression, className, genericClasses); } else { return internalLiteralEvaluation(rawExpression, className); } }
AbstractExpressionEvaluator implements ExpressionEvaluator { @Override public Object evaluateLiteralExpression(String rawExpression, String className, List<String> genericClasses) { if (isStructuredInput(className)) { return convertResult(rawExpression, className, genericClasses); } else { return internalLiteralEvaluation(rawExpression, className); } } }
AbstractExpressionEvaluator implements ExpressionEvaluator { @Override public Object evaluateLiteralExpression(String rawExpression, String className, List<String> genericClasses) { if (isStructuredInput(className)) { return convertResult(rawExpression, className, genericClasses); } else { return internalLiteralEvaluation(rawExpression, className); } }  }
AbstractExpressionEvaluator implements ExpressionEvaluator { @Override public Object evaluateLiteralExpression(String rawExpression, String className, List<String> genericClasses) { if (isStructuredInput(className)) { return convertResult(rawExpression, className, genericClasses); } else { return internalLiteralEvaluation(rawExpression, className); } }  @Override Object evaluateLiteralExpression(String rawExpression, String className, List<String> genericClasses); @Override boolean evaluateUnaryExpression(String rawExpression, Object resultValue, Class<?> resultClass); }
AbstractExpressionEvaluator implements ExpressionEvaluator { @Override public Object evaluateLiteralExpression(String rawExpression, String className, List<String> genericClasses) { if (isStructuredInput(className)) { return convertResult(rawExpression, className, genericClasses); } else { return internalLiteralEvaluation(rawExpression, className); } }  @Override Object evaluateLiteralExpression(String rawExpression, String className, List<String> genericClasses); @Override boolean evaluateUnaryExpression(String rawExpression, Object resultValue, Class<?> resultClass);  }