|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.codegen.CodeGenVisitor
de.uni_paderborn.fujaba.codegen.OOGenVisitor
de.uni_paderborn.fujaba.codegen.JavaGenVisitor
Class JavaGenVisitor
Field Summary |
Fields inherited from class de.uni_paderborn.fujaba.codegen.CodeGenVisitor |
EIFFEL_VISITOR, END_BLOCK_COMMENTARY, GNU_CPP_CLASS_VISITOR, GNU_CPP_HEADER_VISITOR, INDENT_STRING, JAVA_VISITOR, LINE_COMMENTARY, LINE_IN_BLOCK_COMMENTARY, START_BLOCK_COMMENTARY |
Constructor Summary | |
JavaGenVisitor()
Constructor for class JavaGenVisitor |
|
JavaGenVisitor(java.lang.String extender)
Default Constructor |
Method Summary | |
void |
generateClassEndBlock()
No comment provided by developer, please add a comment to improve documentation. |
void |
generateClassStartBlock()
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
generateImportClass(FClass theClass)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
generateImportPackage(FPackage thePackage)
No comment provided by developer, please add a comment to improve documentation. |
void |
generatePackageBegin(FFile theFile)
No comment provided by developer, please add a comment to improve documentation. |
void |
generatePackageEnd(FFile theFile)
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
getAssocTemplateName()
Get the assocTemplateName attribute of the JavaGenVisitor object |
java.lang.String |
getAttrDeclName(FAttr theAttr)
Get the attrDeclName attribute of the JavaGenVisitor object |
java.lang.String |
getContainerName(OOCollectionEnum containerType,
boolean bound)
get the full qualified containername for type containerType |
java.lang.String |
getMethodDeclName(FMethod theMethod)
Get the methodDeclName attribute of the JavaGenVisitor object |
java.lang.String |
getReferenceTemplateName()
Get the referenceTemplateName attribute of the JavaGenVisitor object |
java.lang.String |
getSourceCode(OOClassOfVariableExpr expression)
Get the sourceCode attribute of the JavaGenVisitor object |
java.lang.String |
getSourceCode(OOFWIteratorGetExpr expression)
Get the sourceCode attribute of the JavaGenVisitor object |
java.lang.String |
getSourceCode(OOFWIteratorGotoNextExpr expression)
Get the sourceCode attribute of the JavaGenVisitor object |
java.lang.String |
getSourceCode(OOFWIteratorHasNextExpr expression)
Get the sourceCode attribute of the JavaGenVisitor object |
java.lang.String |
getSourceCode(OOFWIteratorOfExpr expression)
Get the sourceCode attribute of the JavaGenVisitor object |
java.lang.String |
getSourceCode(OONewArrayExpr expression)
Get the sourceCode attribute of the JavaGenVisitor object |
java.lang.String |
getSourceCode(OOObjectOfTypeExpr expression)
Get the sourceCode attribute of the JavaGenVisitor object |
java.lang.String |
getSourceCode(OOThrowStatement statement)
Get the sourceCode attribute of the JavaGenVisitor object |
void |
initProgLangTypes()
No comment provided by developer, please add a comment to improve documentation. |
void |
initVisibilityStrings()
No comment provided by developer, please add a comment to improve documentation. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JavaGenVisitor(java.lang.String extender)
extender
- No description providedpublic JavaGenVisitor()
Method Detail |
public java.lang.String getReferenceTemplateName()
getReferenceTemplateName
in class OOGenVisitor
public java.lang.String getAssocTemplateName()
getAssocTemplateName
in class OOGenVisitor
public java.lang.String getContainerName(OOCollectionEnum containerType, boolean bound)
containerType
getContainerName
in class OOGenVisitor
containerType
- the containerType
bound
- No description provided
public void initProgLangTypes()
initProgLangTypes
in class OOGenVisitor
public void initVisibilityStrings()
initVisibilityStrings
in class OOGenVisitor
public final java.lang.String getSourceCode(OOThrowStatement statement)
getSourceCode
in class OOGenVisitor
statement
- No description provided
public final java.lang.String getSourceCode(OOObjectOfTypeExpr expression)
expression
- No description provided
public final java.lang.String getSourceCode(OOClassOfVariableExpr expression)
expression
- No description provided
public final java.lang.String getSourceCode(OOFWIteratorOfExpr expression)
expression
- No description provided
public final java.lang.String getSourceCode(OOFWIteratorGetExpr expression)
expression
- No description provided
public final java.lang.String getSourceCode(OOFWIteratorHasNextExpr expression)
expression
- No description provided
public final java.lang.String getSourceCode(OOFWIteratorGotoNextExpr expression)
expression
- No description provided
public java.lang.String getSourceCode(OONewArrayExpr expression)
getSourceCode
in class OOGenVisitor
expression
- No description provided
public void generateClassEndBlock()
generateClassEndBlock
in class OOGenVisitor
public void generateClassStartBlock()
generateClassStartBlock
in class OOGenVisitor
public java.lang.String generateImportPackage(FPackage thePackage)
generateImportPackage
in class OOGenVisitor
thePackage
- No description provided
public java.lang.String generateImportClass(FClass theClass)
generateImportClass
in class OOGenVisitor
theClass
- No description provided
public void generatePackageBegin(FFile theFile)
generatePackageBegin
in class OOGenVisitor
theFile
- No description providedpublic void generatePackageEnd(FFile theFile)
generatePackageEnd
in class OOGenVisitor
theFile
- No description providedpublic java.lang.String getAttrDeclName(FAttr theAttr)
getAttrDeclName
in class OOGenVisitor
theAttr
- No description provided
public java.lang.String getMethodDeclName(FMethod theMethod)
getMethodDeclName
in class OOGenVisitor
theMethod
- No description provided
public java.lang.String toString()
toString
in class OOGenVisitor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |