public class Issue2739 { public interface EppEnum { String getXmlName(); } void method(E e) { String s = e.getXmlName(); } }