|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JComment
Encapsulates comment associated with a package, class, method, and so on. Although they are often declared in the same place (code comments) JComment is a distinct entity from JAnnotation.
| Method Summary | |
|---|---|
JSourcePosition |
getSourcePosition()
Returns the location of this comment in the source, or null if it is unknown. |
java.lang.String |
getText()
Returns the text of this comment. |
| Methods inherited from interface org.codehaus.jam.JElement |
|---|
accept, getArtifact, getParent, getQualifiedName, getSimpleName, isSourceAvailable, toString |
| Method Detail |
|---|
java.lang.String getText()
JSourcePosition getSourcePosition()
getSourcePosition in interface JElement
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||