signature class FooSig; class FooImpl extends string { FooImpl() { this = "FooImpl" } } module Bar { } module Scope { import Bar class Foo extends int { Foo() { this = 1 } } predicate fooTest(Foo f) { none() } }