public void purgeMethodAnalyses ( MethodDescriptor methodDescriptor ) { Set < Map . Entry < Class < ? > , Map < MethodDescriptor , Object > > > entrySet = methodAnalysisObjectMap . entrySet ( ) ; for ( Iterator < Map . Entry < Class < ? > , Map < MethodDescriptor , Object > > > i = entrySet . iterator ( ) ; i . hasNext ( ) ; ) { Map . Entry < Class < ? > , Map < MethodDescriptor , Object > > entry = i . next ( ) ; Class < ? > cls = entry . getKey ( ) ; // FIXME: hack if ( ! DataflowAnalysis . class . isAssignableFrom ( cls ) && ! Dataflow . class . isAssignableFrom ( cls ) ) { // There is really no need to purge analysis results // that aren't CFG-based. // Currently, only dataflow analyses need // to be purged. continue ; } entry . getValue ( ) . remove ( methodDescriptor ) ; } }
Purge all CFG - based method analyses for given method .