// Find all uses of KieBaseModel and KieSessionModel and add to Set index
if ( !pit.getInjectionTarget().getInjectionPoints().isEmpty() ) {
for ( InjectionPoint ip : pit.getInjectionTarget().getInjectionPoints() ) {
KBase kBase = ip.getAnnotated().getAnnotation( KBase.class );
KSession kSession = ip.getAnnotated().getAnnotation( KSession.class );
if ( kBase == null && kSession == null ) {
continue;
}
KReleaseId KReleaseId = ip.getAnnotated().getAnnotation( KReleaseId.class );