@SuppressWarnings( {
    """
	Get temp bean info.
	
	@param visitor the visitor
	@param clazz   the class
	@return bean info
    """"unchecked"})
    protected static BeanInfo getTempBeanInfo(ConfigVisitor visitor, Class<?> clazz) {
        return new DefaultBeanInfo(visitor.getReflectionIndex(), clazz);
    }
@SuppressWarnings({"unchecked"})
    protected static BeanInfo getTempBeanInfo(ConfigVisitor visitor, Class<?> clazz) {
        return new DefaultBeanInfo(visitor.getReflectionIndex(), clazz);
    }
@ SuppressWarnings ( { "unchecked" } ) protected static BeanInfo getTempBeanInfo ( ConfigVisitor visitor , Class < ? > clazz ) { return new DefaultBeanInfo ( visitor . getReflectionIndex ( ) , clazz ) ; }
Get temp bean info.

@param visitor the visitor
@param clazz   the class
@return bean info
Get temp bean info .