add protected -> private in javadoc