jodd-petite/src/main/java/jodd/petite/PetiteContainer.java
@SuppressWarnings({"unchecked"})
	public <T> T getBean(final Class<T> type) {
		String name = resolveBeanName(type);
		return (T) getBean(name);
	}
@SuppressWarnings({"unchecked"})
	public <T> T getBean(final Class<T> type) {
		String name = resolveBeanName(type);
		return (T) getBean(name);
	}
Returns Petite bean instance. Bean name will be resolved from provided type.