code: public static Activity asActivity(Object context) {
  		
  		if(ContextUtils.isActivity(context))
  			return Activity.class.cast(contexts.get(Activity.class).resolve(context));
  		
  		if(ContextUtils.isFragment(context)) 
  			return Activity.class.cast(contexts.get(Fragment.class).resolve(context));
  		
  		if(ContextUtils.isSupportFragment(context)) 
  			return Activity.class.cast(contexts.get(android.support.v4.app.Fragment.class).resolve(context));
  		
  		throw new ContextNotFoundException(context.getClass(), Activity.class);
  	}
docs: <p>Takes the generic {@link Object} of a context and returns
  the actual {@link Context} instance as an {@link Activity} if
  it conforms.
  
  @param context
  the {@link Object} whose {@link Context} instance is
  to be discovered
  <br><br>
  @return the {@link Activity} instance of the given {@link Object},
  of a {@link FragmentActivity} if the supplied context is that
  of a {@link android.support.v4.app.Fragment}
  <br><br>
  @throws ContextNotFoundException
  if the {@link Context} does not conform to an {@link Activity}
  <br><br>
  @since 1.0.0