code: private boolean isManagedBeanRef(Class<?> injectType, String injectTypeName)
      {
          boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
          if (isTraceOn && tc.isEntryEnabled())
              Tr.entry(tc, "isManagedBeanRef: " + injectType + ", " + injectTypeName);
  
          boolean result;
  
          if (injectType != null && injectType != Object.class) // d675172
          {
              result = injectType.isAnnotationPresent(ManagedBean.class);
          }
          else
          {
              Set<String> mbClassNames = ivNameSpaceConfig.getManagedBeanClassNames();
              result = mbClassNames != null && mbClassNames.contains(injectTypeName);
          }
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(tc, "isManagedBeanRef: " + result);
          return result;
      }
docs: d702400