title: How to get @param text in Java?
body: <p>What I have is this code, and I would like to get the text after each <code>@param</code>.
  Now, I have looked around on the web and I know that <code>@param</code> is only used by Javadoc for documentation, but is there maybe a way to prevent this, so that the text can be accesses inside the code, or maybe a way to circumvent this and get a similar result?</p>
  
  <p>The class is a .class file by the way, so it is already complied and I can't really decompile it, because this is just an example and I would like to apply this to many more classes.</p>
  
  <pre><code>class Test {
  
      Test () {
  
      }
  
      /**
      * @param x left rigth
      * @param y up down
      */
      public NeVector set(float x, float y) {
          this.x = x;
          this.y = y;
          this.z = 0;
          return this;
      }
  }
  </code></pre>
  
  <p>What I was hoping for was something like:</p>
  
  <pre><code>Method[] m = Test.getClass().getMethods();
  String[][] paramText = new String[0][];
  for (int i = 0; i &lt; m.length; i++) {
      paramText[i] = (String[])m[i].getParamTexts(); 
      //sort of //returning all the @param 's for this 
      //method
  }
  </code></pre>
  
  <p>But I couldn't find anything close to this (actually nothing that could get this at all... I also tried with the Annotation class (I have no idea if that has to do with one another, but apparently not...) But got nowhere.</p>
  
  <p>If anyone knows any way to get the text from the <code>@param</code> notes, even if it's a real workaround, as long as I don't have to change the source material, I'd greatly appreciate it.</p>