static Field getStaticField(Class<?> c,String key) throws DetectRightException {
		if (c == null) return null;
		if (Functions.isEmpty(key)) return null;
		Field f;

		try {
			f = c.getDeclaredField(key);
			return f;
		} catch (NoSuchFieldException e) {
			CheckPoint.checkPoint("Get Field 2" + key + " " + c.toString() + " " + e.toString());
		} catch (SecurityException e) {
			CheckPoint.checkPoint(e.toString());
			return null;
		}
		
		try {
			f = c.getField(key);
			return f;
		} catch (NoSuchFieldException e) {
			if (c.toString().equals("java.lang.String")) {
				//boolean dummy=true;
			}
			//DetectRight.checkPoint("Get Field 1" + key + " " + c.toString() + " " + e.toString());
			return null;
		} catch (SecurityException e) {
			return null;
		}

	}