IDEA-108141 reused code of FixDocCommentAction

This commit is contained in:
Dmitry Batkovich
2014-06-03 15:06:11 +04:00
parent d03289c9e5
commit 6a73a7151e
15 changed files with 213 additions and 5 deletions
@@ -0,0 +1,8 @@
// "Add Javadoc" "true"
/**
*
*/
class Foo {
}
@@ -0,0 +1,10 @@
// "Add Javadoc" "true"
class A {
/**
*
*/
private int myFoo;
}
@@ -0,0 +1,10 @@
// "Add Javadoc" "true"
class A {
/**
*
*/
public void foo() {
}
}
@@ -0,0 +1,12 @@
// "Add Javadoc" "true"
class A {
/**
* @param s
* @return
* @throws Exception
*/
public int foo(final String s) throws Exception {
}
}
@@ -0,0 +1,5 @@
// "Add Javadoc" "true"
class Fo<caret>o {
}
@@ -0,0 +1,13 @@
// "Add Javadoc" "false"
class A {
void m() {
Object o<caret> = new Object() {
}
}
}
@@ -0,0 +1,7 @@
// "Add Javadoc" "true"
class A {
private int myFo<caret>o;
}
@@ -0,0 +1,7 @@
// "Add Javadoc" "true"
class A {
public void f<caret>oo() {
}
}
@@ -0,0 +1,7 @@
// "Add Javadoc" "true"
class A {
public int f<caret>oo(final String s) throws Exception {
}
}