дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-30 22:32:35 +02:00
JDT's selection-based definition can answer the functional interface method (Function.apply) for a method reference whose method is inherited. Go to Definition on a Java method reference now asks the app-owned JDT command openidea.java.methodReferenceDefinition (java-usages 1.20.1) for the AST method binding; Lombok accessors without a source range fall back to their field or declaring type. The bundled jar is reproducible from source (SHA-256 a111a935...); tests/method-reference.py checks the command against a real JDT LS. Co-authored-by: wangyuewen-china <[email protected]>
42 рядки
2.1 KiB
XML
42 рядки
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<plugin>
|
|
<extension point="org.eclipse.jdt.ls.core.delegateCommandHandler">
|
|
<delegateCommandHandler class="ai.openidea.usages.CoveredFilesCommand">
|
|
<command id="openidea.workspace.coveredFiles"/>
|
|
</delegateCommandHandler>
|
|
<delegateCommandHandler class="ai.openidea.usages.CoveredRootsCommand">
|
|
<command id="openidea.workspace.coveredRoots"/>
|
|
</delegateCommandHandler>
|
|
<delegateCommandHandler class="ai.openidea.usages.UsagesCommand">
|
|
<command id="openidea.java.usages"/>
|
|
</delegateCommandHandler>
|
|
<delegateCommandHandler class="ai.openidea.configuration.ConfigurationCommand">
|
|
<command id="openidea.java.configuration"/>
|
|
<command id="openidea.java.configuration.warmup"/>
|
|
</delegateCommandHandler>
|
|
<delegateCommandHandler class="ai.openidea.implementations.ImplementationsCommand">
|
|
<command id="openidea.java.implementations"/>
|
|
</delegateCommandHandler>
|
|
<delegateCommandHandler class="ai.openidea.archives.RefreshArchivesCommand">
|
|
<command id="openidea.java.refreshArchives"/>
|
|
<command id="openidea.java.updateProjectConfigurations"/>
|
|
</delegateCommandHandler>
|
|
<delegateCommandHandler class="ai.openidea.sources.GeneratedSourcesCommand">
|
|
<command id="openidea.java.generatedSources"/>
|
|
</delegateCommandHandler>
|
|
<delegateCommandHandler class="ai.openidea.implementations.ImplementationTargetsCommand">
|
|
<command id="openidea.java.implementationLocations"/>
|
|
</delegateCommandHandler>
|
|
<delegateCommandHandler class="ai.openidea.navigation.MethodReferenceDefinitionCommand">
|
|
<command id="openidea.java.methodReferenceDefinition"/>
|
|
</delegateCommandHandler>
|
|
<delegateCommandHandler class="ai.openidea.hierarchy.HierarchyCommand">
|
|
<command id="openidea.java.hierarchy.members"/>
|
|
<command id="openidea.java.hierarchy.refactor"/>
|
|
</delegateCommandHandler>
|
|
<delegateCommandHandler class="ai.openidea.breakpoints.ExceptionTypeCommand">
|
|
<command id="openidea.java.exceptionType"/>
|
|
</delegateCommandHandler>
|
|
</extension>
|
|
</plugin>
|