test_class.declarator: temp = new TemporaryFolder()
test_class.modifier: @Rule
      public final
test_class.original_string: @Rule
      public final TemporaryFolder temp = new TemporaryFolder();
test_class.type: TemporaryFolder
test_class.var_name: temp
test_class.file: webbeans-impl/src/test/java/org/apache/webbeans/corespi/scanner/AbstractMetaDataDiscoveryTest.java
test_class.identifier: AbstractMetaDataDiscoveryTest
test_case.body: @Test
      public void isAnonymous() throws Exception
      {
          final AbstractMetaDataDiscovery mock = new AbstractMetaDataDiscovery()
          {
              @Override
              protected void configure()
              {
                  // no-op
              }
          };
          final Method mtd = AbstractMetaDataDiscovery.class.getDeclaredMethod("isAnonymous", String.class);
          mtd.setAccessible(true);
          assertFalse(Boolean.class.cast(mtd.invoke(mock, AbstractMetaDataDiscoveryTest.class.getName())));
          assertTrue(Boolean.class.cast(mtd.invoke(mock, AbstractMetaDataDiscoveryTest.class.getName() + "$1")));
          assertTrue(Boolean.class.cast(mtd.invoke(mock, AbstractMetaDataDiscoveryTest.class.getName() + "$1$2")));
          assertTrue(Boolean.class.cast(mtd.invoke(mock, AbstractMetaDataDiscoveryTest.class.getName() + "$15$222")));
      }
test_case.class_method_signature: AbstractMetaDataDiscoveryTest.isAnonymous()
test_case.full_signature: @Test public void isAnonymous()
test_case.identifier: isAnonymous
test_case.invocations: getDeclaredMethod setAccessible assertFalse cast invoke getName assertTrue cast invoke getName assertTrue cast invoke getName assertTrue cast invoke getName
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void isAnonymous()
focal_class.declarator: logger = WebBeansLoggerFacade.getLogger(AbstractMetaDataDiscovery.class)
focal_class.modifier: protected static final
focal_class.original_string: protected static final Logger logger = WebBeansLoggerFacade.getLogger(AbstractMetaDataDiscovery.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: META_INF_BEANS_XML = "META-INF/beans.xml"
focal_class.modifier: public static final
focal_class.original_string: public static final String META_INF_BEANS_XML = "META-INF/beans.xml";
focal_class.type: String
focal_class.var_name: META_INF_BEANS_XML
focal_class.declarator: beanArchiveService
focal_class.modifier: private
focal_class.original_string: private BeanArchiveService beanArchiveService;
focal_class.type: BeanArchiveService
focal_class.var_name: beanArchiveService
focal_class.declarator: beanArchiveLocations = new UrlSet()
focal_class.modifier: private final
focal_class.original_string: private final UrlSet beanArchiveLocations = new UrlSet();
focal_class.type: UrlSet
focal_class.var_name: beanArchiveLocations
focal_class.declarator: beanDeploymentUrls = new HashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<String, URL> beanDeploymentUrls = new HashMap<>();
focal_class.type: Map<String, URL>
focal_class.var_name: beanDeploymentUrls
focal_class.declarator: beanClassesPerBda
focal_class.modifier: private
focal_class.original_string: private Map<BeanArchiveService.BeanArchiveInformation, Set<Class<?>>> beanClassesPerBda;
focal_class.type: Map<BeanArchiveService.BeanArchiveInformation, Set<Class<?>>>
focal_class.var_name: beanClassesPerBda
focal_class.declarator: scanningExcludes
focal_class.modifier: protected
focal_class.original_string: protected String[] scanningExcludes;
focal_class.type: String[]
focal_class.var_name: scanningExcludes
focal_class.declarator: loader
focal_class.modifier: protected
focal_class.original_string: protected ClassLoader loader;
focal_class.type: ClassLoader
focal_class.var_name: loader
focal_class.declarator: archive
focal_class.modifier: protected
focal_class.original_string: protected CdiArchive archive;
focal_class.type: CdiArchive
focal_class.var_name: archive
focal_class.declarator: finder
focal_class.modifier: protected
focal_class.original_string: protected OwbAnnotationFinder finder;
focal_class.type: OwbAnnotationFinder
focal_class.var_name: finder
focal_class.declarator: isBDAScannerEnabled
focal_class.modifier: protected
focal_class.original_string: protected boolean isBDAScannerEnabled;
focal_class.type: boolean
focal_class.var_name: isBDAScannerEnabled
focal_class.declarator: bdaBeansXmlScanner
focal_class.modifier: protected
focal_class.original_string: protected BDABeansXmlScanner bdaBeansXmlScanner;
focal_class.type: BDABeansXmlScanner
focal_class.var_name: bdaBeansXmlScanner
focal_class.declarator: webBeansContext
focal_class.modifier: protected
focal_class.original_string: protected WebBeansContext webBeansContext;
focal_class.type: WebBeansContext
focal_class.var_name: webBeansContext
focal_class.file: webbeans-impl/src/main/java/org/apache/webbeans/corespi/scanner/AbstractMetaDataDiscovery.java
focal_class.identifier: AbstractMetaDataDiscovery
focal_class.interfaces: implements BdaScannerService
focal_class.class_method_signature: AbstractMetaDataDiscovery.initFinder()
focal_class.full_signature: protected AnnotationFinder initFinder()
focal_class.identifier: initFinder
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: AnnotationFinder
focal_class.signature: AnnotationFinder initFinder()
focal_class.class_method_signature: AbstractMetaDataDiscovery.getAdditionalArchive()
focal_class.full_signature: protected Archive getAdditionalArchive()
focal_class.identifier: getAdditionalArchive
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: Archive
focal_class.signature: Archive getAdditionalArchive()
focal_class.class_method_signature: AbstractMetaDataDiscovery.getBeanArchiveUrls()
focal_class.full_signature: protected Iterable<URL> getBeanArchiveUrls()
focal_class.identifier: getBeanArchiveUrls
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: Iterable<URL>
focal_class.signature: Iterable<URL> getBeanArchiveUrls()
focal_class.class_method_signature: AbstractMetaDataDiscovery.getBeanDeploymentUrls()
focal_class.full_signature: public Map<String, URL> getBeanDeploymentUrls()
focal_class.identifier: getBeanDeploymentUrls
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<String, URL>
focal_class.signature: Map<String, URL> getBeanDeploymentUrls()
focal_class.class_method_signature: AbstractMetaDataDiscovery.scan()
focal_class.full_signature: @Override public void scan()
focal_class.identifier: scan
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void scan()
focal_class.class_method_signature: AbstractMetaDataDiscovery.configure()
focal_class.full_signature: protected abstract void configure()
focal_class.identifier: configure
focal_class.modifiers: protected abstract
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void configure()
focal_class.class_method_signature: AbstractMetaDataDiscovery.registerBeanArchives(ClassLoader loader)
focal_class.full_signature: protected void registerBeanArchives(ClassLoader loader)
focal_class.identifier: registerBeanArchives
focal_class.modifiers: protected
focal_class.parameters: (ClassLoader loader)
focal_class.return: void
focal_class.signature: void registerBeanArchives(ClassLoader loader)
focal_class.class_method_signature: AbstractMetaDataDiscovery.stripProtocol(String urlPath)
focal_class.full_signature: protected String stripProtocol(String urlPath)
focal_class.identifier: stripProtocol
focal_class.modifiers: protected
focal_class.parameters: (String urlPath)
focal_class.return: String
focal_class.signature: String stripProtocol(String urlPath)
focal_class.class_method_signature: AbstractMetaDataDiscovery.filterExcludedJars(Set<URL> classPathUrls)
focal_class.full_signature: protected void filterExcludedJars(Set<URL> classPathUrls)
focal_class.identifier: filterExcludedJars
focal_class.modifiers: protected
focal_class.parameters: (Set<URL> classPathUrls)
focal_class.return: void
focal_class.signature: void filterExcludedJars(Set<URL> classPathUrls)
focal_class.class_method_signature: AbstractMetaDataDiscovery.isExcludedJar(String path)
focal_class.full_signature: protected int isExcludedJar(String path)
focal_class.identifier: isExcludedJar
focal_class.modifiers: protected
focal_class.parameters: (String path)
focal_class.return: int
focal_class.signature: int isExcludedJar(String path)
focal_class.class_method_signature: AbstractMetaDataDiscovery.release()
focal_class.full_signature: @Override public void release()
focal_class.identifier: release
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void release()
focal_class.class_method_signature: AbstractMetaDataDiscovery.addDeploymentUrl(String beansXml, URL cpUrl)
focal_class.full_signature: protected void addDeploymentUrl(String beansXml, URL cpUrl)
focal_class.identifier: addDeploymentUrl
focal_class.modifiers: protected
focal_class.parameters: (String beansXml, URL cpUrl)
focal_class.return: void
focal_class.signature: void addDeploymentUrl(String beansXml, URL cpUrl)
focal_class.class_method_signature: AbstractMetaDataDiscovery.isBdaUrlEnabled(URL bdaUrl)
focal_class.full_signature: protected boolean isBdaUrlEnabled(URL bdaUrl)
focal_class.identifier: isBdaUrlEnabled
focal_class.modifiers: protected
focal_class.parameters: (URL bdaUrl)
focal_class.return: boolean
focal_class.signature: boolean isBdaUrlEnabled(URL bdaUrl)
focal_class.class_method_signature: AbstractMetaDataDiscovery.init(Object object)
focal_class.full_signature: @Override public void init(Object object)
focal_class.identifier: init
focal_class.modifiers: @Override public
focal_class.parameters: (Object object)
focal_class.return: void
focal_class.signature: void init(Object object)
focal_class.class_method_signature: AbstractMetaDataDiscovery.initScanningExcludes()
focal_class.full_signature: public void initScanningExcludes()
focal_class.identifier: initScanningExcludes
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initScanningExcludes()
focal_class.class_method_signature: AbstractMetaDataDiscovery.addWebBeansXmlLocation(URL beanArchiveUrl)
focal_class.full_signature: protected void addWebBeansXmlLocation(URL beanArchiveUrl)
focal_class.identifier: addWebBeansXmlLocation
focal_class.modifiers: protected
focal_class.parameters: (URL beanArchiveUrl)
focal_class.return: void
focal_class.signature: void addWebBeansXmlLocation(URL beanArchiveUrl)
focal_class.class_method_signature: AbstractMetaDataDiscovery.doAddWebBeansXmlLocation(URL beanArchiveUrl)
focal_class.full_signature: protected void doAddWebBeansXmlLocation(URL beanArchiveUrl)
focal_class.identifier: doAddWebBeansXmlLocation
focal_class.modifiers: protected
focal_class.parameters: (URL beanArchiveUrl)
focal_class.return: void
focal_class.signature: void doAddWebBeansXmlLocation(URL beanArchiveUrl)
focal_class.class_method_signature: AbstractMetaDataDiscovery.getBeanClassesPerBda()
focal_class.full_signature: public Map<BeanArchiveService.BeanArchiveInformation, Set<Class<?>>> getBeanClassesPerBda()
focal_class.identifier: getBeanClassesPerBda
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<BeanArchiveService.BeanArchiveInformation, Set<Class<?>>>
focal_class.signature: Map<BeanArchiveService.BeanArchiveInformation, Set<Class<?>>> getBeanClassesPerBda()
focal_class.class_method_signature: AbstractMetaDataDiscovery.isAnonymous(final String className)
focal_class.full_signature: private boolean isAnonymous(final String className)
focal_class.identifier: isAnonymous
focal_class.modifiers: private
focal_class.parameters: (final String className)
focal_class.return: boolean
focal_class.signature: boolean isAnonymous(final String className)
focal_class.class_method_signature: AbstractMetaDataDiscovery.getBeanClasses()
focal_class.full_signature: @Override public Set<Class<?>> getBeanClasses()
focal_class.identifier: getBeanClasses
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<Class<?>>
focal_class.signature: Set<Class<?>> getBeanClasses()
focal_class.class_method_signature: AbstractMetaDataDiscovery.isBeanAnnotatedClass(AnnotationFinder.ClassInfo classInfo)
focal_class.full_signature: protected boolean isBeanAnnotatedClass(AnnotationFinder.ClassInfo classInfo)
focal_class.identifier: isBeanAnnotatedClass
focal_class.modifiers: protected
focal_class.parameters: (AnnotationFinder.ClassInfo classInfo)
focal_class.return: boolean
focal_class.signature: boolean isBeanAnnotatedClass(AnnotationFinder.ClassInfo classInfo)
focal_class.class_method_signature: AbstractMetaDataDiscovery.isBeanAnnotation(AnnotationFinder.AnnotationInfo annotationInfo)
focal_class.full_signature: protected boolean isBeanAnnotation(AnnotationFinder.AnnotationInfo annotationInfo)
focal_class.identifier: isBeanAnnotation
focal_class.modifiers: protected
focal_class.parameters: (AnnotationFinder.AnnotationInfo annotationInfo)
focal_class.return: boolean
focal_class.signature: boolean isBeanAnnotation(AnnotationFinder.AnnotationInfo annotationInfo)
focal_class.class_method_signature: AbstractMetaDataDiscovery.getBeanXmls()
focal_class.full_signature: @Override public Set<URL> getBeanXmls()
focal_class.identifier: getBeanXmls
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Set<URL>
focal_class.signature: Set<URL> getBeanXmls()
focal_class.class_method_signature: AbstractMetaDataDiscovery.getBDABeansXmlScanner()
focal_class.full_signature: @Override public BDABeansXmlScanner getBDABeansXmlScanner()
focal_class.identifier: getBDABeansXmlScanner
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: BDABeansXmlScanner
focal_class.signature: BDABeansXmlScanner getBDABeansXmlScanner()
focal_class.class_method_signature: AbstractMetaDataDiscovery.isBDABeansXmlScanningEnabled()
focal_class.full_signature: @Override public boolean isBDABeansXmlScanningEnabled()
focal_class.identifier: isBDABeansXmlScanningEnabled
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isBDABeansXmlScanningEnabled()
focal_class.class_method_signature: AbstractMetaDataDiscovery.webBeansContext()
focal_class.full_signature: protected WebBeansContext webBeansContext()
focal_class.identifier: webBeansContext
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: WebBeansContext
focal_class.signature: WebBeansContext webBeansContext()
focal_method.body: private boolean isAnonymous(final String className)
      {
          final int start = className.lastIndexOf('$');
          if (start <= 0)
          {
              return false;
          }
          try
          {
              Integer.parseInt(className.substring(start + 1));
              return true;
          }
          catch (final NumberFormatException nfe)
          {
              return false;
          }
      }
focal_method.class_method_signature: AbstractMetaDataDiscovery.isAnonymous(final String className)
focal_method.full_signature: private boolean isAnonymous(final String className)
focal_method.identifier: isAnonymous
focal_method.invocations: lastIndexOf parseInt substring
focal_method.modifiers: private
focal_method.parameters: (final String className)
focal_method.return: boolean
focal_method.signature: boolean isAnonymous(final String className)