org.eclipse.tptp.platform.analysis.codereview.cpp.quickfix.declaration
Class RuleDeclarationMultipleDeclarationsQuickFix
java.lang.Object
org.eclipse.tptp.platform.analysis.core.quickfix.AbstractAnalysisQuickFix
org.eclipse.tptp.platform.analysis.codereview.cpp.quickfix.CppCodeReviewQuickFix
org.eclipse.tptp.platform.analysis.codereview.cpp.quickfix.declaration.RuleDeclarationMultipleDeclarationsQuickFix
- All Implemented Interfaces:
- org.eclipse.core.runtime.IExecutableExtension, IAnalysisQuickFix
public class RuleDeclarationMultipleDeclarationsQuickFix
- extends CppCodeReviewQuickFix
This class is a first attempt at quickfix support for C++ Analysis rules.
Currently, it is waiting for CDT refactoring support, for more info,
see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=75364
|
Method Summary |
org.eclipse.text.edits.TextEdit |
fixCodeReviewResult(org.eclipse.cdt.core.dom.ast.IASTNode node,
org.eclipse.jface.text.IDocument docToChange)
Perform the actual quickfix |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuleDeclarationMultipleDeclarationsQuickFix
public RuleDeclarationMultipleDeclarationsQuickFix()
fixCodeReviewResult
public org.eclipse.text.edits.TextEdit fixCodeReviewResult(org.eclipse.cdt.core.dom.ast.IASTNode node,
org.eclipse.jface.text.IDocument docToChange)
- Description copied from class:
CppCodeReviewQuickFix
- Perform the actual quickfix
- Specified by:
fixCodeReviewResult in class CppCodeReviewQuickFix
- Returns:
true if the quickfix operated successfully; return false
otherwise