Skip to content

vscode function declarations #18

Closed

Description

@dsyer

I like the CTRL-T > feature, but it only seems to work for @Beans (not for Functions in a @FunctionScan or @ComponentScan).

Activity

  1. martinlippert commented on Nov 20, 2017

    @martinlippert
    Member

    Functions in a @FunctionScanor @ComponentScan are identified as such if there is a class that implements java.util.function.Function, java.util.function.Supplier, or java.util.function.Consumer, right?

    That sounds quite straight forward to realize for the symbol infrastructure.

    Another case: Could it also be a class that implements a subtype of those function types? (so I define my own interface that extends j.u.f.Function and then have a class that implements my own interface). And if so, where should the symbol point to? The implementing class or my interface?

  2. dsyer commented on Nov 20, 2017

    @dsyer
    MemberAuthor

    right?

    Correct.

    The implementing class or my interface?

    Dunno. The implementing class sounds more useful to me.

  3. spring-projects-issues commented on Jan 2, 2018

    @spring-projects-issues

    (comment in Pivotal Tracker added by Martin Lippert:)

    This is implemented now and available from the nightly CI builds. Specific symbols for function beans are now generated for classes that implement Function, Supplier, or Consumer interfaces, either directly or indirectly.

  4. added this to the 4.0.0.M8 milestone on Jan 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions