JavaClass is the interface for JavaModel objects that represent java classes (including interfaces, annotations and enums). Usually what you want to do once you have one is call getFeatures() which will return a live list of methods, etc. on that class, which you can add to, remove from, iterate, etc.

Source: NetBeans FAQ