@Override public final Set<String> getImports() { final Imports imports = new Imports(); for (final MemberMirror member : getMembers()) { imports.addAll(member.getImports()); } return imports.asSet(); }
@Override public final List<MemberMirror> getVarArgsMembers() { final List<MemberMirror> varArgsMembers = new LinkedList<MemberMirror>(); for (final MemberMirror member : members) { if (member.isSupportedVarArgsCollection()) { varArgsMembers.add(member); } } return varArgsMembers; }
private boolean notIgnore(MemberMirror memberMirror) { if (ignoredFieldRegexps == null) { return true; } for (String regexp : ignoredFieldRegexps) { if (memberMirror.getName().matches(regexp)) { return false; } } return true; }