Update javadoc for resource injection and prefs annotations