Files
codeql/java/ql/test/library-tests/javadoc/PrintAst.expected
Joe 28338eb32e Java: PrintAst: Various minor fixes of typos
Fix references to C#

Fix getAPrimaryQlClass for JavadocTag

Fix typo for Import

Update test outputs
2020-09-15 15:02:56 +01:00

30 lines
1.1 KiB
Plaintext

javadoc/Test.java:
# 0| [CompilationUnit] Test
# 4| 1: [Class] Test
#-----| -4: (Javadoc)
# 3| 1: [Javadoc] /** A test class. */
# 3| 0: [JavadocText] A test class.
# 7| 2: [Method] f
#-----| 0: (Javadoc)
# 5| 1: [Javadoc] /** A javadoc ... */
# 5| 0: [JavadocText] A javadoc
# 6| 1: [JavadocText] comment
# 7| 3: [TypeAccess] void
# 7| 5: [BlockStmt] stmt
# 11| 3: [Method] g
#-----| 0: (Javadoc)
# 9| 1: [Javadoc] /** Another javadoc comment */
# 9| 0: [JavadocText] Another javadoc comment
# 11| 3: [TypeAccess] void
# 11| 5: [BlockStmt] stmt
# 14| 4: [FieldDeclaration] int x, ...;
# 14| -1: [TypeAccess] int
# 15| 5: [FieldDeclaration] int y, ...;
# 15| -1: [TypeAccess] int
# 18| 6: [Method] h
#-----| 0: (Javadoc)
# 17| 1: [Javadoc] /** @deprecated */
# 17| 0: [JavadocTag] @deprecated
# 18| 3: [TypeAccess] void
# 18| 5: [BlockStmt] stmt