public final class FieldUtils2 extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static List<Field> | getFields(Class clazz,
         boolean forceAccess)Get accessible  Fieldbreaking scope if requested. | 
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–2016 SonarSource. All rights reserved.