public Set < Field > getFields ( boolean privileged ) { if ( privileged ) { return Collections . unmodifiableSet ( Sets . union ( fields , declaredFields ) ) ; } else { return Collections . unmodifiableSet ( fields ) ; } }
Gets fields .