jodd-petite/src/main/java/jodd/petite/AnnotationResolver.java
public Class<? extends Scope> resolveBeanScopeType(final Class type) {
		PetiteBean petiteBean = ((Class<?>) type).getAnnotation(PetiteBean.class);
		return petiteBean != null ? petiteBean.scope() : null;
	}
public Class<? extends Scope> resolveBeanScopeType(final Class type) {
		PetiteBean petiteBean = ((Class<?>) type).getAnnotation(PetiteBean.class);
		return petiteBean != null ? petiteBean.scope() : null;
	}
public Class < ? extends Scope > resolveBeanScopeType ( final Class type ) { PetiteBean petiteBean = ( ( Class < ? > ) type ) . getAnnotation ( PetiteBean . class ) ; return petiteBean != null ? petiteBean . scope ( ) : null ; }
Resolves bean's scope type from the annotation. Returns <code>null</code>
if annotation doesn't exist.
Resolves bean s scope type from the annotation . Returns <code > null< / code > if annotation doesn t exist .