}
// 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 );
if ( kBase != null ) {
if ( kBaseNames == null ) {
kBaseNames = new HashSet<String>();
}
kBaseNames.add( kBase.value() );
}
KSession kSession = ip.getAnnotated().getAnnotation( KSession.class );
if ( kSession != null ) {
if ( kSessionNames == null ) {