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) |
protected java.lang.String |
getBaseName(XExpression expression) |
java.lang.String |
getDefaultName(XExpression expression) |
protected boolean |
isAlreadyDefined(java.lang.String newFeatureName) |
protected boolean |
isKeyword(java.lang.String newFeatureName) |
void |
setFeatureScopeContext(XExpression siblingExpression) |
@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 getBaseName(XExpression expression)