org.eclipse.xtext.xtend2.ui.quickfix
Class Xtend2QuickfixProvider
java.lang.Object
org.eclipse.xtext.ui.editor.quickfix.AbstractDeclarativeQuickfixProvider
org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider
org.eclipse.xtext.xtend2.ui.quickfix.Xtend2QuickfixProvider
- All Implemented Interfaces:
- IssueResolutionProvider
public class Xtend2QuickfixProvider
- extends DefaultQuickfixProvider
- Author:
- Jan Koehnlein - Quickfixes for inconsistent indentation, Sebastian Zarnekow - Quickfixes for misspelled types and constructors
Methods inherited from class org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider |
fixCrossReferenceImage, fixCrossReferenceLabel, getModificationContextFactory, getQualifiedNameConverter, getResolutions, getResolutionsForLinkingIssue, getScopeProvider, getSimilarityMatcher, getUnresolvedEReference, hasResolutionFor, queryScope |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Xtend2QuickfixProvider
public Xtend2QuickfixProvider()
createLinkingIssueResolutions
public void createLinkingIssueResolutions(Issue issue,
IssueResolutionAcceptor issueResolutionAcceptor)
- Filter quickfixes for types and constructors.
- Overrides:
createLinkingIssueResolutions
in class DefaultQuickfixProvider
getImportedTypesScope
protected IScope getImportedTypesScope(org.eclipse.emf.ecore.EObject model,
java.lang.String misspelled,
IScope actualScope)
getImportedTypesScope
protected IScope getImportedTypesScope(org.eclipse.jdt.core.search.IJavaSearchScope scope,
org.eclipse.emf.ecore.EObject model,
java.lang.String misspelled,
IScope actualScope)
throws org.eclipse.jdt.core.JavaModelException
- Throws:
org.eclipse.jdt.core.JavaModelException
isSimilarTypeName
protected boolean isSimilarTypeName(java.lang.String s0,
java.lang.String s1)
fixIndentation
public void fixIndentation(Issue issue,
IssueResolutionAcceptor acceptor)