private Object getParent(Object context)
	{
		if ((this.contextClass != null) && (this.contextClass.isInstance(context))) {
			try
			{
				return this.contextClass.getMethod("getParent", new Class[0]).invoke(context, new Object[0]);
			}
			catch (InvocationTargetException localInvocationTargetException) {}catch (Exception ex)
			{
				ex.printStackTrace();
			}
		}

		return context;
	}