Package org.jvnet.jaxb.annox.model
Class XParameter
- java.lang.Object
-
- org.jvnet.jaxb.annox.model.XAnnotated
-
- org.jvnet.jaxb.annox.model.XParameter
-
public class XParameter extends XAnnotated
Defines an annotated method or constructor parameter.- Author:
- Aleksei Valikov
-
-
Constructor Summary
Constructors Constructor Description XParameter(Class<?> type, XAnnotation<?>[] xannotations)Constructs an annotated method parameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>getType()Returns type of the method parameter.-
Methods inherited from class org.jvnet.jaxb.annox.model.XAnnotated
equals, getAnnotations, getXAnnotations, hashCode, toString
-
-
-
-
Constructor Detail
-
XParameter
public XParameter(Class<?> type, XAnnotation<?>[] xannotations)
Constructs an annotated method parameter.- Parameters:
type- parameter type.xannotations- parameter annotations.
-
-
Method Detail
-
getType
public Class<?> getType()
Returns type of the method parameter.- Returns:
- Type of the method parameter.
-
-