Java

Java

Made by DeepSource

Private method is never called JAVA-W0324

Anti-pattern
Minor

This private method is never called. Although it is possible that the method will be invoked through reflection, it is more likely that the method is never used, and should be removed.

Unless this method is intended to be used with reflection, it is recommended to remove it to increase code clarity.

If this method is intended to be called through reflection, ensure that the reflective access is implemented correctly.

References