fixes #1 - only requiring javadoc on protected or above