Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Avoiding case-sensitivity during reflection calls

807588Jan 20 2009 — edited Jan 20 2009
Hi All,

I am reflecting methods from an object using java.lang.reflect.* classes and trying to invoke methods on the object. The problem is, I am aware of the filed names in the class that is reflected. The setter method name is not known exactly. They appear something like set<filed name>. Is there a way to avoid case sensitivity while trying to look up for methods from the class.

Any early help is highly appreciated.

Thanks
Varaga
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 17 2009
Added on Jan 20 2009
8 comments
480 views