public interface FieldUtils
static List<VariableElement> getDeclaredFields(Element element, Predicate<VariableElement>... fieldFilters)
static List<VariableElement> getDeclaredFields(Element element)
static List<VariableElement> getDeclaredFields(TypeMirror type, Predicate<VariableElement>... fieldFilters)
static List<VariableElement> getDeclaredFields(TypeMirror type)
static List<VariableElement> getAllDeclaredFields(Element element, Predicate<VariableElement>... fieldFilters)
static List<VariableElement> getAllDeclaredFields(Element element)
static List<VariableElement> getAllDeclaredFields(TypeMirror type, Predicate<VariableElement>... fieldFilters)
static List<VariableElement> getAllDeclaredFields(TypeMirror type)
static VariableElement getDeclaredField(Element element, String fieldName)
static VariableElement getDeclaredField(TypeMirror type, String fieldName)
static VariableElement findField(Element element, String fieldName)
static VariableElement findField(TypeMirror type, String fieldName)
static boolean isEnumMemberField(VariableElement field)
field - VariableElement must be public static final fieldstrue, or falsestatic boolean isNonStaticField(VariableElement field)
static boolean isField(VariableElement field)
static boolean isField(VariableElement field, Modifier... modifiers)
static List<VariableElement> getNonStaticFields(TypeMirror type)
static List<VariableElement> getNonStaticFields(Element element)
static List<VariableElement> getAllNonStaticFields(TypeMirror type)
static List<VariableElement> getAllNonStaticFields(Element element)
static boolean equals(VariableElement field, CharSequence fieldName)
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.