public abstract class AbstractModule<UNIT extends AbstractUnit<? extends AbstractParam>> extends Object implements Annotated, Comparable<AbstractModule<UNIT>>, Documentable
| 构造器和说明 |
|---|
AbstractModule(Class<?> interfaceClass) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract UNIT |
buildUnit(Method method) |
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Annotation[] |
getAnnotations() |
<T extends Annotation> |
getDeclaredAnnotation(Class<T> annotationClass) |
String |
getDescription() |
Class<?> |
getInterfaceClass() |
String |
getLabel() |
abstract String |
getName() |
UNIT[] |
getUnits() |
protected abstract UNIT[] |
toArrays(List<UNIT> units) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompareTopublic AbstractModule(Class<?> interfaceClass)
public Class<?> getInterfaceClass()
public abstract String getName()
public String getLabel()
getLabel 在接口中 Documentablepublic String getDescription()
getDescription 在接口中 Documentablepublic final UNIT[] getUnits()
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 在接口中 AnnotatedCopyright © 2022. All rights reserved.