public class ContextStack
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
EXTENDS |
static int |
IMPLEMENTS |
static int |
MEMBER |
static int |
MEMBER_CONSTANT |
static int |
MEMBER_STATIC |
static int |
MEMBER_TRANSIENT |
static int |
METHOD |
static int |
METHOD_ARGUMENT |
static int |
METHOD_EXCEPTION |
static int |
METHOD_RETURN |
static int |
TOP |
| Constructor and Description |
|---|
ContextStack(BatchEnvironment env)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
anyErrors()
Return true if
env.nerrors > 0. |
void |
clear() |
static void |
dumpCallStack() |
sun.rmi.rmic.iiop.TypeContext |
getContext()
Get the current top context.
|
sun.rmi.rmic.iiop.TypeContext |
getContext(int index)
Get a specific context.
|
java.lang.String |
getContextCodeString()
Get a string for the context name...
|
static java.lang.String |
getContextCodeString(int contextCode)
Get a string for the given context code...
|
int |
getCurrentContextCode()
Get the current context code.
|
BatchEnvironment |
getEnv()
Get the environment.
|
sun.rmi.rmic.iiop.TypeContext |
getParentContext()
Get parent context.
|
boolean |
isParentAValue()
Is parent context a value type?
|
boolean |
isTraceOn()
Check trace flag.
|
sun.rmi.rmic.iiop.TypeContext |
pop(boolean wasValid)
Pop an element from the stack.
|
sun.rmi.rmic.iiop.TypeContext |
push(ContextElement element)
Push a new element on the stack.
|
void |
setNewContextCode(int code)
Set the new context.
|
void |
setTrace(boolean trace)
Enable/disable tracing.
|
int |
size()
Get the current size.
|
public static final int TOP
public static final int METHOD
public static final int METHOD_RETURN
public static final int METHOD_ARGUMENT
public static final int METHOD_EXCEPTION
public static final int MEMBER
public static final int MEMBER_CONSTANT
public static final int MEMBER_STATIC
public static final int MEMBER_TRANSIENT
public static final int IMPLEMENTS
public static final int EXTENDS
public ContextStack(BatchEnvironment env)
public boolean anyErrors()
env.nerrors > 0.public void setTrace(boolean trace)
public boolean isTraceOn()
public BatchEnvironment getEnv()
public void setNewContextCode(int code)
public int getCurrentContextCode()
public static final void dumpCallStack()
public sun.rmi.rmic.iiop.TypeContext push(ContextElement element)
public sun.rmi.rmic.iiop.TypeContext pop(boolean wasValid)
public int size()
public sun.rmi.rmic.iiop.TypeContext getContext(int index)
public sun.rmi.rmic.iiop.TypeContext getContext()
public boolean isParentAValue()
public sun.rmi.rmic.iiop.TypeContext getParentContext()
public java.lang.String getContextCodeString()
public static java.lang.String getContextCodeString(int contextCode)
public void clear()
Copyright © 2017. All Rights Reserved.