*
* @return A context of a type compatible with the informed type, or <code>null</code> if there is no such context.
*/
@SuppressWarnings("unchecked")
public <T extends CustomContext> T getContext(Class<T> contextClass){
CustomContext producedContext = null;
ArrayList<CustomContext> selectableContexts = new ArrayList<CustomContext>();
for (CustomContext context : getContexts()){
if ( contextClass.isAssignableFrom( context.getClass() ) ){