Skip to content

discussions Search Results · repo:github/codeql path:docs/codeql "MethodAccess" is:public is:public

25 results  (186 ms)

25 results

ingithub/codeql (press backspace or delete to remove)
The path qualifier is not supported when searching discussions. Try searching for code instead?

... common to both the Basic and Advanced versions. Basic Query: import java class AssertMethodCall extends MethodAccess { AssertMethodCall() { this.getMethod().getDeclaringType().getQualifiedName ...

... . | CodeQL class | Suggested alias | Rationale | | --- | --- | --- | | MethodAccess | MethodCall | Superclass is named Call. And this basically seems to be a method call . access sounds a bit too ...

... semmle.code.java.dataflow.DataFlow class AssertMethodCall extends MethodAccess { AssertMethodCall() { this.getMethod().getDeclaringType().getQualifiedName().matches( %Assert% ) and this.getEnclosingCallable ...

... . Thank you!!! import java class TestMethod extends Method { TestMethod() { this.getAnAnnotation().toString().matches( Test ) } } class AssertMethodCall extends MethodAccess ...

... interfaceMethod, MethodAccess ma | caller.polyCalls(interfaceMethod) and ma.getMethod() = interfaceMethod and ma.getAChildExpr*().(MethodAccess).getMethod() = callee ) or ...

... get to the source and extract the method An equivalent .ql for Java is something like this: import java class AssertMethodCall extends MethodAccess { AssertMethodCall() { this.getMethod ...

In Java codeql has class MethodAccess and in cpp it has FunctionCall. The naming convention seems different, as there s no MethodAccess in cpp and no FunctionCall in java.