Skip to content

Instantly share code, notes, and snippets.

@chrisvoronin
Last active April 15, 2016 22:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisvoronin/434de74aea6fccdfcb07cb5da0ffeead to your computer and use it in GitHub Desktop.
Save chrisvoronin/434de74aea6fccdfcb07cb5da0ffeead to your computer and use it in GitHub Desktop.
<b># Local Inspections</b>
@SuppressWarnings("UndesirableClassUsage")
@SuppressWarnings("FileEqualsUsage")
@SuppressWarnings("GtkPreferredJComboBoxRenderer")
@SuppressWarnings("UnsafeVfsRecursion")
@SuppressWarnings("ConstantConditions")
@SuppressWarnings("UnusedAssignment")
@SuppressWarnings("NumericOverflow")
@SuppressWarnings("RedundantCast")
@SuppressWarnings("RedundantTypeArguments")
@SuppressWarnings("RedundantArrayCreation")
@SuppressWarnings("SuspiciousMethodCalls")
@SuppressWarnings("LocalCanBeFinal")
@SuppressWarnings("JavaDoc")
@SuppressWarnings("JavadocReference")
@SuppressWarnings("Deprecation")
@SuppressWarnings("DeprecatedClassUsageInspection")
@SuppressWarnings("EqualsAndHashcode")
@SuppressWarnings("Since15")
@SuppressWarnings("Dependency")
@SuppressWarnings("FieldCanBeLocal")
@SuppressWarnings("ParameterCanBeLocal")
@SuppressWarnings("NullableProblems")
@SuppressWarnings("TestOnlyProblems")
@SuppressWarnings("WrongPackageStatement")
@SuppressWarnings("SillyAssignment")
@SuppressWarnings("RedundantThrowsDeclaration")
@SuppressWarnings("AccessStaticViaInstance")
@SuppressWarnings("DefaultFileTemplate")
@SuppressWarnings("UnusedDeclaration")
@SuppressWarnings("SuspiciousNameCombination")
@SuppressWarnings("DuplicateThrows")
@SuppressWarnings("FieldAccessNotGuarded")
@SuppressWarnings("InstanceGuardedByStatic")
@SuppressWarnings("NonFinalFieldInImmutable")
@SuppressWarnings("NonFinalGuard")
@SuppressWarnings("StaticGuardedByInstance")
@SuppressWarnings("UnknownGuard")
@SuppressWarnings("Convert2Diamond")
@SuppressWarnings("Convert2Lambda")
@SuppressWarnings("Anonymous2MethodRef")
@SuppressWarnings("Convert2MethodRef")
@SuppressWarnings("CodeBlock2Expr")
@SuppressWarnings("JavacQuirks")
@SuppressWarnings("MagicConstant")
<b># Global Inspections</b>
@SuppressWarnings("WeakerAccess")
@SuppressWarnings("CanBeFinal")
@SuppressWarnings("UnusedParameters")
@SuppressWarnings("SameParameterValue")
@SuppressWarnings("UnusedReturnValue")
@SuppressWarnings("SameReturnValue")
@SuppressWarnings("EmptyMethod")
@SuppressWarnings("RedundantThrows")
@SuppressWarnings("UnnecessaryModuleDependencyInspection")
@SuppressWarnings("RedundantSuppression")
Forked from:
https://gist.github.com/chrisvoronin/00e6deb7fb4713fc221e1b948004a31a#file-android-studio-lint-inspections-md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment