Skip to content

remove wrong support for function beans in indexer #1572

Closed

Description

@martinlippert

The current indexer has special support for beans that implement functional interfaces from java.util.function, which doesn't really make sense. Instead, the indexer should treat @Bean methods that return a bean of such a type as a regular bean definition. In addition to that, indexing random type declarations that implement those functional interfaces as beans doesn't make sense, since those types are not automatically converted into beans at runtime.

This also means the remove the @> symbol prefix for functional beans and use @+ for bean definitions consistently.

Activity

  1. added this to the 4.31.0.RELEASE milestone on Jun 3, 2025
  2. self-assigned this
    on Jun 3, 2025
  3. added
    for: eclipse
    for: vscode
    on Jun 3, 2025
  4. added a commit that references this issue on Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

for: eclipsefor: vscodetheme: spring index & symbolstype: bug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions