public void visitAnnotation(String annotationClass, Map<String, Object> map, boolean runtimeVisible) { if (!visitingMethod() && !visitingField() && isDefaultAnnotationAnnotation(annotationClass)) { Object[] values = (Object[]) map.get("value"); for(Object v : values) if (v instanceof Class) { String name = ((Class) v).getName(); if (isNullnessAnnotation(name)) { System.out.println("Found one");
public void visitAnnotation(String annotationClass, Map<String, Object> map, boolean runtimeVisible) {  annotationClass = lastPortion(annotationClass);  NullnessAnnotation n = NullnessAnnotation.parse(annotationClass); if (n == null) { if (annotationClass.startsWith("DefaultAnnotation")) {  Object v = map.get("value"); if (v == null || !(v instanceof Object[])) return; annotationClass = annotationClass.substring("DefaultAnnotation" .length());  String annotationTarget = defaultKind.get(annotationClass);  if (annotationTarget != null) for (Object aClass : (Object[]) v) { n = NullnessAnnotation.parse((String) aClass); if (n != null) AnalysisContext.currentAnalysisContext() .getNullnessAnnotationDatabase() .addDefaultAnnotation(annotationTarget, getThisClass(), n);
	public void visitAnnotation(String annotationClass, Map<String, Object> map, boolean runtimeVisible) {		if (!visitingMethod() && !visitingField() && isDefaultAnnotationAnnotation(annotationClass)) {			Object[] values = (Object[]) map.get("value");			for(Object v : values) 				if (v instanceof Class) {					String name = ((Class) v).getName();					if (isNullnessAnnotation(name)) {						System.out.println("Found one");					}			}					}		if (!visitingMethod() || !isNullnessAnnotation(annotationClass))			return;		Boolean property = isNonNullAnnotation(annotationClass)				? Boolean.FALSE : Boolean.TRUE;		XMethod xmethod = XMethodFactory.createXMethod(this);		nullReturnValueDatabase.setProperty(xmethod, property);		if (DEBUG) {			System.out.println("Return value @" +					annotationClass.substring(annotationClass.lastIndexOf('/') + 1) +					" in " + xmethod);		}	}