1 33 34 package edu.rice.cs.drjava.model.repl; 35 36 import java.net.URL ; 37 38 41 public interface JavaInterpreter extends Interpreter { 42 43 46 public void addProjectClassPath(URL path); 48 public void addBuildDirectoryClassPath(URL path); 49 public void addProjectFilesClassPath(URL path); 50 public void addExternalFilesClassPath(URL path); 51 public void addExtraClassPath(URL path); 52 53 56 public void setPackageScope(String packageName); 57 58 62 public Object getVariable(String name); 63 64 68 public Class getVariableClass(String name); 69 70 74 public void defineVariable(String name, Object value); 75 76 80 public void defineVariable(String name, boolean value); 81 82 86 public void defineVariable(String name, byte value); 87 88 92 public void defineVariable(String name, char value); 93 94 98 public void defineVariable(String name, double value); 99 100 104 public void defineVariable(String name, float value); 105 106 107 111 public void defineVariable(String name, int value); 112 113 117 public void defineVariable(String name, long value); 118 119 123 public void defineVariable(String name, short value); 124 125 129 public void defineConstant(String name, Object value); 130 131 135 public void defineConstant(String name, boolean value); 136 137 141 public void defineConstant(String name, byte value); 142 143 147 public void defineConstant(String name, char value); 148 149 153 public void defineConstant(String name, double value); 154 155 159 public void defineConstant(String name, float value); 160 161 165 public void defineConstant(String name, int value); 166 167 171 public void defineConstant(String name, long value); 172 173 177 public void defineConstant(String name, short value); 178 179 182 public void setPrivateAccessible(boolean accessible); 183 184 185 public boolean getPrivateAccessible(); 186 } 187 | Popular Tags |