public class HighlightingToStringVisitor extends ToStringVisitor<org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EOperation,org.eclipse.emf.ecore.EStructuralFeature,org.eclipse.emf.ecore.EEnumLiteral,org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EObject,CallOperationAction,SendSignalAction,Constraint>
NULL_PLACEHOLDER
result
Modifier | Constructor and Description |
---|---|
protected |
HighlightingToStringVisitor(Environment<org.eclipse.emf.ecore.EPackage,org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EOperation,org.eclipse.emf.ecore.EStructuralFeature,org.eclipse.emf.ecore.EEnumLiteral,org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EObject,CallOperationAction,SendSignalAction,Constraint,org.eclipse.emf.ecore.EClass,org.eclipse.emf.ecore.EObject> env,
OCLExpression expressionToHighlight) |
Modifier and Type | Method and Description |
---|---|
static HighlightingToStringVisitor |
getInstance(org.eclipse.emf.ecore.EObject element,
OCLExpression expressionToHighlight) |
protected java.lang.String |
safeVisit(Visitable v)
A null-safe visitation of the specified visitable.
|
getConstrainedElements, getInstance, getInstance, getName, getOperation, getParameters, getQualifiedName, getSignal, getSpecification, getStereotype, getType, handleAssociationClassCallExp, handleCollectionItem, handleCollectionLiteralExp, handleCollectionRange, handleIfExp, handleIterateExp, handleIteratorExp, handleLetExp, handleMessageExp, handleOperationCallExp, handlePropertyCallExp, handleTupleLiteralExp, handleTupleLiteralPart, handleVariable, initialLower, isClassifier, isOperation, isProperty, maybeAtPre, visitBooleanLiteralExp, visitConstraint, visitEnumLiteralExp, visitExpressionInOCL, visitIntegerLiteralExp, visitInvalidLiteralExp, visitNullLiteralExp, visitRealLiteralExp, visitStateExp, visitStringLiteralExp, visitTypeExp, visitUnlimitedNaturalLiteralExp, visitUnspecifiedValueExp, visitVariableExp
handleConstraint, handleExpressionInOCL, visitAssociationClassCallExp, visitCollectionItem, visitCollectionLiteralExp, visitCollectionRange, visitIfExp, visitIterateExp, visitIteratorExp, visitLetExp, visitMessageExp, visitOperationCallExp, visitPropertyCallExp, visitTupleLiteralExp, visitTupleLiteralPart, visitVariable
protected HighlightingToStringVisitor(Environment<org.eclipse.emf.ecore.EPackage,org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EOperation,org.eclipse.emf.ecore.EStructuralFeature,org.eclipse.emf.ecore.EEnumLiteral,org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EObject,CallOperationAction,SendSignalAction,Constraint,org.eclipse.emf.ecore.EClass,org.eclipse.emf.ecore.EObject> env, OCLExpression expressionToHighlight)
public static HighlightingToStringVisitor getInstance(org.eclipse.emf.ecore.EObject element, OCLExpression expressionToHighlight)
protected java.lang.String safeVisit(Visitable v)
AbstractVisitor
safeVisit
in class AbstractVisitor<java.lang.String,org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EOperation,org.eclipse.emf.ecore.EStructuralFeature,org.eclipse.emf.ecore.EEnumLiteral,org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EObject,CallOperationAction,SendSignalAction,Constraint>
v
- a visitable, or null
null
if the visitable is null
;
otherwise, the result of visiting it