|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectarchimate.codegen.SourceInspector
public class SourceInspector
This class analyses the source code in the project source folder using the
given TagTree
and commands the generation of missing source elements
Field Summary | |
---|---|
static java.lang.String |
GENERATE
|
static java.lang.String |
VALIDATE
|
Constructor Summary | |
---|---|
SourceInspector(ICodeGenerator generator)
Creates a new SourceInspector and sets its TagTree ,
packageBase and monitor from the given ICodeGenerator |
Method Summary | |
---|---|
void |
addSourceElements(org.eclipse.jdt.core.dom.TypeDeclaration node,
java.util.ArrayList<TagNode> tags)
Creates source elements in the node for every tag in the list. |
org.eclipse.core.runtime.IProgressMonitor |
monitor()
Returns the progressmonitor |
org.eclipse.core.runtime.MultiStatus |
status()
Returns the status |
TagTree |
tree()
Returns the current TagTree |
void |
updateSource()
Traverses the source and adds missing source elements and files |
void |
validateSource()
Traverses the source and validates the source elements |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String GENERATE
public static final java.lang.String VALIDATE
Constructor Detail |
---|
public SourceInspector(ICodeGenerator generator)
SourceInspector
and sets its TagTree
,
packageBase and monitor from the given ICodeGenerator
generator
- The ICodeGenerator
at handMethod Detail |
---|
public TagTree tree()
TagTree
TagTree
public org.eclipse.core.runtime.IProgressMonitor monitor()
public org.eclipse.core.runtime.MultiStatus status()
public void updateSource()
public void validateSource()
public void addSourceElements(org.eclipse.jdt.core.dom.TypeDeclaration node, java.util.ArrayList<TagNode> tags)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |