TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.analysis.codereview.java.internal.quickfix.exceptions
Class TemplateAvoidExtendingRuntimeExceptionQuickFix

java.lang.Object
  extended by org.eclipse.tptp.platform.analysis.core.quickfix.AbstractAnalysisQuickFix
      extended by org.eclipse.tptp.platform.analysis.codereview.java.quickfix.JavaCodeReviewQuickFix
          extended by org.eclipse.tptp.platform.analysis.codereview.java.internal.quickfix.exceptions.TemplateAvoidExtendingClassQuickFix
              extended by org.eclipse.tptp.platform.analysis.codereview.java.internal.quickfix.exceptions.TemplateAvoidExtendingRuntimeExceptionQuickFix
All Implemented Interfaces:
org.eclipse.core.runtime.IExecutableExtension, org.eclipse.tptp.platform.analysis.core.quickfix.IAnalysisQuickFix

public class TemplateAvoidExtendingRuntimeExceptionQuickFix
extends TemplateAvoidExtendingClassQuickFix

QuickFix for the rule TemplateAvoidExtendingRuntime This class quick fixes the extends RuntimeException to extends Exception


Field Summary
 
Fields inherited from class org.eclipse.tptp.platform.analysis.codereview.java.internal.quickfix.exceptions.TemplateAvoidExtendingClassQuickFix
ERROR, EXCEPTION, RUNTIME, THROWABLE
 
Fields inherited from class org.eclipse.tptp.platform.analysis.codereview.java.quickfix.JavaCodeReviewQuickFix
EMPTY_MONITOR
 
Constructor Summary
TemplateAvoidExtendingRuntimeExceptionQuickFix()
           
 
Method Summary
 org.eclipse.text.edits.TextEdit fixCodeReviewResult(org.eclipse.jdt.core.dom.ASTNode theNode, org.eclipse.jface.text.IDocument docToChange)
           
 
Methods inherited from class org.eclipse.tptp.platform.analysis.codereview.java.internal.quickfix.exceptions.TemplateAvoidExtendingClassQuickFix
getType, setType
 
Methods inherited from class org.eclipse.tptp.platform.analysis.codereview.java.quickfix.JavaCodeReviewQuickFix
getASTNodeAsString, getCodeReviewResult, getTextEdit, getWorkingCompilationUnit, quickfix
 
Methods inherited from class org.eclipse.tptp.platform.analysis.core.quickfix.AbstractAnalysisQuickFix
getId, getLabel, setId, setInitializationData, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateAvoidExtendingRuntimeExceptionQuickFix

public TemplateAvoidExtendingRuntimeExceptionQuickFix()
Method Detail

fixCodeReviewResult

public org.eclipse.text.edits.TextEdit fixCodeReviewResult(org.eclipse.jdt.core.dom.ASTNode theNode,
                                                           org.eclipse.jface.text.IDocument docToChange)
Overrides:
fixCodeReviewResult in class TemplateAvoidExtendingClassQuickFix

TPTP 4.5.0 Platform Project
Internal API Specification