Let\'s say I have a class with a string field named \"myfield\", and use reflection to get the field, I\'ve found that Object.getClass().getDeclaredField(\"myfield\");
Object.getClass().getDeclaredField(\"myfield\");
Just use Class.getDeclaredFields() and look through the results performing a case-insensitive match yourself.