Java: Format QL

This commit is contained in:
Ian Lynagh
2022-09-14 11:56:13 +01:00
parent fec6c35f21
commit d735b9e6f2
2 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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 */