public class FieldBean extends Object
| 构造器和说明 |
|---|
FieldBean() |
| 限定符和类型 | 方法和说明 |
|---|---|
Annotation |
annotation() |
FieldBean |
annotation(Annotation annotation) |
<T extends Annotation> |
annotationByType(Class<T> tClass)
获取指定类型的注解信息
|
<T extends Annotation> |
annotationOptByType(Class<T> tClass)
获取指定类型的注解信息 Optional
|
Field |
field() |
FieldBean |
field(Field field) |
String |
name() |
FieldBean |
name(String name) |
public String name()
public Field field()
public Annotation annotation()
public FieldBean annotation(Annotation annotation)
public <T extends Annotation> T annotationByType(Class<T> tClass)
T - 泛型tClass - 注解类型public <T extends Annotation> Optional<T> annotationOptByType(Class<T> tClass)
T - 泛型tClass - 注解类型Copyright © 2024. All rights reserved.