public class Fields extends Object
| Constructor and Description |
|---|
Fields() |
| Modifier and Type | Method and Description |
|---|---|
List<TargetField> |
all() |
TargetField |
get(String fieldName) |
List<TargetField> |
withAnnotation(Class<? extends Annotation> annotationCls) |
List<TargetField> |
withType(Class<?> fieldType) |
List<TargetField> |
withTypeAndAnnotation(Class<?> fieldType,
Class<? extends Annotation> annotationClass) |
public TargetField get(String fieldName)
public List<TargetField> all()
public List<TargetField> withType(Class<?> fieldType)
public List<TargetField> withAnnotation(Class<? extends Annotation> annotationCls)
public List<TargetField> withTypeAndAnnotation(Class<?> fieldType, Class<? extends Annotation> annotationClass)
Copyright © 2020. All rights reserved.