public class DataFlowInspection extends DataFlowInspectionBase
DataFlowInspectionBase.ConstantResult, DataFlowInspectionBase.ProblemReporter
DONT_REPORT_TRUE_ASSERT_STATEMENTS, IGNORE_ASSERT_STATEMENTS, REPORT_CONSTANT_REFERENCE_VALUES, REPORT_NULLABLE_METHODS_RETURNING_NOT_NULL, REPORT_NULLS_PASSED_TO_NOT_NULL_PARAMETER, REPORT_UNSOUND_WARNINGS, SUGGEST_NULLABLE_ANNOTATIONS, TREAT_UNKNOWN_MEMBERS_AS_NULLABLE
EMPTY_ARRAY, VALID_ID_PATTERN
myNameProvider
Constructor and Description |
---|
DataFlowInspection() |
buildVisitor, createSimplifyToAssignmentFix, getGroupDisplayName, getShortName, reportNullabilityProblems, writeSettings
checkClass, checkField, checkMethod
buildVisitor, checkFile, getAlternativeID, getID, getProblemElement, getSuppressId, inspectionFinished, inspectionFinished, inspectionStarted, isValidID, processFile, runForWholeFile
cleanup, getBatchSuppressActions, getBlackList, getDefaultLevel, getDescriptionContextClass, getDescriptionFileName, getDisplayName, getGeneralGroupName, getGroupKey, getGroupPath, getMainToolId, getSerializationFilter, getShortName, getStaticDescription, getSuppressors, initialize, isEnabledByDefault, isInitialized, isSuppressedFor, loadDescription, readSettings, showDefaultConfigurationOptions
protected LocalQuickFix[] createConditionalAssignmentFixes(boolean evaluatesToTrue, PsiAssignmentExpression assignment, boolean onTheFly)
createConditionalAssignmentFixes
in class DataFlowInspectionBase
public javax.swing.JComponent createOptionsPanel()
InspectionProfileEntry
createOptionsPanel
in class DataFlowInspectionBase
null
if no UI options required.protected LocalQuickFix createReplaceWithTrivialLambdaFix(java.lang.Object value)
createReplaceWithTrivialLambdaFix
in class DataFlowInspectionBase
protected LocalQuickFix createMutabilityViolationFix(PsiElement violation, boolean onTheFly)
createMutabilityViolationFix
in class DataFlowInspectionBase
protected LocalQuickFix createExplainFix(PsiExpression anchor, TrackingRunner.DfaProblemType problemType)
createExplainFix
in class DataFlowInspectionBase
protected LocalQuickFix createUnwrapSwitchLabelFix()
createUnwrapSwitchLabelFix
in class DataFlowInspectionBase
protected LocalQuickFix createIntroduceVariableFix()
createIntroduceVariableFix
in class DataFlowInspectionBase
protected LocalQuickFixOnPsiElement createSimplifyBooleanFix(PsiElement element, boolean value)
createSimplifyBooleanFix
in class DataFlowInspectionBase
protected java.util.List<LocalQuickFix> createMethodReferenceNPEFixes(PsiMethodReferenceExpression methodRef, boolean onTheFly)
createMethodReferenceNPEFixes
in class DataFlowInspectionBase
protected LocalQuickFix createRemoveAssignmentFix(PsiAssignmentExpression assignment)
createRemoveAssignmentFix
in class DataFlowInspectionBase
protected java.util.List<LocalQuickFix> createCastFixes(PsiTypeCastExpression castExpression, PsiType realType, boolean onTheFly, boolean alwaysFails)
createCastFixes
in class DataFlowInspectionBase
protected java.util.List<LocalQuickFix> createNPEFixes(PsiExpression qualifier, PsiExpression expression, boolean onTheFly)
createNPEFixes
in class DataFlowInspectionBase
protected LocalQuickFix createNavigateToNullParameterUsagesFix(PsiParameter parameter)
createNavigateToNullParameterUsagesFix
in class DataFlowInspectionBase