class CommentUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
TOKEN_ML_COMMENT |
private static java.lang.String |
TOKEN_SL_COMMENT |
private static java.lang.String |
TOKEN_WHITESPACE |
| Constructor and Description |
|---|
CommentUtils() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static java.lang.String |
commentsToString(org.eclipse.emf.ecore.EObject object)
Handles the comments assigned to the EMF AST element
object. |
(package private) static net.ssehub.easy.varModel.model.StructuredComment |
ensureStructuredComment(org.eclipse.emf.ecore.EObject object,
TypeContext context)
Creates a
Comment from comments assigned to the EMF AST element object. |
(package private) static void |
println(java.lang.String comment)
Prints out a test and thereby emits explicit characters for marking the
line feed.
|
(package private) static net.ssehub.easy.varModel.model.Comment |
toComment(org.eclipse.emf.ecore.EObject object,
net.ssehub.easy.varModel.model.IModelElement parent)
Creates a
Comment from comments assigned to the EMF AST element object. |
(package private) static net.ssehub.easy.varModel.model.StructuredComment |
toStructuredComment(org.eclipse.emf.ecore.EObject object,
net.ssehub.easy.varModel.model.ModelElement parent)
Creates a
Comment from comments assigned to the EMF AST element object. |
private static final java.lang.String TOKEN_WHITESPACE
private static final java.lang.String TOKEN_SL_COMMENT
private static final java.lang.String TOKEN_ML_COMMENT
static java.lang.String commentsToString(org.eclipse.emf.ecore.EObject object)
object.
This method does not add the result to some project, context, etc.object - the EMF AST element to analyzestatic net.ssehub.easy.varModel.model.Comment toComment(org.eclipse.emf.ecore.EObject object,
net.ssehub.easy.varModel.model.IModelElement parent)
Comment from comments assigned to the EMF AST element object.
This method does not add the result to some project, context, etc.object - the EMF AST element to analyzeparent - the parent of the new comment in the IVML object modelstatic net.ssehub.easy.varModel.model.StructuredComment toStructuredComment(org.eclipse.emf.ecore.EObject object,
net.ssehub.easy.varModel.model.ModelElement parent)
Comment from comments assigned to the EMF AST element object.
This method does not add the result to some project, context, etc.object - the EMF AST element to analyzeparent - the parent of the new comment in the IVML object modelstatic net.ssehub.easy.varModel.model.StructuredComment ensureStructuredComment(org.eclipse.emf.ecore.EObject object,
TypeContext context)
Comment from comments assigned to the EMF AST element object.
This method does not add the result to some project, context, etc.object - the EMF AST element to analyzecontext - the resolution contextstatic void println(java.lang.String comment)
comment - the comment to be printed outCopyright © 2009 - 2018 SSE. All Rights Reserved.