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); }
if (visitingMethod()) AnalysisContext.currentAnalysisContext() .getNullnessAnnotationDatabase().addDirectAnnotation( XFactory.createXMethod(this), n); else if (visitingField()) AnalysisContext.currentAnalysisContext() .getNullnessAnnotationDatabase().addDirectAnnotation( XFactory.createXField(this), 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);		}	}