public class OCLSyntaxHelper<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> extends Object implements OCLSyntaxHelper
Constructor and Description |
---|
OCLSyntaxHelper(Environment<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E> env) |
Modifier and Type | Method and Description |
---|---|
List<Choice> |
getSyntaxHelp(ConstraintKind constraintType,
String txt)
Gets syntax help choices for the specified
context
classifier or operation. |
static String |
initialLower(String name)
Gets the name of a named
elem ent with its initial character
in lower case. |
public static String initialLower(String name)
elem
ent with its initial character
in lower case.name
- a named elementpublic List<Choice> getSyntaxHelp(ConstraintKind constraintType, String txt)
context
classifier or operation.getSyntaxHelp
in interface OCLSyntaxHelper
constraintType
- the kind of constraint for which to get completion
suggestionstxt
- the string we got from client that contains the ocl expressionChoice
s representing the syntax help choices
for the user; could be emptyCopyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.