jodd-petite/src/main/java/jodd/petite/PetiteBeans.java
protected <T> BeanDefinition createBeandDefinitionForExternalBeans(
			final Class<T> type,
			final WiringMode wiringMode) {

		final String name = resolveBeanName(type);
		return new BeanDefinition<>(name, type, null, wiringMode, null);
	}
protected <T> BeanDefinition createBeandDefinitionForExternalBeans(
			final Class<T> type,
			final WiringMode wiringMode) {

		final String name = resolveBeanName(type);
		return new BeanDefinition<>(name, type, null, wiringMode, null);
	}
protected < T > BeanDefinition createBeandDefinitionForExternalBeans ( final Class < T > type , final WiringMode wiringMode ) { final String name = resolveBeanName ( type ) ; return new BeanDefinition <> ( name , type , null , wiringMode , null ) ; }
Creates {@link jodd.petite.BeanDefinition} for all external beans.
Creates {