[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/github/codeql/codeql-cli/v2.19.1/java/ql/src/AlertSuppression.ql [Back]  [Original]

/**
 * @name Alert suppression
 * @description Generates information about alert suppressions.
 * @kind alert-suppression
 * @id java/alert-suppression
 */

private import codeql.util.suppression.AlertSuppression as AS
private import semmle.code.java.Javadoc

class SingleLineComment extends Javadoc {
  SingleLineComment() {
    isEolComment(this)
    or
    isNormalComment(this) and exists(int line | this.hasLocationInfo(_, line, _, line, _))
  }

  string getText() { result = this.getChild(0).getText() }
}

import AS::Make

Web Proxy Viewer  |  New URL  |  Original Page