Exemplo n.º 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());
   }
 }
Exemplo n.º 2
0
 public static XFactory currentXFactory() {
   return currentXFactory.get();
 }