make @:allow work for child classes and implemented interfaces (cloes #2162)
disallow structure matching against inaccessible class field