1 11 package org.eclipse.jdt.core.eval; 12 13 import org.eclipse.core.resources.IMarker; 14 import org.eclipse.jdt.internal.eval.EvaluationConstants; 15 16 28 public interface ICodeSnippetRequestor { 29 30 34 public static final String LOCAL_VAR_PREFIX = new String (EvaluationConstants.LOCAL_VAR_PREFIX); 35 36 40 public static final String DELEGATE_THIS = new String (EvaluationConstants.DELEGATE_THIS); 41 42 46 public static final String RUN_METHOD = EvaluationConstants.RUN_METHOD; 47 48 52 public static final String RESULT_VALUE_FIELD = EvaluationConstants.RESULT_VALUE_FIELD; 53 54 59 public static final String RESULT_TYPE_FIELD = EvaluationConstants.RESULT_TYPE_FIELD; 60 61 64 65 76 public static final int VARIABLE = 1; 77 78 83 public static final int CODE_SNIPPET = 2; 84 85 90 public static final int IMPORT = 3; 91 92 97 public static final int PACKAGE = 4; 98 99 104 public static final int INTERNAL = 5; 105 149 public boolean acceptClassFiles(byte[][] classFileBytes, String [][] classFileCompoundNames, String codeSnippetClassName); 150 172 public void acceptProblem(IMarker problemMarker, String fragmentSource, int fragmentKind); 173 } 174 | Popular Tags |