mirror of
https://github.com/github/codeql.git
synced 2026-03-01 13:23:49 +01:00
Java: PrintAst: Various minor fixes of typos
Fix references to C# Fix getAPrimaryQlClass for JavadocTag Fix typo for Import Update test outputs
This commit is contained in:
@@ -51,7 +51,7 @@ class ImportOnDemandFromType extends Import {
|
||||
|
||||
override string toString() { result = "import " + this.getTypeHoldingImport().toString() + ".*" }
|
||||
|
||||
override string getAPrimaryQlClass() { result = "ImportOnDemandFromTypw" }
|
||||
override string getAPrimaryQlClass() { result = "ImportOnDemandFromType" }
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -92,7 +92,7 @@ class JavadocTag extends JavadocElement, JavadocParent, @javadocTag {
|
||||
/** Gets the text associated with this Javadoc tag. */
|
||||
override string getText() { result = this.getChild(0).toString() }
|
||||
|
||||
override string getAPrimaryQlClass() { result = "Javadoc" }
|
||||
override string getAPrimaryQlClass() { result = "JavadocTag" }
|
||||
}
|
||||
|
||||
/** A Javadoc `@param` tag. */
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* @name Print AST
|
||||
* @description Outputs a representation of the Abstract Syntax Tree.
|
||||
* @id csharp/print-ast
|
||||
* @id java/print-ast
|
||||
* @kind graph
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user