GH-1294: add find references support for profile annotation values

This commit is contained in:
Martin Lippert
2024-07-16 12:21:46 +02:00
parent 8acbb3def2
commit 1304d81ae6
6 changed files with 259 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
package org.test.profiles;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Component;
@Component
@Profile("profile1")
public class ProfilesClass1 {
}

View File

@@ -0,0 +1,9 @@
package org.test.profiles;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Component;
@Component
@Profile("profile2")
public class ProfilesClass2 {
}

View File

@@ -0,0 +1,10 @@
package org.test.profiles;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Component;
@Component
@Profile(value = {"profile1", "profile2"})
public class ProfilesClassWithArray {
}