I have a CompilationUnit that contains a class where a reference to another class is not imported.
Eclipse resolves that kind of issue easily and proposes to import the missing class (which is located ...

I'm trying to search all the classes in a IJavaProject that extends a certain Interface. This interface is Generic, and I want to get the current type parameters of every implementation.
Now I have ...

NetBeans source code analysis has a method org.netbeans.api.java.source.TreeUtilities.getUncaughtExceptions(TreePath) that retrieves uncaught exceptions from an AST subtree. Does the Eclipse JDT have ...

I'm trying to do some Java source-to-source translation and repeatedly run into an ASTNode.checkNewChild error due to me trying to rearrange nodes that have a parent already. Is there any way to copy ...

I have the following odd problem:
I am working on a jdt feature. The ant script that generates the jars, signs them, etc, has worked like a charm for months.
I downloaded Mars, installed the feature ...

I want to use maven to build projects in which there are unresolved compilation problems.
The main purpose is package and deploy or run aplications using some kind of stubs for classes that contains ...

I have a list of org.eclipse.jdt.core.IClassFile, what will be the most simple way to get the actual class file (for reflection)?
The option that I see, in case it's a jar file , is to load jar with ...

I read this article from Eclipse wiki (http://wiki.eclipse.org/JDT/FAQ#From_an_IJavaElement_to_its_declaring_ASTNode) but I still can not convert from a IMethod to its corresponding MethodDeclaration.
...

I just installed Eclipse standard 4.4 Luna, and after installing the Scala IDE and friends I get
JDT Weaving is currently disabled. The Scala IDE needs JDT Weaving to be active,
or it will not work ...

I am using org.eclipse.jdt.core.IMethod and calling method.rename(newName, true, new NullProgressMonitor()); on an interface.
It refactors interface method, but fails to refactor its implementation ...

I need to know if the class represented by one string is superclass (directly or transitively) of another class also represented as a string. For instance:
String class1 = "java.lang.Object";
String ...

I have a Java Project in Eclipse, and a Java Dynamic Web Project in Eclipse. In the former, all the jar files are shown individually under the top-level project folder. In the latter, the jar files ...

So in my compilers class we are using JDT to represent our subset of Java. I already have assignment working and so I thought it would be a good idea to implement increment/decrement by lowering it to ...

I've been tasked with developing a tool that scans a large collection of Java projects (~7000 .java files) for the use of deprecated methods/properties/APIs. It's been specified that the tool scans in ...

I am trying to open a marker, while double-clicking on an entry from a TableViewer, inside an eclipse plug-in. I am able to get the associated resource from the marker, however nothing is happening ...