如何在类中引用最终静态字段的值?

使用 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";


}
55074 次浏览

你是说 {@value #STATIC_FIELD}吗?