private void checkForMethodInjections(Class<?> targetClass, LinkedList<InjectionMetadata.InjectedElement> currElements) {
for (Method method : targetClass.getDeclaredMethods()) {
KSession kSession = method.getAnnotation(KSession.class);
KBase kBase = method.getAnnotation(KBase.class);
KContainer kContainer = method.getAnnotation(KContainer.class);
if ((kSession != null || kBase != null || kContainer !=null) &&
method.equals(ClassUtils.getMostSpecificMethod(method, targetClass))) {
if (Modifier.isStatic(method.getModifiers())) {
throw new IllegalStateException(KIE_ANNOTATIONS_ARE_NOT_SUPPORTED_ON_STATIC_METHODS);
}