test_class.declarator: CLASS_NAMES = new ArrayList<String>()
test_class.modifier: static final
test_class.original_string: static final List<String> CLASS_NAMES = new ArrayList<String>();
test_class.type: List<String>
test_class.var_name: CLASS_NAMES
test_class.declarator: XLOG_METHODS = new ArrayList<XLogMethod>()
test_class.modifier: static final
test_class.original_string: static final List<XLogMethod> XLOG_METHODS = new ArrayList<XLogMethod>();
test_class.type: List<XLogMethod>
test_class.var_name: XLOG_METHODS
test_class.file: xlog-base/src/test/java/com/promegu/xlog/base/XLogUtilsTest.java
test_class.identifier: XLogUtilsTest
test_case.body: @Test
      public void testGetRemainingClassNames() {
          Set<Class<?>> classes = new HashSet<Class<?>>();
          classes.add(XLog.class);
          classes.add(MethodToLog.class);
          classes.add(Object.class);
  
          Set<String> expected = new HashSet<String>();
          expected.add("com.promegu.other.class1");
          expected.add("com.promegu.other.class2");
          expected.add("java.lang.test.Object");
          expected.add("retrofit");
          expected.add("retrofit.utils");
  
          assertThat(
                  XLogUtils.getRemainingClassNames(classes, new HashSet<String>(CLASS_NAMES)),
                  is(expected));
  
      }
test_case.class_method_signature: XLogUtilsTest.testGetRemainingClassNames()
test_case.full_signature: @Test public void testGetRemainingClassNames()
test_case.identifier: testGetRemainingClassNames
test_case.invocations: add add add add add add add add assertThat getRemainingClassNames is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetRemainingClassNames()
focal_class.declarator: TYPE_METHOD = 0
focal_class.modifier: public static final
focal_class.original_string: public static final int TYPE_METHOD = 0;
focal_class.type: int
focal_class.var_name: TYPE_METHOD
focal_class.declarator: TYPE_CONSTRUCTOR = 1
focal_class.modifier: public static final
focal_class.original_string: public static final int TYPE_CONSTRUCTOR = 1;
focal_class.type: int
focal_class.var_name: TYPE_CONSTRUCTOR
focal_class.declarator: PKG_NAME = "com.promegu.xlogger"
focal_class.modifier: public static final
focal_class.original_string: public static final String PKG_NAME = "com.promegu.xlogger";
focal_class.type: String
focal_class.var_name: PKG_NAME
focal_class.declarator: CLASS_NAME = "XLoggerMethods"
focal_class.modifier: public static final
focal_class.original_string: public static final String CLASS_NAME = "XLoggerMethods";
focal_class.type: String
focal_class.var_name: CLASS_NAME
focal_class.declarator: FIELD_NAME_METHODS = "METHODS_TO_LOG"
focal_class.modifier: public static final
focal_class.original_string: public static final String FIELD_NAME_METHODS = "METHODS_TO_LOG";
focal_class.type: String
focal_class.var_name: FIELD_NAME_METHODS
focal_class.declarator: FIELD_NAME_CLASSES = "CLASSES_TO_LOG"
focal_class.modifier: public static final
focal_class.original_string: public static final String FIELD_NAME_CLASSES = "CLASSES_TO_LOG";
focal_class.type: String
focal_class.var_name: FIELD_NAME_CLASSES
focal_class.file: xlog-base/src/main/java/com/promegu/xlog/base/XLogUtils.java
focal_class.identifier: XLogUtils
focal_class.class_method_signature: XLogUtils.XLogUtils()
focal_class.full_signature: private  XLogUtils()
focal_class.identifier: XLogUtils
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  XLogUtils()
focal_class.class_method_signature: XLogUtils.getRemainingClassNames(Set<Class<?>> classes,
              Set<String> classNames)
focal_class.full_signature: public static Set<String> getRemainingClassNames(Set<Class<?>> classes,
              Set<String> classNames)
focal_class.identifier: getRemainingClassNames
focal_class.modifiers: public static
focal_class.parameters: (Set<Class<?>> classes,
              Set<String> classNames)
focal_class.return: Set<String>
focal_class.signature: Set<String> getRemainingClassNames(Set<Class<?>> classes,
              Set<String> classNames)
focal_class.class_method_signature: XLogUtils.shouldLogMember(List<XLogMethod> xLogMethods, Member member)
focal_class.full_signature: public static boolean shouldLogMember(List<XLogMethod> xLogMethods, Member member)
focal_class.identifier: shouldLogMember
focal_class.modifiers: public static
focal_class.parameters: (List<XLogMethod> xLogMethods, Member member)
focal_class.return: boolean
focal_class.signature: boolean shouldLogMember(List<XLogMethod> xLogMethods, Member member)
focal_class.class_method_signature: XLogUtils.filterResult(String className, XLogSetting xLogSetting)
focal_class.full_signature: public static boolean filterResult(String className, XLogSetting xLogSetting)
focal_class.identifier: filterResult
focal_class.modifiers: public static
focal_class.parameters: (String className, XLogSetting xLogSetting)
focal_class.return: boolean
focal_class.signature: boolean filterResult(String className, XLogSetting xLogSetting)
focal_class.class_method_signature: XLogUtils.getPkgPrefixesForCoarseMatch(List<String> classNames,
              int pkgSectionSize)
focal_class.full_signature: public static List<String> getPkgPrefixesForCoarseMatch(List<String> classNames,
              int pkgSectionSize)
focal_class.identifier: getPkgPrefixesForCoarseMatch
focal_class.modifiers: public static
focal_class.parameters: (List<String> classNames,
              int pkgSectionSize)
focal_class.return: List<String>
focal_class.signature: List<String> getPkgPrefixesForCoarseMatch(List<String> classNames,
              int pkgSectionSize)
focal_class.class_method_signature: XLogUtils.getPkgPrefixesForCoarseMatchXLogMethods(List<XLogMethod> xLogMethods,
              int pkgSectionSize)
focal_class.full_signature: public static List<String> getPkgPrefixesForCoarseMatchXLogMethods(List<XLogMethod> xLogMethods,
              int pkgSectionSize)
focal_class.identifier: getPkgPrefixesForCoarseMatchXLogMethods
focal_class.modifiers: public static
focal_class.parameters: (List<XLogMethod> xLogMethods,
              int pkgSectionSize)
focal_class.return: List<String>
focal_class.signature: List<String> getPkgPrefixesForCoarseMatchXLogMethods(List<XLogMethod> xLogMethods,
              int pkgSectionSize)
focal_class.class_method_signature: XLogUtils.getClassNameSectionSize(String className)
focal_class.full_signature: static int getClassNameSectionSize(String className)
focal_class.identifier: getClassNameSectionSize
focal_class.modifiers: static
focal_class.parameters: (String className)
focal_class.return: int
focal_class.signature: int getClassNameSectionSize(String className)
focal_class.class_method_signature: XLogUtils.getClassNameSection(String className, int section)
focal_class.full_signature: static String getClassNameSection(String className, int section)
focal_class.identifier: getClassNameSection
focal_class.modifiers: static
focal_class.parameters: (String className, int section)
focal_class.return: String
focal_class.signature: String getClassNameSection(String className, int section)
focal_method.body: public static Set<String> getRemainingClassNames(Set<Class<?>> classes,
              Set<String> classNames) {
          if (classes == null || classes.size() == 0 || classNames == null) {
              return classNames;
          }
          Set<String> nameFromClasses = new HashSet<String>();
          for (Class clazz : classes) {
              try {
                  if (clazz != null && clazz.getCanonicalName() != null) {
                      nameFromClasses.add(clazz.getCanonicalName().replaceAll("\\$", "."));
                  }
              } catch (Throwable throwable) {
                  // ignore
              }
          }
  
          nameFromClasses.retainAll(classNames);
          classNames.removeAll(nameFromClasses);
  
          return classNames;
      }
focal_method.class_method_signature: XLogUtils.getRemainingClassNames(Set<Class<?>> classes,
              Set<String> classNames)
focal_method.full_signature: public static Set<String> getRemainingClassNames(Set<Class<?>> classes,
              Set<String> classNames)
focal_method.identifier: getRemainingClassNames
focal_method.invocations: size getCanonicalName add replaceAll getCanonicalName retainAll removeAll
focal_method.modifiers: public static
focal_method.parameters: (Set<Class<?>> classes,
              Set<String> classNames)
focal_method.return: Set<String>
focal_method.signature: Set<String> getRemainingClassNames(Set<Class<?>> classes,
              Set<String> classNames)