|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.kuleuven.cs.som.taglet.OOPTaglet
be.kuleuven.cs.som.taglet.InvarTaglet
public class InvarTaglet
The invarTaglet is an OOPTaglet, used to declare the invariants of a class or field. It is used with the keyword "invar" and the header for the subsection will be "Invariant:".
InvarTaglet should be used on tags that are formatted as follows:
@invar informally specified invariant
| formal part line 1
| formal part line 2
...
The formal part can be left out. The output will be of the form:| formally: | formal part line 1 |
formal part line 2
| |
| Constructor Summary | |
|---|---|
InvarTaglet()
Create a new EffectTaglet. |
|
| Method Summary | |
|---|---|
boolean |
inConstructor()
This tag cannot be used with constructors. |
boolean |
inField()
This tag can be used with fields. |
boolean |
inMethod()
This tag cannot be used with methods. |
boolean |
inOverview()
This taag cannot be used in overview documentation. |
boolean |
inPackage()
This tag cannot be used in package documentation. |
boolean |
inType()
This tag can be used in general class or interface documentation. |
boolean |
isInlineTag()
This tag is not an inline tag. |
static void |
register(java.util.Map tagletMap)
Register this tag. |
| Methods inherited from class be.kuleuven.cs.som.taglet.OOPTaglet |
|---|
getName, toString, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InvarTaglet()
| Method Detail |
|---|
public static void register(java.util.Map tagletMap)
tagletMap - The map of String keys and Taglet values to register in.Taglet,
OOPTaglet.register(java.util.Map,Object)public boolean inField()
Taglet.inField()public boolean inConstructor()
Taglet.inConstructor()public boolean inMethod()
Taglet.inMethod()public boolean inOverview()
Taglet.inOverview()public boolean inPackage()
Taglet.inPackage()public boolean inType()
Taglet.inType()public boolean isInlineTag()
Taglet.isInlineTag()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||