| 构造器和说明 |
|---|
SimpleField() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
access()
访问权限
|
SimpleField |
access(int access) |
Annotation |
annotation(Class type)
根据注解类型获取对应的
|
Optional<Annotation> |
annotationOpt(Class type)
根据注解类型获取对应的 Optional
|
List<Annotation> |
annotations()
注解列表
|
SimpleField |
annotations(List<Annotation> annotations) |
int |
compareTo(IField o) |
Field |
field()
原始字段信息
|
SimpleField |
field(Field field) |
String |
fullName()
全称
|
SimpleField |
fullName(String fullName) |
String |
name()
简称
|
SimpleField |
name(String name) |
Class |
type()
类型
|
SimpleField |
type(Class type) |
Object |
value()
当前字段的值
|
SimpleField |
value(Object value)
设置值
|
public List<Annotation> annotations()
IFieldannotations 在接口中 IFieldpublic Optional<Annotation> annotationOpt(Class type)
IFieldannotationOpt 在接口中 IFieldtype - 类型public Annotation annotation(Class type)
IFieldannotation 在接口中 IFieldtype - 类型public SimpleField annotations(List<Annotation> annotations)
public SimpleField name(String name)
public SimpleField fullName(String fullName)
public SimpleField type(Class type)
public SimpleField access(int access)
public SimpleField value(Object value)
IFieldpublic SimpleField field(Field field)
public int compareTo(IField o)
compareTo 在接口中 Comparable<IField>Copyright © 2024. All rights reserved.