Class JMethod

java.lang.Object
org.codehaus.mojo.servicedocgen.introspection.JMethod

public class JMethod extends Object
Rich representation of a Method with both byte-code and source-code analysis information.
Author:
hohwille
  • Constructor Details

  • Method Details

    • getType

      public JType getType()
      Returns:
      the type
    • getSourceMethod

      public com.thoughtworks.qdox.model.JavaMethod getSourceMethod()
      Returns:
      the sourceMethod
    • getByteMethod

      public Method getByteMethod()
      Returns:
      the byteMethod
    • getParameters

      public List<JParameter> getParameters()
      Returns:
      the parameters
    • getExceptions

      public List<JException> getExceptions()
      Returns:
      the exceptions
    • getReturns

      public JReturn getReturns()
      Returns:
      the returns
    • getComment

      public String getComment()
      Returns:
      the comment
    • getName

      public String getName()
      Returns:
      the name of the Method.
    • toString

      public String toString()
      Overrides:
      toString in class Object