Class UnnecessaryCastRule

All Implemented Interfaces:
AstVisitor, JavaVisitor, Rule, PropertySource

public class UnnecessaryCastRule extends AbstractJavaRulechainRule
Detects casts where the operand is already a subtype of the context type, or may be converted to it implicitly.
  • Constructor Details

    • UnnecessaryCastRule

      public UnnecessaryCastRule()
  • Method Details