79770395

Date: 2025-09-20 15:38:46
Score: 0.5
Natty:
Report link

This can be achieved with "currClassName". An example is this template:

private static final ${loggerType type="java.util.logging.Logger" default="Logger" editable="false"} logger = ${loggerType}.getLogger(${classVar editable="false" currClassName default="getClass()"}.class.getName());
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: TXN