@Override
	public void visitClassContext(final ClassContext classContext) {
		JavaClass cls = classContext.getJavaClass();
		Field[] flds = cls.getFields();
		for (Field f : flds) {
			String sig = f.getSignature();
			if (sig.startsWith(Values.SIG_QUALIFIED_CLASS_PREFIX)) {
				if (sig.startsWith("Ljava/util/") && sig.endsWith("List;")) {
					fieldsReported.put(f.getName(), new FieldInfo());
				}
			}
		}

		if (!fieldsReported.isEmpty()) {
			super.visitClassContext(classContext);
			reportBugs();
		}
	}
@ Override public void visitClassContext ( final ClassContext classContext ) { JavaClass cls = classContext . getJavaClass ( ) ; Field [ ] flds = cls . getFields ( ) ; for ( Field f : flds ) { String sig = f . getSignature ( ) ; if ( sig . startsWith ( Values . SIG_QUALIFIED_CLASS_PREFIX ) ) { if ( sig . startsWith ( "Ljava/util/" ) && sig . endsWith ( "List;" ) ) { fieldsReported . put ( f . getName ( ) , new FieldInfo ( ) ) ; } } } if ( ! fieldsReported . isEmpty ( ) ) { super . visitClassContext ( classContext ) ; reportBugs ( ) ; } }
overrides the visitor to accept classes that define List based fields

@param classContext the context object for the currently parsed class