public static Field getField(Class<?> containingClass, String fieldName) {
        try {
            return containingClass.getField(fieldName);
        } catch (NoSuchFieldException e) {
            return null;
        }
    }
public static Field getField ( Class < ? > containingClass , String fieldName ) { try { return containingClass . getField ( fieldName ) ; } catch ( NoSuchFieldException e ) { return null ; } }
@param containingClass never null
@param fieldName never null
@return sometimes null