@Override public Map<String, List<APIMtd>> inclusionList() { Map<String, List<APIMtd>> returnMap = new HashMap<String, List<APIMtd>>(); for (APIType clazz : clazzList) { if (inclusionCriteriaClass(clazz)) { List<APIMtd> mtdList = new ArrayList<APIMtd>(); for (APIMtd mtd : clazz.getMethod()) { if (inclusionCriteriaMethod(mtd)) { mtdList.add(mtd); } } returnMap.put(clazz.getName(), mtdList); } } return returnMap; }
public boolean inclusionCriteriaClass(APIType clazz) { return subClassList.contains(clazz.getName().trim()); }