question: public Collection < GridQueryTypeDescriptor > types ( @ Nullable String space ) { Collection < GridQueryTypeDescriptor > spaceTypes = new ArrayList < > ( Math . min ( 10 , types . size ( ) ) ) ; for ( Map . Entry < TypeId , TypeDescriptor > e : types . entrySet ( ) ) { TypeDescriptor desc = e . getValue ( ) ; if ( desc . registered ( ) && F . eq ( e . getKey ( ) . space , space ) ) spaceTypes . add ( desc ) ; } return spaceTypes ; }
target:  Gets types for space.