public abstract class AbstractUnit<PARAM extends AbstractParam> extends Object implements Annotated, Comparable<AbstractUnit<PARAM>>, Documentable
| 构造器和说明 |
|---|
AbstractUnit(Method method,
AbstractModule<?> module) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
afterInit() |
protected abstract PARAM |
buildParam(Method method,
int index) |
AccessAllow |
getAccessAllow() |
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Annotation[] |
getAnnotations() |
DefinitionContext |
getContext() |
<T extends Annotation> |
getDeclaredAnnotation(Class<T> annotationClass) |
AbstractModule<?> |
getDeclaringModule() |
String |
getDescription() |
String |
getFunctionName() |
Type |
getGenericReturnType() |
abstract String |
getInvokeType() |
String |
getLabel() |
Method |
getMethod() |
abstract String |
getName() |
PARAM[] |
getParameters() |
Class<?> |
getReturnType() |
String[] |
getRoles() |
Signable |
getSignable() |
boolean |
isDeprecated() |
protected abstract PARAM[] |
toArrays(List<PARAM> params) |
protected abstract DefinitionContext |
toContext() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompareTopublic AbstractUnit(Method method, AbstractModule<?> module)
protected void afterInit()
public AbstractModule<?> getDeclaringModule()
public Method getMethod()
public abstract String getName()
public String getLabel()
getLabel 在接口中 Documentablepublic String getDescription()
getDescription 在接口中 Documentablepublic String getFunctionName()
public abstract String getInvokeType()
public Class<?> getReturnType()
public Type getGenericReturnType()
public AccessAllow getAccessAllow()
public String[] getRoles()
public Signable getSignable()
public <T extends Annotation> T getDeclaredAnnotation(Class<T> annotationClass)
getDeclaredAnnotation 在接口中 AnnotatedT - annotationClass - annotationClasspublic <T extends Annotation> T getAnnotation(Class<T> annotationClass)
public Annotation[] getAnnotations()
getAnnotations 在接口中 Annotatedpublic final PARAM[] getParameters()
public DefinitionContext getContext()
protected abstract DefinitionContext toContext()
public boolean isDeprecated()
Copyright © 2022. All rights reserved.