자바독(Javadoc)

공개된 모든 클래스, 인터페이스, 메서드, 필드 선언에 문서화 주석을 달자

주석 규칙

메서드 문서화 주석 규칙

  /**
     * Returns the element at the specified position in this list. 
     *
     * <p>This method is <i>not</i> guaranteed to run in constant
     * time. In some implementations it may run in time proportional
     * to the element position.
     *
     * @param  index index of element to return; must be
     *         non-negative and less than the size of this list
     * @return the element at the specified position in this list
     * @throws IndexOutOfBoundsException if the index is out of range
     *         ({@code index < 0 || index >= this.size()})
     */
    E get(int index) {
        return null;
    }

상속용 클래스 문서화 주석 규칙