in src/main/java/com/ql/util/express/parse/ExpressPackage.java [31:59]
public Class<?> getClass(String name) {
Class<?> tempClass = null;
if (this.parent != null) {
tempClass = this.parent.getClass(name);
}
if (tempClass == null) {
if (this.packages == null && this.parent != null) {
return null;
}
if (this.name2CallCache == null) {
this.name2CallCache = new ConcurrentHashMap<>();
} else {
tempClass = this.name2CallCache.get(name);
}
if (tempClass == null) {
tempClass = this.getClassInner(name, this.parent == null);
if (tempClass == null) {
tempClass = S_NULL;
}
}
this.name2CallCache.put(name, tempClass);
}
if (tempClass == S_NULL) {
return null;
} else {
return tempClass;
}
}