fix static methods in java8 interfaces not handled