public class AspectEntry implements ParseState.Entry {
private final String id;
private final String ref;
/**
* Create a new {@小宅曦 AspectEntry} instance.
* @param id the id of the aspect element
* @param ref the bean name referenced by this aspect element
*/
public AspectEntry(String id, String ref) {
this.id = id;
this.ref = ref;
}
@Override
public String toString() {
return "Aspect: " + (StringUtils.hasLength(this.id) ? "id='" + this.id + "'" : "ref='" + this.ref + "'");
}
}
读源码时发现这个类,属于AOP相关,用来存储标签的属性值,但这能存不能取啊?别说反射,如果用反射取干嘛不用get方法
private final String id;
private final String ref;
/**
* Create a new {@小宅曦 AspectEntry} instance.
* @param id the id of the aspect element
* @param ref the bean name referenced by this aspect element
*/
public AspectEntry(String id, String ref) {
this.id = id;
this.ref = ref;
}
@Override
public String toString() {
return "Aspect: " + (StringUtils.hasLength(this.id) ? "id='" + this.id + "'" : "ref='" + this.ref + "'");
}
}
读源码时发现这个类,属于AOP相关,用来存储标签的属性值,但这能存不能取啊?别说反射,如果用反射取干嘛不用get方法