Class AbstractTestElementBeanInfo

  • All Implemented Interfaces:
    java.beans.BeanInfo

    
    public class AbstractTestElementBeanInfo
     implements BeanInfo
                        

    This is the BeanInfo object for the AbstractTestElement class. It acts as a "stopper" for the introspector: we don't want it to look at properties defined at this or higher classes.

    Note this is really needed since using Introspector.getBeanInfo with a stop class is not an option because:

    • The API does not define a 3-parameter getBeanInfo in which you can use a stop class AND flags. [Why? I guess this is a bug in the spec.]
    • java.beans.Introspector is buggy and, opposite to what's stated in the Javadocs, only results of getBeanInfo(Class) are actually cached.