Class JParameter
java.lang.Object
org.codehaus.mojo.servicedocgen.introspection.JElement
org.codehaus.mojo.servicedocgen.introspection.JParameter
-
Constructor Summary
ConstructorsConstructorDescriptionJParameter(net.sf.mmm.util.reflect.api.GenericType<?> byteType, Annotation[] byteAnnotations, com.thoughtworks.qdox.model.JavaParameter parameter, String comment, int index) The constructor. -
Method Summary
Methods inherited from class JElement
getByteType, getByteTypeString, getComment, getSourceType
-
Constructor Details
-
JParameter
public JParameter(net.sf.mmm.util.reflect.api.GenericType<?> byteType, Annotation[] byteAnnotations, com.thoughtworks.qdox.model.JavaParameter parameter, String comment, int index) The constructor.- Parameters:
byteType- - seeJElement.getByteType().byteAnnotations- - seegetByteAnnotations().parameter- - seegetParameter().comment- - seeJElement.getComment().index- the index of the parameter in the method arguments.
-
-
Method Details
-
getParameter
public com.thoughtworks.qdox.model.JavaParameter getParameter()- Returns:
- the
JavaParameterfrom source-code analysis. May benull.
-
getByteAnnotations
- Returns:
- the array of
Annotations from byte-code analysis. Do not modify.
-
getName
- Returns:
- the name of the parameter (from source-code if available).
-
toString
-