类 AbstractParam

java.lang.Object
org.coodex.concrete.common.modules.AbstractParam
所有已实现的接口:
Annotated, Documentable
直接已知子类:
AParam

public abstract class AbstractParam extends Object implements Annotated, Documentable
Created by davidoff shen on 2016-11-30.
  • 构造器详细资料

    • AbstractParam

      public AbstractParam(Method method, int index)
  • 方法详细资料

    • getLabel

      public String getLabel()
      指定者:
      getLabel 在接口中 Documentable
    • getDescription

      public String getDescription()
      指定者:
      getDescription 在接口中 Documentable
    • getType

      public Class<?> getType()
      返回:
      参数类型
    • getAnnotations

      public Annotation[] getAnnotations()
      指定者:
      getAnnotations 在接口中 Annotated
      返回:
      获取全部注解
    • getGenericType

      public Type getGenericType()
      返回:
      参数泛型类型
    • getName

      public String getName()
      返回:
      参数名
    • getIndex

      public int getIndex()
      返回:
      参数索引号
    • getDeclaredAnnotation

      public <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass)
      指定者:
      getDeclaredAnnotation 在接口中 Annotated
      类型参数:
      T -
      参数:
      annotationClass - annotationClass
      返回:
      获取某个注解