public class ContextStack extends 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() |
org.glassfish.rmic.iiop.TypeContext |
getContext()
Get the current top context.
|
org.glassfish.rmic.iiop.TypeContext |
getContext(int index)
Get a specific context.
|
String |
getContextCodeString()
Get a string for the context name...
|
static String |
getContextCodeString(int contextCode)
Get a string for the given context code...
|
int |
getCurrentContextCode()
Get the current context code.
|
BatchEnvironment |
getEnv()
Get the environment.
|
org.glassfish.rmic.iiop.TypeContext |
getParentContext()
Get parent context.
|
boolean |
isParentAValue()
Is parent context a value type?
|
boolean |
isTraceOn()
Check trace flag.
|
org.glassfish.rmic.iiop.TypeContext |
pop(boolean wasValid)
Pop an element from the stack.
|
org.glassfish.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 org.glassfish.rmic.iiop.TypeContext push(ContextElement element)
public org.glassfish.rmic.iiop.TypeContext pop(boolean wasValid)
public int size()
public org.glassfish.rmic.iiop.TypeContext getContext(int index)
public org.glassfish.rmic.iiop.TypeContext getContext()
public boolean isParentAValue()
public org.glassfish.rmic.iiop.TypeContext getParentContext()
public String getContextCodeString()
public static String getContextCodeString(int contextCode)
public void clear()
Copyright © 2018. All Rights Reserved.