我在Java项目中使用Eclipse IDE。
我有一个问题。我的项目中有包含javadoc注释的方法,如下所示:
/**
* Retruns the string representation of a input stream
* @param in
* @return
* @throws IOException
*/
public static String getStringFromInputStream (InputStream in) throws IOException {
StringBuffer out = new StringBuffer();
byte[] b = new byte[4096];
for (int n; (n = in.read(b)) != -1;) {
out.append(new String(b, 0, n));
}
return out.toString();
}
现在,我想知道,是否有什么方法可以在我对方法签名进行更改时自动将这些更改反映在javadoc中。
按下Atl+Shift+R
并更改
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句