fixed EmptyStackException when trying to check interface with default methods and anonymous inner classes