Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 48470 Details for
Bug 154823
[getter setter] Getters Setters generation doesn't follow naming convention
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
A simple program that show the difference
RunIntrospection.java (text/plain), 618 bytes, created by
Mark Platvoet
on 2006-08-23 10:56:49 EDT
(
hide
)
Description:
A simple program that show the difference
Filename:
MIME Type:
Creator:
Mark Platvoet
Created:
2006-08-23 10:56:49 EDT
Size:
618 bytes
patch
obsolete
>import java.beans.BeanInfo; >import java.beans.Introspector; >import java.beans.PropertyDescriptor; > >public class RunIntrospection { > public static void main(String[] args) throws Exception { > BeanInfo info = Introspector.getBeanInfo(Bean.class); > PropertyDescriptor[] descriptors = info.getPropertyDescriptors(); > > for (int i = 0; i < descriptors.length; ++i) { > System.out.println(descriptors[i].getDisplayName()); > } > } > > private class Bean { > //reports property 'eMail' > public void seteMail(String mail) {} > //reports property 'EMail' > public void setEMail(String mail) {} > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 154823
: 48470 |
132764