공개 변수(일반적으로 정적 상수를 의미)만 문서화하면 된다. 예는 다음과 같다.
/**
* 연간 일 수(윤년 제외)
*/
public static final int DAYS_PER_YEAR = 365;