mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Java: Format QL
This commit is contained in:
@@ -25,7 +25,9 @@ class Member extends Element, Annotatable, Modifiable, @member {
|
||||
* This is useful for debugging, but for normal use `hasQualifiedName`
|
||||
* is recommended, as it is more efficient.
|
||||
*/
|
||||
string getQualifiedName() { result = this.getDeclaringType().getQualifiedName() + "." + this.getName() }
|
||||
string getQualifiedName() {
|
||||
result = this.getDeclaringType().getQualifiedName() + "." + this.getName()
|
||||
}
|
||||
|
||||
/**
|
||||
* Holds if this member has the specified name and is declared in the
|
||||
|
||||
@@ -92,9 +92,7 @@ class ExternalApiDataNode extends DataFlow::Node {
|
||||
int getIndex() { result = i }
|
||||
|
||||
/** Gets the description of the method being called. */
|
||||
string getMethodDescription() {
|
||||
result = this.getMethod().getQualifiedName()
|
||||
}
|
||||
string getMethodDescription() { result = this.getMethod().getQualifiedName() }
|
||||
}
|
||||
|
||||
/** DEPRECATED: Alias for ExternalApiDataNode */
|
||||
|
||||
Reference in New Issue
Block a user