private static Map<String, LocalVariableProxyImpl> getVisibleVariables( final StackFrameProxyImpl frame) throws EvaluateException { final Map<String, LocalVariableProxyImpl> vars = new HashMap<String, LocalVariableProxyImpl>(); for (LocalVariableProxyImpl localVariableProxy : frame.visibleVariables()) { vars.put(localVariableProxy.name(), localVariableProxy); } return vars; }
protected void superBuildVariables( final EvaluationContextImpl evaluationContext, XValueChildrenList children) throws EvaluateException { final StackFrameProxyImpl frame = getStackFrameProxy(); for (final LocalVariableProxyImpl local : frame.visibleVariables()) { final LocalVariableDescriptorImpl descriptor = myNodeManager.getLocalVariableDescriptor(null, local); children.add(JavaValue.create(descriptor, evaluationContext, myNodeManager)); } }