public class NewFeatureNameUtil
extends java.lang.Object
Constructor and Description |
---|
NewFeatureNameUtil(IGrammarAccess grammarAccess) |
Modifier and Type | Method and Description |
---|---|
void |
checkNewFeatureName(java.lang.String newFeatureName,
boolean isLookupInScope,
org.eclipse.ltk.core.refactoring.RefactoringStatus status) |
java.lang.String |
getDefaultName(XExpression expression) |
protected java.lang.String |
getFancyDefaultName(XExpression expression) |
protected boolean |
isAlreadyDefined(java.lang.String newFeatureName) |
protected boolean |
isKeyword(java.lang.String newFeatureName) |
void |
setFeatureScopeContext(XExpression siblingExpression) |
protected java.lang.String |
toVariableName(java.lang.String name) |
@Inject public NewFeatureNameUtil(IGrammarAccess grammarAccess)
public void setFeatureScopeContext(XExpression siblingExpression)
public void checkNewFeatureName(java.lang.String newFeatureName, boolean isLookupInScope, org.eclipse.ltk.core.refactoring.RefactoringStatus status)
protected boolean isKeyword(java.lang.String newFeatureName)
protected boolean isAlreadyDefined(java.lang.String newFeatureName)
public java.lang.String getDefaultName(XExpression expression)
protected java.lang.String getFancyDefaultName(XExpression expression)
protected java.lang.String toVariableName(java.lang.String name)