NetBeans has code templates invoked by typing an abbreviation, and these can use special codes.
I'd like to have this template:
public class GraphTypeManager {
// This would be created by the template
private static final Logger LOG = Logger.getLogger(GraphTypeManager.class.getName());
However, I don't know how to make the template fill in the GraphTypeManager
, i.e. the currently edited class.
Is there something not mentioned in the docs I could use?