List<Method> () { ArrayList<Method> methods = new ArrayList<>(); List<ReferenceType> supers = getThisAndAllSupers(); for (ReferenceType referenceType : supers) { methods.addAll(referenceType.methods()); } return methods; }