Extracting raw type before creating BeanClass

Fix indentation (tabs instead spaces). And may you can use static import here.