Skip to content

Try building/testing with 2 repos#1892

Draft
mickaelistria wants to merge 1536 commits into
eclipse-jdtls:dom-with-javacfrom
mickaelistria:two-repos
Draft

Try building/testing with 2 repos#1892
mickaelistria wants to merge 1536 commits into
eclipse-jdtls:dom-with-javacfrom
mickaelistria:two-repos

Conversation

@mickaelistria
Copy link
Copy Markdown

No description provided.

mickaelistria and others added 30 commits October 24, 2025 12:35
- Do not suggest methods from enclosing types after `super.|`
- These completions should count as NON_STATIC
- These completion should not count as either QUALIFIED or UNQUALIFIED

Fixes 1 case

Signed-off-by: David Thompson <davthomp@redhat.com>
…ture)

- Fix calculation of signature of expected types in completion context.
  It wasn't handling inner types properly.
  - use our method from `SignatureUtils` to handle this
- Handle "start of constructor" token location calculation (also related
  to completion context)

Fixes 3

Signed-off-by: David Thompson <davthomp@redhat.com>
- Don't complete enum constant declarations
- Better handling of completion of qualified `super` and `this`
  (take into account if you're in an interface)
- Improve `JavacConverter` to handle "field access" split across two lines
  as in `CompletionTests.testBug573632`
  (signatures don't match properly so it's not passing)

Should fix 4 and improve many more

Signed-off-by: David Thompson <davthomp@redhat.com>
Fixes 1 test case

Signed-off-by: David Thompson <davthomp@redhat.com>
Signed-off-by: Rob Stryker <rob@oxbeef.net>
Fixes eclipse-jdt#1629

Signed-off-by: David Thompson <davthomp@redhat.com>
Fixes eclipse-jdt#1630 , fixes 1 test case

Signed-off-by: David Thompson <davthomp@redhat.com>
Signed-off-by: Rob Stryker <rob@oxbeef.net>
Also fix DOMVariableBinding.isParameter() for caught Exception
Another portion of the fix depended on addressing eclipse-jdt#4247,
which is now resolved

Signed-off-by: David Thompson <davthomp@redhat.com>
There are other issues that arise when having a `module-info.java` in a Java 8
project, but this makes sure that we at least don't try to convert the AST nodes,
which prevents an exception.

Fixes eclipse-jdt#193

Signed-off-by: David Thompson <davthomp@redhat.com>
Record components are often modeled as ILocalVariable, which might use
different parent in a case or another. Instead of strictly checking for
equal model element, we check that they are equivalent (name and
position)
eg. after `|`

```java
public class CompleteInInstanceof {

	public void myMethod() {
		Object o = null;
		boolean a = o instanceof RequiresDirective requires && useRequiresDirective(req|);
	}

	static class RequiresDirective {
		private int a;
		public RequiresDirective(int a) { this.a = a; }
		int getA() { return a; }
	}

	public static boolean useRequiresDirective(RequiresDirective requiresDirective) {
		return requiresDirective.getA()  > 5;
	}
}
```

Fixes eclipse-jdt#1593

Signed-off-by: David Thompson <davthomp@redhat.com>
mickaelistria and others added 7 commits November 20, 2025 13:30
…er04 in equivalent tests

Signed-off-by: Rob Stryker <rob@oxbeef.net>
Signed-off-by: Rob Stryker <rob@oxbeef.net>
Signed-off-by: Rob Stryker <rob@oxbeef.net>
Signed-off-by: Rob Stryker <rob@oxbeef.net>
Signed-off-by: Rob Stryker <rob@oxbeef.net>
@mickaelistria mickaelistria force-pushed the two-repos branch 6 times, most recently from 5dcbe5a to afa7917 Compare November 25, 2025 22:11
@mickaelistria mickaelistria mentioned this pull request Nov 26, 2025
@robstryker robstryker force-pushed the dom-with-javac branch 2 times, most recently from 5738537 to 9962d57 Compare December 2, 2025 20:28
@robstryker robstryker force-pushed the dom-with-javac branch 2 times, most recently from dd7aa18 to fbe5e1a Compare March 6, 2026 18:59
@robstryker robstryker force-pushed the dom-with-javac branch 2 times, most recently from 2fcc4f8 to b7970ce Compare April 23, 2026 17:03
@robstryker robstryker force-pushed the dom-with-javac branch 2 times, most recently from 86c88a2 to 4ccbd95 Compare May 7, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants