public class CodeSnippetEvaluator extends Evaluator implements EvaluationConstants
CODE_SNIPPET_CLASS_NAME_PREFIX, CODE_SNIPPET_NAME, DELEGATE_THIS, GLOBAL_VARS_CLASS_NAME_PREFIX, LOCAL_VAR_PREFIX, PACKAGE_NAME, RESULT_TYPE_FIELD, RESULT_VALUE_FIELD, ROOT_CLASS_NAME, ROOT_COMPOUND_NAME, ROOT_FULL_CLASS_NAME, RUN_METHOD, SETRESULT_ARGUMENTS, SETRESULT_SELECTOR| Modifier and Type | Method and Description |
|---|---|
protected void |
addEvaluationResultForCompilationProblem(java.util.Map<char[],EvaluationResult> resultsByIDs,
CategorizedProblem problem,
char[] cuSource)
Adds the given problem to the corresponding evaluation result in the given table.
|
protected char[] |
getClassName()
Returns the name of the current class.
|
protected char[] |
getSource()
Builds and returns the source for the current compilation unit.
|
evaluationResultsForCompilationProblemsprotected void addEvaluationResultForCompilationProblem(java.util.Map<char[],EvaluationResult> resultsByIDs, CategorizedProblem problem, char[] cuSource)
EvaluatoraddEvaluationResultForCompilationProblem in class EvaluatorEvaluatorprotected char[] getClassName()
EvaluatorgetClassName in class EvaluatorEvaluator