public final class FieldUtils2 extends Object
public static List<Field> getFields(Class clazz, boolean forceAccess)
Field breaking scope if requested. Superclasses/interfaces are considered.clazz - the class to reflect, must not be nullforceAccess - whether to break scope restrictions using the setAccessible method.
False only matches public fields.Copyright © 2009–2015 SonarSource. All rights reserved.