Query module AmbiguousOuterSuper

name
Subtle call to inherited method
description
An unqualified call to a method that exists with the same signature in both a superclass and an outer class is ambiguous.
kind
problem
problem.severity
warning
precision
very-high
id
java/subtle-inherited-call
tags
reliability readability

Imports

java

Provides all default Java QL imports.

Predicates

callToInheritedMethod

A call (without a qualifier) in a nested type to an inherited method with the specified signature.

methodInEnclosingType

Return accessible methods in an outer class of nested.

nestedSupertypePlus