Query module NoConstantsOnly

name
Constant interface anti-pattern
description
Implementing an interface (or extending an abstract class) only to put a number of constant definitions into scope is considered bad practice.
kind
problem
problem.severity
recommendation
precision
high
id
java/constants-only-interface
tags
maintainability modularity

Imports

Member

Provides classes and predicates for working with members of Java classes and interfaces, that is, methods, constructors, fields and nested types.

Predicates

Classes