chore(core): add javadoc for spin class

related to #CAM-3021