UnimplementedTypeRule (Generally Available)

UnimplementedTypeRule detects abstract classes and interfaces that are non-global and missing implementations or extensions.

UnimplementedTypeRule is a traditional static analysis rule where a violation occurs at a point in the code where the interface or abstract class is declared. It doesn’t use sources or sinks.

Match any violation message that you receive with this case to understand more about the violation.

Extend, implement, or delete %s %s

Because this abstract class or interface has no implementations or extensions, it can’t be instantiated. It’s unnecessary and can be deleted.

Because UnimplementedType rule excludes global scoped classes from consideration, these classes are prevented from being thrown as false positives and aren’t false negatives.