GH-1294: add find references support for profile annotation values
This commit is contained in:
@@ -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 {
|
||||
}
|
||||
@@ -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 {
|
||||
}
|
||||
@@ -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 {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user