meine Frage ist, sollte ich einen Kommentar wie folgt vor:Java Kommentar für Getter und Setter-Methode
/**
* Getter for {@link #auto_key}
* @return {@link #auto_key}
*/
public String getAuto_key() {
return auto_key;
}
/**
* Setter for {@link #auto_key}
* @param auto_key the {@link #auto_key} to set
*/
public void setAuto_key(String auto_key) {
this.auto_key = auto_key;
}
im Grunde möchte ich fragen, mit {} @link in Kommentar für Getter und Setter-Methode ist richtig? Oder sollte ich einen normalen Kommentar verwenden, ohne {@link} zu verwenden? und auf diese Weise ist ein Java-Standard oder nicht?