class ReflectionUtils {

    @Api(2.0)
    @NonNull
    public static Field[] getFields(@NonNull Class clazz, boolean bringParents) {
        return bringParents ? clazz.getFields() : clazz.getDeclaredFields();
    }

    private  ReflectionUtils();

}