title: IDEA IntelliJ and code snippet using package and class names
body: <p>I'd like to make quicker a process of creating in every class a piece of code with following definition:</p>
  
  <pre><code>private static String TAG = "%PACKAGE_NAME%.%CLASS_NAME%";
  </code></pre>
  
  <p>so the sample result should looking like:</p>
  
  <pre><code>package info.chrzanowski.project; // %PACKAGE_NAME%
  public class Test { // %CLASS_NAME%
  
      private static String TAG = "info.chrzanowski.project.Test";
  
  }
  </code></pre>
  
  <p>How can I achieve that with for example using <code>Alt+Insert</code> (Generate popup) or in some else way ?</p>