I want to filter objects based in some conditions or if their parent is of a specific type.
class A {} class B extends A {} class O { A a; ...