JavaDoc を使用して、クラス内の final 静的フィールドの値を参照するにはどうすればよいですか?
この例では、 を???
フィールド の値に置き換えます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";
}
ベストアンサー1
つまり ですか{@value #STATIC_FIELD}
?