Error Identifiers: instanceof.*

Menu

← Back to all error identifiers

There are 12 error identifiers in the instanceof.* group:

  • Instanceof check will always evaluate to false based on the inferred types.

  • Instanceof check will always evaluate to true, making it redundant.

  • Instanceof check references a deprecated class.

  • Instanceof check references a deprecated enum.

  • Instanceof check references a deprecated interface.

  • Instanceof check references a deprecated trait.

  • Instanceof check references an internal class from another package.

  • Instanceof check references an internal enum from another package.

  • Instanceof check references an internal interface from another package.

  • Instanceof check references an internal trait from another package.

  • Right-hand side of instanceof is not a string or object.

  • Instanceof check against a trait always evaluates to false.