if (CompilingClassLoader.isClassnameGenerated(lookupName)
&& !allGeneratedClasses.contains(lookupName)) {
allGeneratedClasses.add(lookupName);
}
AnonymousClassVisitor cv = new AnonymousClassVisitor();
new ClassReader(classBytes).accept(cv, 0);
List<String> innerClasses = cv.getInnerClassNames();
for (String innerClass : innerClasses) {
// The innerClass has to be an inner class of the lookupName
if (!innerClass.startsWith(mainClass + "$")) {
continue;