package test; import javax.inject.Inject; public class Report { public @Inject Resource path1; public @Inject @Q1 Resource path2; }