|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stateforge.statebuilder.CoderBase
com.stateforge.statebuilder.java.CoderBaseJava
public abstract class CoderBaseJava
| Constructor Summary | |
|---|---|
CoderBaseJava(StateMachineModel model,
com.sun.codemodel.JCodeModel code)
|
|
| Method Summary | |
|---|---|
protected void |
addParameter(com.sun.codemodel.JMethod method,
Parameter parameter)
|
protected String |
getAbstractContextClassName(State state)
|
protected com.sun.codemodel.JCodeModel |
getCode()
|
com.sun.codemodel.JExpression |
getContextParentExpression(State state,
State stateNext)
context context.getContextParent() context.getContextParent().getContextParent() |
protected com.sun.codemodel.JPackage |
getPackage()
|
protected String |
getParallelClassName(State state)
MicrowaveOperatingParallel |
protected String |
getParallelFieldName(State state)
_parallelOperating |
protected String |
getParallelLocalVariableName(State state)
parallelOperating |
protected void |
writeContextOnEnd(State state,
State stateNext,
com.sun.codemodel.JBlock block)
context.onEnd() or context.getContextParent().onEnd() ... |
protected void |
writeProcessTransition(State state,
State stateNext,
com.sun.codemodel.JBlock block,
String suffix)
StateOperation.processTransitionPre(context, HelloWorldEndState.getInstance()); |
| Methods inherited from class com.stateforge.statebuilder.CoderBase |
|---|
code, getContextClassName, getContextParentClassName, getModel, getStateClassName, getStateClassName, setModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CoderBaseJava(StateMachineModel model,
com.sun.codemodel.JCodeModel code)
| Method Detail |
|---|
protected com.sun.codemodel.JCodeModel getCode()
protected com.sun.codemodel.JPackage getPackage()
protected void addParameter(com.sun.codemodel.JMethod method,
Parameter parameter)
throws StateBuilderException
StateBuilderException
protected String getAbstractContextClassName(State state)
throws StateBuilderException
StateBuilderExceptionprotected String getParallelLocalVariableName(State state)
state -
protected String getParallelFieldName(State state)
state -
protected String getParallelClassName(State state)
state -
protected void writeProcessTransition(State state,
State stateNext,
com.sun.codemodel.JBlock block,
String suffix)
throws StateBuilderException
state - stateNext - suffix -
StateBuilderException
protected void writeContextOnEnd(State state,
State stateNext,
com.sun.codemodel.JBlock block)
throws StateBuilderException
state - stateNext - block -
StateBuilderException
public com.sun.codemodel.JExpression getContextParentExpression(State state,
State stateNext)
throws StateBuilderException
state - stateNext -
StateBuilderException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||