Javadoc'd ProximityDetector. Added checks for protected fields in checks.xml