Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » How to find unresolved types in an ICompilationUnit?
How to find unresolved types in an ICompilationUnit? [message #249885] Thu, 29 November 2007 20:17
Eclipse UserFriend
Hello!

I've got an ICompilationUnit object via the following line:

ICompilationUnit icu = (ICompilationUnit)
JavaUI.getEditorInputJavaElement(editorInput);

I'd now like to know if (how?) it is possible to examine this object and
to find all unresolved types. Basically I only need the names of the
types that cannot be resolved. (e.g. in a BlackJack class there might be
a declaration Deck d = new Deck(); which is unknown yet).

Thanks in advance for your help!

Werner
Previous Topic:Locational attributes of ASTNodes.
Next Topic:Is there way not to compile erroneous *.java files
Goto Forum:
  


Current Time: Thu May 01 19:25:52 EDT 2025

Powered by FUDForum. Page generated in 0.03325 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top