2 Replies Latest reply: Nov 9, 2008 3:35 PM by 843793 RSS

    File header parsing

    843793
      Is it possible to get the file header section of a class? Usually it contains the copyright information. For example
      /*
       * File header section.
       * copyright (c) ...
       */
      package package.name;
      
      /**
       * class doc comment
       */
      class Foo
      {
      }
      I could get the class doc comment from APT no problem, but I also need the file header information so that I could replicate it in the output as well. Anyways to do it?

      Thanks.