mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
copy javadoc to the generated constructor (IDEADEV-41681)
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
class Test {
|
||||
/**
|
||||
* foo comment
|
||||
* @param param
|
||||
*/
|
||||
void foo(Param param) {
|
||||
bar(param.getS());
|
||||
}
|
||||
|
||||
void bar(String s){}
|
||||
|
||||
private static class Param {
|
||||
private final String s;
|
||||
|
||||
/**
|
||||
* @param s long description
|
||||
*/
|
||||
private Param(String s) {
|
||||
this.s = s;
|
||||
}
|
||||
|
||||
public String getS() {
|
||||
return s;
|
||||
}
|
||||
}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
class Test {
|
||||
/**
|
||||
* foo comment
|
||||
* @param s long description
|
||||
*/
|
||||
void foo(String s) {
|
||||
bar(s);
|
||||
}
|
||||
|
||||
void bar(String s){}
|
||||
}
|
||||
Reference in New Issue
Block a user