Files
openide/java/java-tests/testData/comment/to_javadoc/beforeJavadoc.java
Nikita Eshkeev c5b1182e6a IDEA-224332 Replace line comment before a method with a Javadoc comment
Adds a new intention with the name "replace with javadoc" that converts end-of-line comments and c-style block comments with javadoc comments.

The idea is to grab all the comments (left and right siblings) that belong to a PsiMember, squash them together and make a javadoc out of their combined content.

GitOrigin-RevId: b93bbab4a31d318c8b6e0557a7c6f88622f4abac
2021-03-31 19:13:43 +00:00

8 lines
115 B
Java

// "Replace with javadoc" "false"
class Main {
/**
* javadoc<caret>
*/
private static final int i = 0;
}