我正在使用Eclipse IDE进行Java项目开发。
我有一个问题。我的项目中有些方法带有如下的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中。