|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectarchimate.util.JavaMethod
public class JavaMethod
Class modelling a java method
Field Summary | |
---|---|
static java.lang.String |
DECLARATION
|
static java.lang.String |
IMPLEMENTATION
|
static java.lang.String |
INVOCATION
|
Constructor Summary | |
---|---|
JavaMethod(java.lang.String name,
java.lang.String tag,
java.lang.String type,
java.lang.String className)
|
Method Summary | |
---|---|
java.lang.String |
archiMateTag()
Returns the code elements first archiMateTag |
boolean |
archiMateTagsDefined()
Returns whether there are archiMateTags defined |
java.lang.String |
comment()
Returns the code elements comments |
boolean |
commentDefined()
Returns whether there is a comment defined |
void |
diff(org.eclipse.jdt.core.dom.ASTNode node,
org.eclipse.core.runtime.MultiStatus status,
java.lang.String pattern)
Compares itself to the ASTNode and writes the eventual
differences in the MultiStatus object |
boolean |
equals(java.lang.String identifier)
Method defining whether a source element matches the identifier |
java.lang.String |
identifier()
Returns the identifier of the source code element |
java.lang.String |
invocationClass()
|
java.lang.String |
invocationMethod()
|
java.lang.String |
invocationObject()
|
java.lang.String |
name()
|
void |
setArchiMateTag(java.lang.String tag)
|
void |
setClassName(java.lang.String name)
|
void |
setComment(java.lang.String comment)
|
void |
setName(java.lang.String name)
|
void |
setType(java.lang.String type)
|
void |
setVisited()
Marks a source code element as visited |
java.lang.String |
type()
|
boolean |
visited()
Returns whether a source element has been visited in the source code |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DECLARATION
public static final java.lang.String IMPLEMENTATION
public static final java.lang.String INVOCATION
Constructor Detail |
---|
public JavaMethod(java.lang.String name, java.lang.String tag, java.lang.String type, java.lang.String className)
Method Detail |
---|
public java.lang.String identifier()
ICodeElement
identifier
in interface ICodeElement
public boolean equals(java.lang.String identifier)
ICodeElement
equals
in interface ICodeElement
identifier
- String to match the source element with
public void diff(org.eclipse.jdt.core.dom.ASTNode node, org.eclipse.core.runtime.MultiStatus status, java.lang.String pattern)
ICodeElement
ASTNode
and writes the eventual
differences in the MultiStatus
object
diff
in interface ICodeElement
node
- the ASTNode
to compare withstatus
- the MultiStatus
to write the differences inpublic boolean visited()
ICodeElement
visited
in interface ICodeElement
public void setVisited()
ICodeElement
setVisited
in interface ICodeElement
public void setName(java.lang.String name)
public void setType(java.lang.String type)
public void setArchiMateTag(java.lang.String tag)
public void setClassName(java.lang.String name)
public java.lang.String name()
public java.lang.String type()
public boolean archiMateTagsDefined()
ICodeElement
archiMateTagsDefined
in interface ICodeElement
public java.lang.String archiMateTag()
ICodeElement
archiMateTag
in interface ICodeElement
public java.lang.String invocationMethod()
public java.lang.String invocationClass()
public java.lang.String invocationObject()
public void setComment(java.lang.String comment)
public boolean commentDefined()
ICodeElement
commentDefined
in interface ICodeElement
public java.lang.String comment()
ICodeElement
comment
in interface ICodeElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |