I have
Field f = this.getClass().getFields()[0];
I need to know if f\'s value in this is null or not
f
this
null
You need to get the field from the object then check if it is null
Field f = this.getClass().getFields()[0]; if (f.get(this) == null) ...