public class PojoProperty extends Object
| 限定符 | 构造器和说明 |
|---|---|
protected |
PojoProperty(Field field,
Type type) |
protected |
PojoProperty(Method method,
Field field,
boolean readonly,
Type type,
String name) |
protected |
PojoProperty(PojoProperty property,
Type type) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Annotation> |
findAllDecoratedBy(Class<? extends Annotation> decoratedClass) |
Annotation |
findDecoratedBy(Class<? extends Annotation> decoratedClass) |
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Annotation[] |
getAnnotations() |
Field |
getField() |
Method |
getMethod() |
String |
getName() |
Type |
getType() |
boolean |
isReadonly() |
String |
toString() |
protected PojoProperty(PojoProperty property, Type type)
public Method getMethod()
public Field getField()
public boolean isReadonly()
public Type getType()
public String getName()
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
public Annotation findDecoratedBy(Class<? extends Annotation> decoratedClass)
public List<Annotation> findAllDecoratedBy(Class<? extends Annotation> decoratedClass)
public Annotation[] getAnnotations()
Copyright © 2022. All rights reserved.