Bug 110893 - [doc] Improve JDT documentation on working with JDT Java model
Summary: [doc] Improve JDT documentation on working with JDT Java model
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Doc (show other bugs)
Version: 3.1   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Jay Arthanareeswaran CLA
QA Contact:
URL:
Whiteboard:
Keywords: Documentation
Depends on:
Blocks:
 
Reported: 2005-09-28 00:02 EDT by BenH CLA
Modified: 2010-06-08 01:19 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BenH CLA 2005-09-28 00:02:04 EDT
I am developing a plugin that does code generation into existing Java code. I 
am having a difficult time accessing information above the level of Javadoc 
APIs about some aspects of the JDT core. It appears that the "JDT Developer 
Plugin Guide" provided with Eclipse has some large gaps in its coverage, and 
there is scant other articles covering these topics other than scattered pieces 
of info in the newsgroups.

* The "unresolved" Java model obtained from source has some major limitations. 
This need to be documented more and methods to resolve model elements provided.

* For a qualified classname, how does one obtain an IType for it?

* What are the steps involved to go from a IField or IMethod to find an IType 
instance representing its type?

These types of issues must surely be encountered by anyone attempting to 
programatically work with source code within Eclipse, so better documentation 
would be very useful.
Comment 1 BenH CLA 2005-09-28 00:03:49 EDT
I will also add: *if* standard utlity methods exist to perform these types of 
transformations, could their location be documented as well?
Comment 2 Olivier Thomann CLA 2006-10-10 11:44:18 EDT
Moving to JDT/Doc
Comment 3 Dani Megert CLA 2010-06-07 10:27:10 EDT
Srikanth, can someone in JDT Core check whether this is still the case and update the doc if needed?
Comment 4 Srikanth Sankaran CLA 2010-06-08 01:19:58 EDT
(In reply to comment #3)
> Srikanth, can someone in JDT Core check whether this is still the case and
> update the doc if needed?

Sure, Jay can you please follow up -- Thanks.