return allAvailableTypes;
}
final org.kie.commons.java.nio.file.Path nioProjectRoot = paths.convert( projectRoot );
final org.kie.commons.java.nio.file.Path nioSrcRoot = nioProjectRoot.resolve( "src/main/resources" );
final Collection<org.kie.commons.java.nio.file.Path> modelNioPaths = fileDiscoveryService.discoverFiles( nioSrcRoot,
new FileExtensionFilter( typeDefinition.getSuffix() ),
true );
for ( org.kie.commons.java.nio.file.Path modelNioPath : modelNioPaths ) {
final Path modelPath = paths.convert( modelNioPath );
if ( !modelPath.equals( path ) ) {
final List<FactMetaModel> model = load( modelPath ).getModels();