test_class.declarator: INTERPRETER_SCRIPT =
            System.getProperty("os.name").startsWith("Windows") ?
                    "../bin/interpreter.cmd" :
                    "../bin/interpreter.sh"
test_class.modifier: private static final
test_class.original_string: private static final String INTERPRETER_SCRIPT =
            System.getProperty("os.name").startsWith("Windows") ?
                    "../bin/interpreter.cmd" :
                    "../bin/interpreter.sh";
test_class.type: String
test_class.var_name: INTERPRETER_SCRIPT
test_class.declarator: intpGroup
test_class.modifier: private
test_class.original_string: private InterpreterGroup intpGroup;
test_class.type: InterpreterGroup
test_class.var_name: intpGroup
test_class.declarator: env
test_class.modifier: private
test_class.original_string: private HashMap<String, String> env;
test_class.type: HashMap<String, String>
test_class.var_name: env
test_class.file: smart-zeppelin/zeppelin-interpreter/src/test/java/org/apache/zeppelin/interpreter/remote/RemoteInterpreterTest.java
test_class.identifier: RemoteInterpreterTest
test_case.body: @Test
    public void testEnvStringPattern() {
      assertFalse(RemoteInterpreter.isEnvString(null));
      assertFalse(RemoteInterpreter.isEnvString(""));
      assertFalse(RemoteInterpreter.isEnvString("abcDEF"));
      assertFalse(RemoteInterpreter.isEnvString("ABC-DEF"));
      assertTrue(RemoteInterpreter.isEnvString("ABCDEF"));
      assertTrue(RemoteInterpreter.isEnvString("ABC_DEF"));
      assertTrue(RemoteInterpreter.isEnvString("ABC_DEF123"));
    }
test_case.class_method_signature: RemoteInterpreterTest.testEnvStringPattern()
test_case.full_signature: @Test public void testEnvStringPattern()
test_case.identifier: testEnvStringPattern
test_case.invocations: assertFalse isEnvString assertFalse isEnvString assertFalse isEnvString assertFalse isEnvString assertTrue isEnvString assertTrue isEnvString assertTrue isEnvString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEnvStringPattern()
focal_class.declarator: logger = LoggerFactory.getLogger(RemoteInterpreter.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(RemoteInterpreter.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: remoteInterpreterProcessListener
focal_class.modifier: private final
focal_class.original_string: private final RemoteInterpreterProcessListener remoteInterpreterProcessListener;
focal_class.type: RemoteInterpreterProcessListener
focal_class.var_name: remoteInterpreterProcessListener
focal_class.declarator: applicationEventListener
focal_class.modifier: private final
focal_class.original_string: private final ApplicationEventListener applicationEventListener;
focal_class.type: ApplicationEventListener
focal_class.var_name: applicationEventListener
focal_class.declarator: gson = new Gson()
focal_class.modifier: private
focal_class.original_string: private Gson gson = new Gson();
focal_class.type: Gson
focal_class.var_name: gson
focal_class.declarator: interpreterRunner
focal_class.modifier: private
focal_class.original_string: private String interpreterRunner;
focal_class.type: String
focal_class.var_name: interpreterRunner
focal_class.declarator: interpreterPath
focal_class.modifier: private
focal_class.original_string: private String interpreterPath;
focal_class.type: String
focal_class.var_name: interpreterPath
focal_class.declarator: localRepoPath
focal_class.modifier: private
focal_class.original_string: private String localRepoPath;
focal_class.type: String
focal_class.var_name: localRepoPath
focal_class.declarator: className
focal_class.modifier: private
focal_class.original_string: private String className;
focal_class.type: String
focal_class.var_name: className
focal_class.declarator: sessionKey
focal_class.modifier: private
focal_class.original_string: private String sessionKey;
focal_class.type: String
focal_class.var_name: sessionKey
focal_class.declarator: formType
focal_class.modifier: private
focal_class.original_string: private FormType formType;
focal_class.type: FormType
focal_class.var_name: formType
focal_class.declarator: initialized
focal_class.modifier: private
focal_class.original_string: private boolean initialized;
focal_class.type: boolean
focal_class.var_name: initialized
focal_class.declarator: env
focal_class.modifier: private
focal_class.original_string: private Map<String, String> env;
focal_class.type: Map<String, String>
focal_class.var_name: env
focal_class.declarator: connectTimeout
focal_class.modifier: private
focal_class.original_string: private int connectTimeout;
focal_class.type: int
focal_class.var_name: connectTimeout
focal_class.declarator: maxPoolSize
focal_class.modifier: private
focal_class.original_string: private int maxPoolSize;
focal_class.type: int
focal_class.var_name: maxPoolSize
focal_class.declarator: host
focal_class.modifier: private
focal_class.original_string: private String host;
focal_class.type: String
focal_class.var_name: host
focal_class.declarator: port
focal_class.modifier: private
focal_class.original_string: private int port;
focal_class.type: int
focal_class.var_name: port
focal_class.declarator: userName
focal_class.modifier: private
focal_class.original_string: private String userName;
focal_class.type: String
focal_class.var_name: userName
focal_class.declarator: isUserImpersonate
focal_class.modifier: private
focal_class.original_string: private Boolean isUserImpersonate;
focal_class.type: Boolean
focal_class.var_name: isUserImpersonate
focal_class.declarator: outputLimit = Constants.ZEPPELIN_INTERPRETER_OUTPUT_LIMIT
focal_class.modifier: private
focal_class.original_string: private int outputLimit = Constants.ZEPPELIN_INTERPRETER_OUTPUT_LIMIT;
focal_class.type: int
focal_class.var_name: outputLimit
focal_class.file: smart-zeppelin/zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/remote/RemoteInterpreter.java
focal_class.identifier: RemoteInterpreter
focal_class.class_method_signature: RemoteInterpreter.RemoteInterpreter(Properties property, String sessionKey, String className,
        String interpreterRunner, String interpreterPath, String localRepoPath, int connectTimeout,
        int maxPoolSize, RemoteInterpreterProcessListener remoteInterpreterProcessListener,
        ApplicationEventListener appListener, String userName, Boolean isUserImpersonate,
        int outputLimit)
focal_class.full_signature: public  RemoteInterpreter(Properties property, String sessionKey, String className,
        String interpreterRunner, String interpreterPath, String localRepoPath, int connectTimeout,
        int maxPoolSize, RemoteInterpreterProcessListener remoteInterpreterProcessListener,
        ApplicationEventListener appListener, String userName, Boolean isUserImpersonate,
        int outputLimit)
focal_class.identifier: RemoteInterpreter
focal_class.modifiers: public
focal_class.parameters: (Properties property, String sessionKey, String className,
        String interpreterRunner, String interpreterPath, String localRepoPath, int connectTimeout,
        int maxPoolSize, RemoteInterpreterProcessListener remoteInterpreterProcessListener,
        ApplicationEventListener appListener, String userName, Boolean isUserImpersonate,
        int outputLimit)
focal_class.signature:  RemoteInterpreter(Properties property, String sessionKey, String className,
        String interpreterRunner, String interpreterPath, String localRepoPath, int connectTimeout,
        int maxPoolSize, RemoteInterpreterProcessListener remoteInterpreterProcessListener,
        ApplicationEventListener appListener, String userName, Boolean isUserImpersonate,
        int outputLimit)
focal_class.class_method_signature: RemoteInterpreter.RemoteInterpreter(Properties property, String sessionKey, String className, String host,
        int port, String localRepoPath, int connectTimeout, int maxPoolSize,
        RemoteInterpreterProcessListener remoteInterpreterProcessListener,
        ApplicationEventListener appListener, String userName, Boolean isUserImpersonate,
        int outputLimit)
focal_class.full_signature: public  RemoteInterpreter(Properties property, String sessionKey, String className, String host,
        int port, String localRepoPath, int connectTimeout, int maxPoolSize,
        RemoteInterpreterProcessListener remoteInterpreterProcessListener,
        ApplicationEventListener appListener, String userName, Boolean isUserImpersonate,
        int outputLimit)
focal_class.identifier: RemoteInterpreter
focal_class.modifiers: public
focal_class.parameters: (Properties property, String sessionKey, String className, String host,
        int port, String localRepoPath, int connectTimeout, int maxPoolSize,
        RemoteInterpreterProcessListener remoteInterpreterProcessListener,
        ApplicationEventListener appListener, String userName, Boolean isUserImpersonate,
        int outputLimit)
focal_class.signature:  RemoteInterpreter(Properties property, String sessionKey, String className, String host,
        int port, String localRepoPath, int connectTimeout, int maxPoolSize,
        RemoteInterpreterProcessListener remoteInterpreterProcessListener,
        ApplicationEventListener appListener, String userName, Boolean isUserImpersonate,
        int outputLimit)
focal_class.class_method_signature: RemoteInterpreter.RemoteInterpreter(Properties property, String sessionKey, String className,
        String interpreterRunner, String interpreterPath, String localRepoPath,
        Map<String, String> env, int connectTimeout,
        RemoteInterpreterProcessListener remoteInterpreterProcessListener,
        ApplicationEventListener appListener, String userName, Boolean isUserImpersonate)
focal_class.full_signature: public  RemoteInterpreter(Properties property, String sessionKey, String className,
        String interpreterRunner, String interpreterPath, String localRepoPath,
        Map<String, String> env, int connectTimeout,
        RemoteInterpreterProcessListener remoteInterpreterProcessListener,
        ApplicationEventListener appListener, String userName, Boolean isUserImpersonate)
focal_class.identifier: RemoteInterpreter
focal_class.modifiers: public
focal_class.parameters: (Properties property, String sessionKey, String className,
        String interpreterRunner, String interpreterPath, String localRepoPath,
        Map<String, String> env, int connectTimeout,
        RemoteInterpreterProcessListener remoteInterpreterProcessListener,
        ApplicationEventListener appListener, String userName, Boolean isUserImpersonate)
focal_class.signature:  RemoteInterpreter(Properties property, String sessionKey, String className,
        String interpreterRunner, String interpreterPath, String localRepoPath,
        Map<String, String> env, int connectTimeout,
        RemoteInterpreterProcessListener remoteInterpreterProcessListener,
        ApplicationEventListener appListener, String userName, Boolean isUserImpersonate)
focal_class.class_method_signature: RemoteInterpreter.getEnvFromInterpreterProperty(Properties property)
focal_class.full_signature: private Map<String, String> getEnvFromInterpreterProperty(Properties property)
focal_class.identifier: getEnvFromInterpreterProperty
focal_class.modifiers: private
focal_class.parameters: (Properties property)
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getEnvFromInterpreterProperty(Properties property)
focal_class.class_method_signature: RemoteInterpreter.isEnvString(String key)
focal_class.full_signature: static boolean isEnvString(String key)
focal_class.identifier: isEnvString
focal_class.modifiers: static
focal_class.parameters: (String key)
focal_class.return: boolean
focal_class.signature: boolean isEnvString(String key)
focal_class.class_method_signature: RemoteInterpreter.getClassName()
focal_class.full_signature: @Override public String getClassName()
focal_class.identifier: getClassName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getClassName()
focal_class.class_method_signature: RemoteInterpreter.connectToExistingProcess()
focal_class.full_signature: private boolean connectToExistingProcess()
focal_class.identifier: connectToExistingProcess
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean connectToExistingProcess()
focal_class.class_method_signature: RemoteInterpreter.getInterpreterProcess()
focal_class.full_signature: public RemoteInterpreterProcess getInterpreterProcess()
focal_class.identifier: getInterpreterProcess
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: RemoteInterpreterProcess
focal_class.signature: RemoteInterpreterProcess getInterpreterProcess()
focal_class.class_method_signature: RemoteInterpreter.init()
focal_class.full_signature: public synchronized void init()
focal_class.identifier: init
focal_class.modifiers: public synchronized
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void init()
focal_class.class_method_signature: RemoteInterpreter.open()
focal_class.full_signature: @Override public void open()
focal_class.identifier: open
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void open()
focal_class.class_method_signature: RemoteInterpreter.close()
focal_class.full_signature: @Override public void close()
focal_class.identifier: close
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void close()
focal_class.class_method_signature: RemoteInterpreter.closeInterpreter()
focal_class.full_signature: public void closeInterpreter()
focal_class.identifier: closeInterpreter
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void closeInterpreter()
focal_class.class_method_signature: RemoteInterpreter.interpret(String st, InterpreterContext context)
focal_class.full_signature: @Override public InterpreterResult interpret(String st, InterpreterContext context)
focal_class.identifier: interpret
focal_class.modifiers: @Override public
focal_class.parameters: (String st, InterpreterContext context)
focal_class.return: InterpreterResult
focal_class.signature: InterpreterResult interpret(String st, InterpreterContext context)
focal_class.class_method_signature: RemoteInterpreter.cancel(InterpreterContext context)
focal_class.full_signature: @Override public void cancel(InterpreterContext context)
focal_class.identifier: cancel
focal_class.modifiers: @Override public
focal_class.parameters: (InterpreterContext context)
focal_class.return: void
focal_class.signature: void cancel(InterpreterContext context)
focal_class.class_method_signature: RemoteInterpreter.getFormType()
focal_class.full_signature: @Override public FormType getFormType()
focal_class.identifier: getFormType
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: FormType
focal_class.signature: FormType getFormType()
focal_class.class_method_signature: RemoteInterpreter.getProgress(InterpreterContext context)
focal_class.full_signature: @Override public int getProgress(InterpreterContext context)
focal_class.identifier: getProgress
focal_class.modifiers: @Override public
focal_class.parameters: (InterpreterContext context)
focal_class.return: int
focal_class.signature: int getProgress(InterpreterContext context)
focal_class.class_method_signature: RemoteInterpreter.completion(String buf, int cursor)
focal_class.full_signature: @Override public List<InterpreterCompletion> completion(String buf, int cursor)
focal_class.identifier: completion
focal_class.modifiers: @Override public
focal_class.parameters: (String buf, int cursor)
focal_class.return: List<InterpreterCompletion>
focal_class.signature: List<InterpreterCompletion> completion(String buf, int cursor)
focal_class.class_method_signature: RemoteInterpreter.getScheduler()
focal_class.full_signature: @Override public Scheduler getScheduler()
focal_class.identifier: getScheduler
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Scheduler
focal_class.signature: Scheduler getScheduler()
focal_class.class_method_signature: RemoteInterpreter.getInterpreterGroupKey(InterpreterGroup interpreterGroup)
focal_class.full_signature: private String getInterpreterGroupKey(InterpreterGroup interpreterGroup)
focal_class.identifier: getInterpreterGroupKey
focal_class.modifiers: private
focal_class.parameters: (InterpreterGroup interpreterGroup)
focal_class.return: String
focal_class.signature: String getInterpreterGroupKey(InterpreterGroup interpreterGroup)
focal_class.class_method_signature: RemoteInterpreter.convert(InterpreterContext ic)
focal_class.full_signature: private RemoteInterpreterContext convert(InterpreterContext ic)
focal_class.identifier: convert
focal_class.modifiers: private
focal_class.parameters: (InterpreterContext ic)
focal_class.return: RemoteInterpreterContext
focal_class.signature: RemoteInterpreterContext convert(InterpreterContext ic)
focal_class.class_method_signature: RemoteInterpreter.convert(RemoteInterpreterResult result)
focal_class.full_signature: private InterpreterResult convert(RemoteInterpreterResult result)
focal_class.identifier: convert
focal_class.modifiers: private
focal_class.parameters: (RemoteInterpreterResult result)
focal_class.return: InterpreterResult
focal_class.signature: InterpreterResult convert(RemoteInterpreterResult result)
focal_class.class_method_signature: RemoteInterpreter.pushAngularObjectRegistryToRemote(Client client)
focal_class.full_signature:  void pushAngularObjectRegistryToRemote(Client client)
focal_class.identifier: pushAngularObjectRegistryToRemote
focal_class.parameters: (Client client)
focal_class.return: void
focal_class.signature: void pushAngularObjectRegistryToRemote(Client client)
focal_class.class_method_signature: RemoteInterpreter.getEnv()
focal_class.full_signature: public Map<String, String> getEnv()
focal_class.identifier: getEnv
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getEnv()
focal_class.class_method_signature: RemoteInterpreter.setEnv(Map<String, String> env)
focal_class.full_signature: public void setEnv(Map<String, String> env)
focal_class.identifier: setEnv
focal_class.modifiers: public
focal_class.parameters: (Map<String, String> env)
focal_class.return: void
focal_class.signature: void setEnv(Map<String, String> env)
focal_class.class_method_signature: RemoteInterpreter.addEnv(Map<String, String> env)
focal_class.full_signature: public void addEnv(Map<String, String> env)
focal_class.identifier: addEnv
focal_class.modifiers: public
focal_class.parameters: (Map<String, String> env)
focal_class.return: void
focal_class.signature: void addEnv(Map<String, String> env)
focal_class.class_method_signature: RemoteInterpreter.getInterpreterRunner()
focal_class.full_signature: public String getInterpreterRunner()
focal_class.identifier: getInterpreterRunner
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getInterpreterRunner()
focal_class.superclass: extends Interpreter
focal_method.body: static boolean isEnvString(String key) {
      if (key == null || key.length() == 0) {
        return false;
      }
  
      return key.matches("^[A-Z_0-9]*");
    }
focal_method.class_method_signature: RemoteInterpreter.isEnvString(String key)
focal_method.full_signature: static boolean isEnvString(String key)
focal_method.identifier: isEnvString
focal_method.invocations: length matches
focal_method.modifiers: static
focal_method.parameters: (String key)
focal_method.return: boolean
focal_method.signature: boolean isEnvString(String key)