facebook pixelCodiga Analysis Java Rules, severity informational , category error prone
BACK TO LIST

Java rules

The Codiga Code Analysis engine supports hundreds of rules for Java, checking that your code is safe and secure. Start using Codiga today to check your code and automate your code reviews to find issues in every pull request and merge with confidence.

InstantiationToGetClass

Error prone
Informational

Avoid instantiating an object just to call getClass() on it; use the .class public member instead

Learn more