Lines Matching refs:beanClass
102 private Class beanClass;
144 * @param beanClass The bean class to be analyzed.
151 public static BeanInfo getBeanInfo(Class<?> beanClass)
154 if (!ReflectUtil.isPackageAccessible(beanClass)) {
155 return (new Introspector(beanClass, null, USE_ALL_BEANINFO)).getBeanInfo();
160 beanInfo = context.getBeanInfo(beanClass);
163 beanInfo = new Introspector(beanClass, null, USE_ALL_BEANINFO).getBeanInfo();
165 context.putBeanInfo(beanClass, beanInfo);
179 * @param beanClass The bean class to be analyzed.
184 * BeanInfo associated with the specified beanClass.
186 * associated with the specified beanClass or any of its
192 public static BeanInfo getBeanInfo(Class<?> beanClass, int flags)
194 return getBeanInfo(beanClass, null, flags);
205 * @param beanClass The bean class to be analyzed.
212 public static BeanInfo getBeanInfo(Class<?> beanClass, Class<?> stopClass)
214 return getBeanInfo(beanClass, stopClass, USE_ALL_BEANINFO);
225 * <dd>Any BeanInfo associated with the specified {@code beanClass} will be ignored.</dd>
227 * <dd>Any BeanInfo associated with the specified {@code beanClass}
237 * @param beanClass the bean class to be analyzed
245 public static BeanInfo getBeanInfo(Class<?> beanClass, Class<?> stopClass,
250 bi = getBeanInfo(beanClass);
252 bi = (new Introspector(beanClass, stopClass, flags)).getBeanInfo();
369 private Introspector(Class beanClass, Class stopClass, int flags)
371 this.beanClass = beanClass;
376 for (Class c = beanClass.getSuperclass(); c != null; c = c.getSuperclass()) {
383 beanClass.getName());
388 explicitBeanInfo = findExplicitBeanInfo(beanClass);
391 Class superClass = beanClass.getSuperclass();
434 * @param beanClass the class type of the bean
437 private static BeanInfo findExplicitBeanInfo(Class beanClass) {
438 return ThreadGroupContext.getContext().getBeanInfoFinder().find(beanClass);
473 Method methodList[] = getPublicDeclaredMethods(beanClass);
502 pd = new PropertyDescriptor(this.beanClass, name.substring(3), method, null);
505 pd = new PropertyDescriptor(this.beanClass, name.substring(2), method, null);
509 pd = new IndexedPropertyDescriptor(this.beanClass, name.substring(3), null, null, method, null);
512 pd = new PropertyDescriptor(this.beanClass, name.substring(3), null, method);
519 pd = new IndexedPropertyDescriptor(this.beanClass, name.substring(3), null, null, null, method);
573 if (this.beanClass != pd.getClass0()) {
576 // in the context of this.beanClass
590 pd.updateGenericsFor(this.beanClass);
595 pd.updateGenericsFor(this.beanClass);
929 Method methodList[] = getPublicDeclaredMethods(beanClass);
960 Class<?> type = TypeResolver.erase(TypeResolver.resolveInClass(beanClass, parameterTypes[0]));
979 Class<?> type = TypeResolver.erase(TypeResolver.resolveInClass(beanClass, parameterTypes[0]));
996 Class<?> returnType = FeatureDescriptor.getReturnType(beanClass, method);
1032 Class argType = FeatureDescriptor.getParameterTypes(beanClass, addMethod)[0];
1141 Method methodList[] = getPublicDeclaredMethods(beanClass);
1239 return new BeanDescriptor(this.beanClass, findCustomizerClass(this.beanClass));
1265 return isSubclass(TypeResolver.erase(TypeResolver.resolveInClass(beanClass, argTypes[0])), EventObject.class);