private < X > void onDeclaredFields ( Class < X > clazz , AbstractManagedType < X > managedType ) { Field [ ] embeddedFields = clazz . getDeclaredFields ( ) ; for ( Field f : embeddedFields ) { if ( isNonTransient ( f ) ) { new TypeBuilder < T > ( f ) . build ( managedType , f . getType ( ) ) ; } } }
On declared fields .