-
-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix Problems with javadoc parameters @exception and others (#3035)
@exception, @Serialdata, @serialFiel
- Loading branch information
Showing
8 changed files
with
185 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package spoon.test.javadoc.testclasses; | ||
|
||
import java.io.FileNotFoundException; | ||
|
||
public class A { | ||
|
||
/** | ||
* @throws IllegalArgumentException if .... | ||
*/ | ||
void m1() { | ||
|
||
} | ||
|
||
/** | ||
* @exception FileNotFoundException if .... | ||
*/ | ||
void m2() { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
package spoon.test.javadoc.testclasses; | ||
|
||
public class B { | ||
|
||
/** | ||
* @version 42 | ||
*/ | ||
enum Something { ONE, TWO, THREE } | ||
|
||
/** | ||
* @author somebody | ||
*/ | ||
void m1() {} | ||
|
||
/** | ||
* @deprecated | ||
*/ | ||
void m2() {} | ||
|
||
/** | ||
* @exception RuntimeException if ... | ||
*/ | ||
void m3() {} | ||
|
||
/** | ||
* @param a ... | ||
*/ | ||
void m4(int a) {} | ||
|
||
/** | ||
* @return 42 | ||
*/ | ||
int m5() { return 42; } | ||
|
||
/** | ||
* @see B | ||
*/ | ||
void m6() {} | ||
|
||
/** | ||
* @serial description | ||
*/ | ||
int m7; | ||
|
||
/** | ||
* @serialData description | ||
*/ | ||
void m8() {} | ||
|
||
/** | ||
* @serialField description | ||
*/ | ||
int m9; | ||
|
||
/** | ||
* @since 42 | ||
*/ | ||
void m10() {} | ||
|
||
/** | ||
* @throws RuntimeException if ... | ||
*/ | ||
void m11() {} | ||
|
||
/** | ||
* @somethingInconsistent ... | ||
*/ | ||
void m12() {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters