|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.util.Utils
org.multijava.mjc.MjcPrettyPrinter
org.jmlspecs.jmlrac.RacPrettyPrinter
org.jmlspecs.racwrap.WrapperPrettyPrinter
WrapperPrettyPrinter prints the wrapper.
| Field Summary | |
int |
classScopeLevel
|
JmlClassDeclaration |
current_class
|
private String |
wrappedClassName
We need information about the wrapped class name. |
| Fields inherited from class org.jmlspecs.jmlrac.RacPrettyPrinter |
NEW_LINE |
| Fields inherited from class org.multijava.mjc.MjcPrettyPrinter |
forInit, modUtil, nl, p, pos, TAB_SIZE, WIDTH |
| Fields inherited from class org.multijava.util.Utils |
DBG_LEVEL_HIGH, DBG_LEVEL_LOW, DBG_LEVEL_NO |
| Fields inherited from interface org.jmlspecs.jmlrac.RacConstants |
MN_CHECK_HC, MN_CHECK_INV, MN_CHECK_POST, MN_CHECK_PRE, MN_CHECK_XPOST, MN_EVAL_OLD, MN_GHOST, MN_INIT, MN_INTERNAL, MN_MODEL, MN_MODEL_PUBLIC, MN_RESTORE_FROM, MN_SAVE_TO, MN_SPEC, MN_SPEC_PUBLIC, TN_JMLCHECKABLE, TN_JMLSURROGATE, TN_JMLUNIT_TEST_POSTFIX, TN_JMLUNIT_TESTDATA_POSTFIX, TN_JMLVALUE, TN_SURROGATE, VN_ASSERTION, VN_CATCH_VAR, VN_CLASS_INIT, VN_CONSTRUCTED, VN_DELEGEE, VN_ERROR_SET, VN_EXCEPTION, VN_FREE_VAR, VN_INIT, VN_OLD_VAR, VN_POST_VAR, VN_PRE_VAR, VN_PRECOND, VN_RAC_COMPILED, VN_RAC_LEVEL, VN_RESULT, VN_STACK_VAR, VN_XRESULT |
| Fields inherited from interface org.multijava.mjc.Constants |
ACC_PURE, AMID_JAVA_MATH, AMID_MAX, AMID_SAFE_MATH, CMP_VERSION, JAV_ASSERTION_ERROR, JAV_CLASS, JAV_CLASSLOADER, JAV_CLASSNOTFOUND_EXCEPTION, JAV_CLONE, JAV_CLONEABLE, JAV_CONSTRUCTOR, JAV_ERROR, JAV_EXCEPTION, JAV_INIT, JAV_LENGTH, JAV_NAME_SEPARATOR, JAV_NOCLASSDEFFOUND_ERROR, JAV_OBJECT, JAV_OUTER_THIS, JAV_RMJ_RUNTIME_EXCEPTION, JAV_RUNTIME, JAV_RUNTIME_EXCEPTION, JAV_SERIALIZABLE, JAV_STATIC_INIT, JAV_STRING, JAV_STRINGBUFFER, JAV_SUPER, JAV_THIS, JAV_THROWABLE, MJ_ANCHOR, OPE_BAND, OPE_BNOT, OPE_BOR, OPE_BSR, OPE_BXOR, OPE_EQ, OPE_GE, OPE_GT, OPE_LAND, OPE_LE, OPE_LNOT, OPE_LOR, OPE_LT, OPE_MINUS, OPE_NE, OPE_PERCENT, OPE_PLUS, OPE_POSTDEC, OPE_POSTINC, OPE_PREDEC, OPE_PREINC, OPE_SIMPLE, OPE_SL, OPE_SLASH, OPE_SR, OPE_STAR, TID_ARRAY, TID_BOOLEAN, TID_BYTE, TID_CHAR, TID_CLASS, TID_DOUBLE, TID_FLOAT, TID_INT, TID_LONG, TID_MAX, TID_SHORT, TID_VOID, UNIV_ARRAY_TMP, UNIV_TMP |
| Constructor Summary | |
WrapperPrettyPrinter(File file,
JmlModifier modUtil)
|
|
WrapperPrettyPrinter(Writer writer,
JmlModifier modUtil)
|
|
WrapperPrettyPrinter(String fileName,
JmlModifier modUtil)
|
|
WrapperPrettyPrinter(TabbedPrintWriter writer)
|
|
| Method Summary | |
protected void |
visitClassBody(JmlTypeDeclaration self)
Prints the body of the class. |
void |
visitJmlClassDeclaration(JmlClassDeclaration self)
Prints the wrapper declaration |
void |
visitJmlConstructorDeclaration(JmlConstructorDeclaration self)
Prints a JML constructor declaration. |
void |
visitJmlFieldDeclaration(JmlFieldDeclaration self)
Prints the given JML field declaration. |
void |
visitJmlMethodDeclaration(JmlMethodDeclaration self)
Prints a JML method declaration. |
void |
visitThisExpression(JThisExpression self)
visits a this expression |
| Methods inherited from class org.multijava.util.Utils |
assertTrue, assertTrue, combineArrays, escapeString, escapeString, fail, fail, getFilePath, hasFlag, hasOtherFlags, parsePathParts, relativePathTo, splitQualifiedName, splitQualifiedName, stripJavaModifiers, stripNonJavaModifiers, stripPrivateModifier, unescapeString, vectorToArray, vectorToIntArray |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private String wrappedClassName
public int classScopeLevel
public JmlClassDeclaration current_class
| Constructor Detail |
public WrapperPrettyPrinter(File file,
JmlModifier modUtil)
public WrapperPrettyPrinter(String fileName,
JmlModifier modUtil)
public WrapperPrettyPrinter(TabbedPrintWriter writer)
public WrapperPrettyPrinter(Writer writer,
JmlModifier modUtil)
| Method Detail |
public void visitThisExpression(JThisExpression self)
MjcVisitor
visitThisExpression in interface MjcVisitorvisitThisExpression in class MjcPrettyPrinterpublic void visitJmlFieldDeclaration(JmlFieldDeclaration self)
RacPrettyPrinter
visitJmlFieldDeclaration in interface JmlVisitorvisitJmlFieldDeclaration in class RacPrettyPrinterpublic void visitJmlClassDeclaration(JmlClassDeclaration self)
visitJmlClassDeclaration in interface JmlVisitorvisitJmlClassDeclaration in class RacPrettyPrinterprotected void visitClassBody(JmlTypeDeclaration self)
visitClassBody in class RacPrettyPrinterpublic void visitJmlMethodDeclaration(JmlMethodDeclaration self)
RacPrettyPrinter
visitJmlMethodDeclaration in interface JmlVisitorvisitJmlMethodDeclaration in class RacPrettyPrinterpublic void visitJmlConstructorDeclaration(JmlConstructorDeclaration self)
RacPrettyPrinter
visitJmlConstructorDeclaration in interface JmlVisitorvisitJmlConstructorDeclaration in class RacPrettyPrinter
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||