Open scottmarlow opened 7 years ago
For example, if the Cassandra profile name is "x": @Inject @Named("x") private Cluster cluster; // should match @Inject @Named("x") private String firstname; // should not match as not a NoSQL class
for checking the type, we should use the Jandex equivalent of Class.isAssignableFrom(Class<?> cls) to see if the target type is a NoSQL class
For example, if the Cassandra profile name is "x": @Inject @Named("x") private Cluster cluster; // should match @Inject @Named("x") private String firstname; // should not match as not a NoSQL class