|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jdt.internal.formatter.FormatJavadocNode
org.eclipse.jdt.internal.formatter.FormatJavadocBlock
public class FormatJavadocBlock
Represents a block in a FormatJavadoc which might be a
description or a tag (seeisDescription()).
The block might have a tag, a reference and nodes (see
FormatJavadocNode. Each of these elements might be present or not,
but at least one of them is.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
FormatJavadocBlock(int start,
int end,
int line,
int value)
|
|
| Method Summary | |
|---|---|
boolean |
hasTextOnTagLine()
Returns whether the text is on the same line of the tag or not. |
boolean |
isDescription()
Returns whether the block is the javadoc comment description or not. |
boolean |
isFirst()
Returns whether the block is the first block of the javadoc comment or not (independently of the fact it's a description or not). |
boolean |
isHeaderLine()
Returns whether the first block starts on the same line than the javadoc starting delimiter or not. |
boolean |
isInDescription()
Returns whether the block is a description or inlined in a description. |
boolean |
isInlined()
Returns whether the text is on the same line of the tag. |
boolean |
isInParamTag()
Returns whether the block is a param tag or inlined in a param tag. |
boolean |
isOneLineTag()
Returns whether the text is on the same line of the tag. |
boolean |
isParamTag()
Returns whether the block is a param tag or not. |
java.lang.String |
toStringDebug(char[] source)
|
void |
toStringDebug(java.lang.StringBuffer buffer,
char[] source)
|
| Methods inherited from class org.eclipse.jdt.internal.formatter.FormatJavadocNode |
|---|
getLength, isText, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FormatJavadocBlock(int start,
int end,
int line,
int value)
| Method Detail |
|---|
public boolean hasTextOnTagLine()
true if the text is on the same line than the tag,
false otherwise.public boolean isDescription()
true if the block is the javadoc description,
false otherwise.public boolean isFirst()
true if the block is the first of the javadoc
comment, false otherwise.public boolean isHeaderLine()
true if the the first block starts on the same line
than the javadoc starting delimiter, false otherwise.public boolean isInDescription()
true if the block is a description or inlined in a
description, false otherwise.isParamTag()public boolean isInlined()
true if the text is on the same line than the tag,
false otherwise.public boolean isInParamTag()
true if the block is a param tag or inlined in a param
tag, false otherwise.isParamTag()public boolean isOneLineTag()
true if the text is on the same line than the tag,
false otherwise.public boolean isParamTag()
true if the block is a param tag,
false otherwise.public java.lang.String toStringDebug(char[] source)
toStringDebug in class FormatJavadocNode
public void toStringDebug(java.lang.StringBuffer buffer,
char[] source)
toStringDebug in class FormatJavadocNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||