public void showDroidsafeTextMarkers(IEditorPart openedEditor,String className){
  if (openedEditor != null && openedEditor instanceof ITextEditor && fProcessedClasses != null) {
    ITextEditor editor=(ITextEditor)openedEditor;
    if (fProcessedClasses.contains(className)) {
      if (fClassesNeedUpdate.contains(className)) {
        ClassMarkerProcessor classProcessor=get(className);
        classProcessor.updateTaintMarkers(editor);
        fClassesNeedUpdate.remove(className);
      }
    }
 else {
      fProcessedClasses.add(className);
      Map<String,Map<IntRange,Map<String,Set<CallLocationModel>>>> classTaintedDataMap=fTaintedDataMap.get(className);
      Map<String,Set<IntRange>> classUnreachableMethodMap=fUnreachableSourceMethodMap.get(className);
      if (classTaintedDataMap != null || classUnreachableMethodMap != null) {
        IEditorInput input=editor.getEditorInput();
        if (input instanceof FileEditorInput) {
          ClassMarkerProcessor classProcessor=get(className);
          classProcessor.showDroidsafeTextMarkers(editor);
        }
      }
    }
  }
}

public void showDroidsafeTextMarkers ( IEditorPart openedEditor , String className ) { if ( openedEditor != null && openedEditor instanceof ITextEditor && fProcessedClasses != null ) { ITextEditor editor = ( ITextEditor ) openedEditor ; if ( fProcessedClasses . contains ( className ) ) { if ( fClassesNeedUpdate . contains ( className ) ) { ClassMarkerProcessor classProcessor = get ( className ) ; classProcessor . updateTaintMarkers ( editor ) ; fClassesNeedUpdate . remove ( className ) ; } } else { fProcessedClasses . add ( className ) ; Map < String , Map < IntRange , Map < String , Set < CallLocationModel > > > > classTaintedDataMap = fTaintedDataMap . get ( className ) ; Map < String , Set < IntRange > > classUnreachableMethodMap = fUnreachableSourceMethodMap . get ( className ) ; if ( classTaintedDataMap != null || classUnreachableMethodMap != null ) { IEditorInput input = editor . getEditorInput ( ) ; if ( input instanceof FileEditorInput ) { ClassMarkerProcessor classProcessor = get ( className ) ; classProcessor . showDroidsafeTextMarkers ( editor ) ; } } } } }
displays the annotations of the droidsafe text markers for the given class name in the given java editor .
