I have a logger defined for every Java class:
private XLogger logger = XLoggerFactory
.getXLogger(AuthenticationFailureHandlerImpl.class.getName());
I want to add this to Eclipse snippets. Is there a pre-defined Eclipse variable such that the class name could be dynamically replaced with the class name where this snippet is inserted?
Thank you.
I'm using this:
Define it in Java->Editor->Templates of the Eclipse Preferences.