code: private void fillFilterAnnotations(VisualizerInput visInput, int type) {
  		List<String> displayedAnnotations = null;
  		Map<String, Set<String>> displayedAnnotationsMap = null;
  
  		switch (type) {
  		case (0): {
  			displayedAnnotations = EventExtractor.computeDisplayAnnotations(visInput, SNode.class);
  			displayedAnnotationsMap = displayedNodeAnnotations;
  			break;
  		}
  		case (1): {
  			displayedAnnotations = computeDisplayedRelAnnotations(visInput, configurations.get(type),
  					SPointingRelation.class);
  			displayedAnnotationsMap = displayedPointingRelAnnotations;
  			break;
  		}
  		case (2): {
  			displayedAnnotations = computeDisplayedRelAnnotations(visInput, configurations.get(type),
  					SSpanningRelation.class);
  			displayedAnnotationsMap = displayedSpanningRelAnnotations;
  			break;
  		}
  		case (3): {
  			displayedAnnotations = computeDisplayedRelAnnotations(visInput, configurations.get(type),
  					SDominanceRelation.class);
  			displayedAnnotationsMap = displayedDominanceRelAnnotations;
  			break;
  		}
  		default: {
  			throw new IllegalArgumentException();
  		}
  
  		}
  
  		for (String annotation : displayedAnnotations) {
  			String anno = null;
  			String ns = null;
  			Set<String> namespaces = null;
  
  			if (annotation.contains("::")) {
  				String[] annotationParts = annotation.split("::");
  				if (annotationParts.length == 2) {
  					anno = annotationParts[1];
  					ns = annotationParts[0];
  
  				} else {
  					throw new IllegalArgumentException(
  							"The annotation string in resolver_vis_map table is not well formed.");
  				}
  
  			} else {
  				anno = annotation;
  			}
  
  			if (displayedAnnotationsMap.containsKey(anno)) {
  				namespaces = displayedAnnotationsMap.get(anno);
  			} else {
  				namespaces = new HashSet<String>();
  			}
  
  			if (ns != null) {
  				namespaces.add(ns);
  			}
  
  			displayedAnnotationsMap.put(anno, namespaces);
  
  		}
  
  	}
docs: private void fillFilterAnnotations(VisualizerInput visInput, int type){