org.jvnet.annox.model
Class XParameter

java.lang.Object
  extended by org.jvnet.annox.model.XAnnotated
      extended by org.jvnet.annox.model.XParameter

public class XParameter
extends XAnnotated

Defines an annotated method or constructor parameter.

Author:
Aleksei Valikov

Constructor Summary
XParameter(Class<?> type, XAnnotation[] xannotations)
          Constructs an annotated method parameter.
 
Method Summary
 Class<?> getType()
          Returns type of the method parameter.
 
Methods inherited from class org.jvnet.annox.model.XAnnotated
equals, getAnnotations, getXAnnotations, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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.


Copyright © 2006-2011 Highsource. All Rights Reserved.