@ Nonnull public static final String getSingletonScopeKey ( @ Nonnull final Class < ? extends AbstractSingleton > aClass ) { ValueEnforcer . notNull ( aClass , "Class" ) ; // Preallocate some bytes return new StringBuilder ( DEFAULT_KEY_LENGTH ) . append ( "singleton." ) . append ( aClass . getName ( ) ) . toString ( ) ; }
Create the key which is used to reference the object within the scope .