private void initDefaultScopeType ( EnhancedAnnotation < T > annotatedAnnotation ) { Set < Annotation > scopeTypes = new HashSet < Annotation > ( ) ; scopeTypes . addAll ( annotatedAnnotation . getMetaAnnotations ( Scope . class ) ) ; scopeTypes . addAll ( annotatedAnnotation . getMetaAnnotations ( NormalScope . class ) ) ; if ( scopeTypes . size ( ) > 1 ) { throw MetadataLogger . LOG . multipleScopes ( annotatedAnnotation ) ; } else if ( scopeTypes . size ( ) == 1 ) { this . defaultScopeType = scopeTypes . iterator ( ) . next ( ) ; } }
Initializes the default scope type