private void checkForFieldInjections(Class<?> targetClass, LinkedList<InjectionMetadata.InjectedElement> currElements) {
KieServices ks = KieServices.Factory.get();
for (Field field : targetClass.getDeclaredFields()) {
KReleaseId kReleaseId = field.getAnnotation(KReleaseId.class);
ReleaseId specificReleaseId = null;
if ( kReleaseId != null ) {
specificReleaseId = ks.newReleaseId(kReleaseId.groupId(),
kReleaseId.artifactId(),
kReleaseId.version());
} else {
specificReleaseId = this.releaseId;
}
KBase kBase = field.getAnnotation(KBase.class);