eclipse-jdt Questions
5
I'm trying to setup my eclipse plugin development target and receive the following error multiple times:
!ENTRY org.eclipse.e4.ui.css.swt 4 0 2015-01-30 15:15:06.879
!MESSAGE FrameworkEvent ERROR
...
Melody asked 30/1, 2015 at 14:34
5
Solved
I wanted to find all the callers of the the method "get" for the following class:
package com.zzz.zzz.zzz.services;
public final class EMF {
private static final EntityManagerFactory emfInstance...
Bibliomancy asked 24/7, 2012 at 16:31
3
Solved
Sometimes, I get this message in the status bar when I press F3 on a Type in a Java editor:
Current text selection cannot be opened in an editor
When I copy the selection into the clipboard an...
Colston asked 14/8, 2013 at 9:20
3
When writing Java code on Eclipse IDE, press Control + Space will pop up the content assist window.
For example, the content assist window for System. will list all the available fields and methods...
Expressway asked 16/12, 2015 at 19:50
2
Solved
Just tried JDK17 on Eclipse 2021-09 to have it fail with a java.lang.VerifyError, which wasn't very helpful itself. I tracked it down to a switch statement, that gets fed a value pulled out of a Ma...
Lorenelorens asked 15/9, 2021 at 16:50
4
Solved
I have the eclipse CDT installed, and I would like to install Java development functionality (JDT) on top of my CDT installation. I've been Googling from an hour but I can't figure out how to do th...
Resolve asked 5/12, 2009 at 21:1
3
Solved
I have a Java class for which part of the javadoc is actually generated as part of the build process: the return value of a method (a static String value) is inserted into the source file, much lik...
Wherever asked 18/8, 2012 at 12:38
7
Solved
I've noticed eclipse JDT uses void as a primitive type. Can this be considered correct?
Weese asked 13/1, 2011 at 15:11
3
Solved
I'm trying to generate Java source code with JDT/AST. I now have MethodDeclaration and want to add a code snippet (from another source) to the method body. The code snippet can contain any Java cod...
Herne asked 10/12, 2012 at 12:50
2
Solved
After install of 2019-12 version of Eclipse I can't set black background while using Dark theme and Default set of colors.
If I change color in General -> Editors -> Text Editors -> Appearance col...
Electromotor asked 5/1, 2020 at 11:10
2
Solved
When I create a new class in Eclipse Juno and auto-add a main method, I get the following:
public class Example {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-g...
Lehrer asked 22/5, 2013 at 7:45
0
I'm developing an annotation processor. And here is a classic maven project structrue.
project
- src/main
- java // SOURCE_PATH
- resources // SOURCE_PATH
- target
- classes // CLASS_PATH and C...
Mikkel asked 3/4, 2018 at 13:22
5
Solved
I'm trying to write an Eclipse plugin, but I found that there is no source by default. I searched in www.eclipse.org, but didn't find anything.
My eclipse is 3.6.2. Where can I get the source of J...
Condensable asked 29/6, 2011 at 15:21
2
I installed Oracle WebLogic Tools for Eclipse Luna and now I get the error in the title at startup. I've attached the Eclipse log below.
java.lang.NullPointerException
at org.eclipse.m2e.jdt.inte...
Cannady asked 10/10, 2014 at 14:55
2
Solved
I´m migrating from Java 7 to Java 8 and I have met with this change in the language.
I have a Superinterface with an annotated method:
public interface SuperInterface {
@X
SuperInterface getSo...
Georgiegeorgina asked 23/5, 2017 at 13:54
3
Solved
I'm trying to create a project that depends on JDT core. I was using the entries in Maven central until I realized they were several years out of date. After poking around a little, I came across h...
Glossotomy asked 21/3, 2014 at 1:28
2
Solved
Using Eclise JDT, I need to retrieve the children of any ASTNode.
Is there a utility method somewhere that I could use ?
The only way I can think of right now is to subclass ASTVisitor and treat e...
Angara asked 7/8, 2012 at 8:15
1
In the Eclipse Compiler for Java standalone, I am able to log in XML the compilation info via a command-line atribute, as in this stub:
java -jar ecj-4.3.2.jar -log compile.xml <classpath,files...
Sarchet asked 10/3, 2014 at 17:14
3
Solved
I'm new to AST (my first time writing a plugin). Expressions can be quite complex in real life. I wanted to know how to resolve the left and right side of an asignment, for instance.
class Visitor...
Chaconne asked 24/4, 2016 at 16:55
1
Solved
I have a code here:
public class TestOverride {
int foo() {
return -1;
}
}
class B extends TestOverride {
@Override
int foo() {
// error - quick fix to add "return super.foo();"
}
}
As ...
Hanaper asked 24/4, 2016 at 4:18
3
Given an ASTNode in eclipse, is there any way to get the corresponding source code line number?
Although asked 20/6, 2012 at 19:33
7
Solved
How can I get Java 8 to work with Eclipse?
I have followed this guide but doesn't work. I've also seen the Eclipse Java 8 wiki page, but they don't explain what to do with the checked out git rep...
Gerhard asked 22/2, 2013 at 15:15
1
Solved
Note: I found multiple questions pointing out differences between javac and the Eclipse compiler, but as far as I could see all of them discuss other issues.
Suppose we have this method:
public s...
Refutation asked 21/11, 2015 at 19:54
1
Solved
I am creating a java agent that will be used to to do some bytecode modification to some classes org.eclipse.jdt.core.JDTCompilerAdapter is one of them. I am using javassit to modify some the execu...
Ankylosis asked 8/11, 2015 at 21:20
0
I'm running Mars 4.5.1. Content Assist isn't working at all inside the code blocks of lamba expressions.
obj.doSomething(param1 -> {
// Content Assist doesn't work here
}
Anything outs...
Perpetuate asked 8/10, 2015 at 1:12
1 Next >
© 2022 - 2024 — McMap. All rights reserved.