question: public static EventTypeMetadata createBeanType ( String name , Class clazz , boolean isPreConfiguredStatic , boolean isPreConfigured , boolean isConfigured , TypeClass typeClass ) { Set < String > secondaryNames = null ; if ( name == null ) { name = clazz . getName ( ) ; } else { if ( ! name . equals ( clazz . getName ( ) ) ) { secondaryNames = new LinkedHashSet < String > ( ) ; secondaryNames . add ( clazz . getName ( ) ) ; } } return new EventTypeMetadata ( name , secondaryNames , typeClass , isPreConfiguredStatic , isPreConfigured , isConfigured , ApplicationType . CLASS , false ) ; }
target:  Factory for a bean type.