edu.rice.cs.drjava.model.repl.newjvm
Class InterpreterJVM.DebugMethodContext
java.lang.Object
edu.rice.cs.dynamicjava.interpreter.DelegatingContext
edu.rice.cs.drjava.model.repl.newjvm.InterpreterJVM.DebugMethodContext
- All Implemented Interfaces:
- TypeContext
- Enclosing class:
- InterpreterJVM
private static class InterpreterJVM.DebugMethodContext
- extends DelegatingContext
A custom context for interpreting within the body of a defined method.
| Methods inherited from class edu.rice.cs.dynamicjava.interpreter.DelegatingContext |
accessModule, fieldExists, functionExists, getClassLoader, getLocalFunctions, getLocalFunctions, getLocalVariable, getThis, getTopLevelClass, getTypeVariable, importField, importMemberClass, importMemberClasses, importMethod, importStaticMembers, importTopLevelClass, importTopLevelClasses, initializingClass, localFunctionExists, localVariableExists, makeAnonymousClassName, makeClassName, memberClassExists, methodExists, setPackage, topLevelClassExists, typeContainingField, typeContainingMemberClass, typeContainingMethod, typeExists, typeVariableExists, variableExists |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_isStatic
private final boolean _isStatic
InterpreterJVM.DebugMethodContext
public InterpreterJVM.DebugMethodContext(TypeContext next,
boolean isStatic)
duplicate
protected TypeContext duplicate(TypeContext next)
- Specified by:
duplicate in class DelegatingContext
getThis
public DJClass getThis()
- Specified by:
getThis in interface TypeContext- Overrides:
getThis in class DelegatingContext
getThis
public DJClass getThis(String className)
- Specified by:
getThis in interface TypeContext- Overrides:
getThis in class DelegatingContext
getReturnType
public Type getReturnType()
- Specified by:
getReturnType in interface TypeContext- Overrides:
getReturnType in class DelegatingContext
getDeclaredThrownTypes
public Iterable<Type> getDeclaredThrownTypes()
- Specified by:
getDeclaredThrownTypes in interface TypeContext- Overrides:
getDeclaredThrownTypes in class DelegatingContext