Class XParameter

java.lang.Object
org.jvnet.basicjaxb_annox.model.XAnnotated
org.jvnet.basicjaxb_annox.model.XParameter

public class XParameter extends XAnnotated
Defines an annotated method or constructor parameter.
Author:
Aleksei Valikov
  • Constructor Details

    • XParameter

      public XParameter(Class<?> type, XAnnotation<?>[] xannotations)
      Constructs an annotated method parameter.
      Parameters:
      type - parameter type.
      xannotations - parameter annotations.
  • Method Details

    • getType

      public Class<?> getType()
      Returns type of the method parameter.
      Returns:
      Type of the method parameter.