Class XParameter


  • public class XParameter
    extends XAnnotated
    Defines an annotated method or constructor parameter.
    Author:
    Aleksei Valikov
    • 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.