예제 #1
0
 /**
  * Set the current analysis context for this thread.
  *
  * @param analysisContext the current analysis context for this thread
  */
 public static void setCurrentAnalysisContext(AnalysisContext analysisContext) {
   currentAnalysisContext.set(analysisContext);
   if (Global.getAnalysisCache() != null) {
     currentXFactory.set(new XFactory());
   }
 }
예제 #2
0
 public static XFactory currentXFactory() {
   return currentXFactory.get();
 }