예제 #1
0
 private boolean isApplicableClass(ClassEditor ce, BloatLoaderContext loaderContext) {
   ClassEditor curEditor = ce;
   try {
     while (curEditor != null && !isApplicablePlatformClass(curEditor)) {
       if (BloatUtil.isPlatformClassName(BloatUtil.normalizeClassName(curEditor.type()))) {
         return false;
       }
       curEditor = loaderContext.classEditor(curEditor.superclass());
     }
   } catch (ClassNotFoundException exc) {
     return false;
   }
   return true;
 }