Top "Eclipse-jdt" questions

Use this tag for questions about the Eclipse JDT (Java Development Toolkit) project which provides the plug-ins that implement a Java IDE supporting the development of any Java application, including Eclipse plug-ins.

How to customize hashCode() and equals() generated by Eclipse?

It is recommended and sometimes necessary, classes that represent values (value classes) to override hashCode(), equals() [and optionally toString()] methods. …

java eclipse hashcode eclipse-jdt
Eclipse shows empty error message with Java 9

I have installed the Java 9 plugin. My project hasn't changed, but when I try to run, I get this: If …

java eclipse eclipse-jdt java-9 eclipse-oxygen
Cannot cast eclipse project to IJavaProject

I have the following code IJavaProject targetProject = null; IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot(); for (IProject project : root.getProjects()) { if (project.…

eclipse eclipse-plugin classcastexception eclipse-jdt