TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.analysis.codereview.java.internal.rules.statement
Class RuleStatementSurroundWithBraces

java.lang.Object
  extended by org.eclipse.tptp.platform.analysis.core.element.AbstractAnalysisElement
      extended by org.eclipse.tptp.platform.analysis.core.rule.AbstractAnalysisRule
          extended by org.eclipse.tptp.platform.analysis.codereview.java.internal.rules.statement.RuleStatementSurroundWithBraces
All Implemented Interfaces:
org.eclipse.core.runtime.IExecutableExtension, org.eclipse.tptp.platform.analysis.core.element.IAnalysisElement, org.eclipse.tptp.platform.analysis.core.rule.IAnalysisRule

public class RuleStatementSurroundWithBraces
extends org.eclipse.tptp.platform.analysis.core.rule.AbstractAnalysisRule


Field Summary
 
Fields inherited from class org.eclipse.tptp.platform.analysis.core.element.AbstractAnalysisElement
CATEGORY_ELEMENT_TYPE, COMBO_VALUE, DETAIL_PROVIDER, PLUGIN_PROP_CATEGORY, PLUGIN_PROP_CLASS, PLUGIN_PROP_CONFIGURATION, PLUGIN_PROP_DESCRIPTION, PLUGIN_PROP_HELP, PLUGIN_PROP_ICON, PLUGIN_PROP_ID, PLUGIN_PROP_LABEL, PLUGIN_PROP_MANAGER, PLUGIN_PROP_PROVIDER, PLUGIN_PROP_QUICKFIX_ICON, PLUGIN_PROP_RESULT_VIEW_ID, PLUGIN_PROP_SEVERITY, PLUGIN_PROP_VIEWER, PROVIDER_ELEMENT_TYPE, PROVIDER_MANAGER_ELEMENT_TYPE, RESULT_ELEMENT_TYPE, RULE_ELEMENT_TYPE
 
Constructor Summary
RuleStatementSurroundWithBraces()
           
 
Method Summary
 void analyze(org.eclipse.tptp.platform.analysis.core.history.AnalysisHistory history)
          Analyze this rule
 
Methods inherited from class org.eclipse.tptp.platform.analysis.core.rule.AbstractAnalysisRule
addHistoryResultSet, getIconName, getLabelWithParameters, getLabelWithVariables, getOwnedElements, getQuickFix, getQuickFixCount, getQuickFixIterator, getViewer, hasQuickFixes, isCustom, removeHistoryResultSet, setCustom, setInitializationData, setQuickFixId
 
Methods inherited from class org.eclipse.tptp.platform.analysis.core.element.AbstractAnalysisElement
addDetailProvider, addHistoryResultSet, addOwnedElement, addOwnedElements, addParameter, addParameters, basicGetHistoryResults, deleteHistoryResults, dispose, getDetailProviders, getElementType, getExecutionHistory, getExternalDataMap, getHelpID, getHistoryResults, getId, getLabel, getOwner, getOwnerId, getParameter, getParameterCount, getParameterList, getPluginId, getProvider, getProviderManager, getViewerID, getVisibleParameterCount, loadOwnedVariables, loadOwnedVariables, postAnalyze, preAnalyze, removeHistoryResultSet, setElementType, setExternalDataMap, setHelpID, setIconName, setId, setInitializationData, setLabel, setOwner, setOwnerId, setPluginId, tearDown, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.tptp.platform.analysis.core.rule.IAnalysisRule
addParameter, addParameters, getParameter, getParameterCount, getParameterList, getProvider, getVisibleParameterCount
 
Methods inherited from interface org.eclipse.tptp.platform.analysis.core.element.IAnalysisElement
addDetailProvider, addHistoryResultSet, addOwnedElement, addOwnedElements, dispose, getDetailProviders, getElementType, getExternalDataMap, getHelpID, getHistoryResults, getId, getLabel, getOwner, getPluginId, preAnalyze, setElementType, setExternalDataMap, setHelpID, setIconName, setId, setLabel, setOwner, setPluginId
 

Constructor Detail

RuleStatementSurroundWithBraces

public RuleStatementSurroundWithBraces()
Method Detail

analyze

public void analyze(org.eclipse.tptp.platform.analysis.core.history.AnalysisHistory history)
Analyze this rule

Specified by:
analyze in interface org.eclipse.tptp.platform.analysis.core.rule.IAnalysisRule
Specified by:
analyze in class org.eclipse.tptp.platform.analysis.core.rule.AbstractAnalysisRule
Parameters:
history - A reference to the history record for this analysis

TPTP 4.5.0 Platform Project
Internal API Specification