CodeQL library for Java
codeql/java-all 0.3.3 (changelog, source)
Search

Member predicate MemberRefExpr::asMethod

Gets the implicit method corresponding to this member reference expression. The body of this method is a return statement (enclosed in a block) whose expression is either a method access (if the reference is to a method), a class instance creation expression (if the reference is to a constructor) or an array creation expression (if the reference is to an array constructor).

Method asMethod()