org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding[] superMethods = ((ReferenceBinding)match).getMethods(selector);
for (int i = 0, length = superMethods.length; i < length; i++) {
if (superMethods[i].original() == overridenCompilerBinding) {
LookupEnvironment lookupEnvironment = this.resolver.lookupEnvironment();
if (lookupEnvironment == null) return false;
MethodVerifier methodVerifier = lookupEnvironment.methodVerifier();
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding superMethod = superMethods[i];
return !(superMethod.isDefault() && (superMethod.declaringClass.getPackage()) != this.binding.declaringClass.getPackage())
&& methodVerifier.doesMethodOverride(this.binding, superMethod);
}
}