public interface Comment extends ASTNode
The following features are supported:
JavaPackage.getComment()| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Returns the value of the 'Content' attribute.
|
boolean |
isEnclosedByParent()
Returns the value of the 'Enclosed By Parent' attribute.
|
boolean |
isPrefixOfParent()
Returns the value of the 'Prefix Of Parent' attribute.
|
void |
setContent(String value)
Sets the value of the '
Content' attribute. |
void |
setEnclosedByParent(boolean value)
Sets the value of the '
Enclosed By Parent' attribute. |
void |
setPrefixOfParent(boolean value)
Sets the value of the '
Prefix Of Parent' attribute. |
getComments, getOriginalClassFile, getOriginalCompilationUnit, setOriginalClassFile, setOriginalCompilationUnitString getContent()
setContent(String),
JavaPackage.getComment_Content()void setContent(String value)
Content' attribute.
value - the new value of the 'Content' attribute.getContent()boolean isEnclosedByParent()
setEnclosedByParent(boolean),
JavaPackage.getComment_EnclosedByParent()void setEnclosedByParent(boolean value)
Enclosed By Parent' attribute.
value - the new value of the 'Enclosed By Parent' attribute.isEnclosedByParent()boolean isPrefixOfParent()
setPrefixOfParent(boolean),
JavaPackage.getComment_PrefixOfParent()void setPrefixOfParent(boolean value)
Prefix Of Parent' attribute.
value - the new value of the 'Prefix Of Parent' attribute.isPrefixOfParent()Copyright © 2018–2020 Atlanmod. All rights reserved.