[java] 클래스의 최종 정적 필드 값을 어떻게 참조 할 수 있습니까?

JavaDoc을 사용하여 클래스의 최종 정적 필드 값을 어떻게 참조 할 수 있습니까?

???이 예제에서 필드 값으로 대체 하고 싶습니다 STATIC_FIELD.

/**
 * This is a simple class with only one static field with the value ???.
 */
public class Simple {

    /**
     * We can reference the value with {@value} here, 
     * but how do we reference it in the class JavaDoc?
     */
    public static final String STATIC_FIELD = "simple static field";

}



답변

의미 {@value #STATIC_FIELD}합니까?


답변