Skip to content

Commit e44aca0

Browse files
committed
Java: Add printAST test with javadoc
1 parent 0f4df0d commit e44aca0

File tree

2 files changed

+460
-125
lines changed

2 files changed

+460
-125
lines changed

java/ql/test/library-tests/printAst/A.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,18 @@ void varDecls(Object[] things) {
5656
return;
5757
}
5858
}
59+
60+
enum E {
61+
/**
62+
* Javadoc for enum constant
63+
*/
64+
A,
65+
B,
66+
C;
67+
}
68+
69+
/**
70+
* Javadoc for fields
71+
*/
72+
int i, j, k;
5973
}

0 commit comments

Comments
 (0)