//
//1.负责检查重复的匿名绑定
if (anonymityTypes.contains(nowType) == true && this.ifAnonymity(e) == true) {
Class<?> type = e.getSourceType();
type = (type == null) ? e.getBindType() : type;
throw new RepeateException(String.format("repeate anonymity bind , type is %s", type));
}
if (anonymityTypes.contains(nowType) == false) {
anonymityTypes.add(nowType);
}
//
//2.同类型绑定的重名检查
String name = e.getBindName();
if (nowSet.contains(name) == true) {
throw new RepeateException(String.format("repeate name bind ,name = %s. type is %s", name, nowType));
}
nowSet.add(name);
//
//3.ID
this.idDataSource.put(e.getBindID(), e);