if (jsniRef != null) {
ReferenceBinding clazz = findClass(jsniRef);
if (looksLikeAnonymousClass(jsniRef)
|| (clazz != null && clazz.isAnonymousType())) {
GWTProblem.recordInCud(ProblemSeverities.Warning, meth, cud,
"Referencing class '" + jsniRef.className()
+ ": JSNI references to anonymous classes are deprecated",
null);
} else if (clazz != null) {
Set<String> refErrors = new LinkedHashSet<String>();
if (jsniRef.isMethod()) {