import static org.opendaylight.yangtools.checkstyle.CheckLoggingUtil.isAFieldVariable;
-import com.puppycrawl.tools.checkstyle.api.Check;
+import com.puppycrawl.tools.checkstyle.api.AbstractCheck;
import com.puppycrawl.tools.checkstyle.api.DetailAST;
import com.puppycrawl.tools.checkstyle.api.TokenTypes;
-public class LoggerDeclarationsCountCheck extends Check {
+public class LoggerDeclarationsCountCheck extends AbstractCheck {
private static final String LOG_MESSAGE = "Logger might be declared only once.";
private String prevClassName = "";