I am looking for a \"self\" reference to the current class in JAVA in a static context manner like in PHP Scope Resolution Operator?
Solution: Break out of scope? BEWARE
You don't need to use any of those. What I find convenient to use is:
//Logger
private static final Logger logger = LoggerFactory.getLogger(CreateEmployeeRecord.class or this.class);
Do it in every class that needs logging, and change class name in bracket to corresponding class wherever it's being used.