protected final void printList ( ) { ST list = this . stg . getInstanceOf ( "list" ) ; list . add ( "appName" , this . appName ) ; if ( this . classmap . size ( ) > 0 ) { List < Map < String , String > > l = new ArrayList <> ( ) ; for ( String key : this . classmap . keySet ( ) ) { Map < String , String > m = new HashMap <> ( ) ; m . put ( "key" , key ) ; m . put ( "val" , this . classmap . get ( key ) . getName ( ) ) ; l . add ( m ) ; } list . add ( "classMap" , l ) ; } list . add ( "className" , this . classNames ) ; System . out . println ( list . render ( ) ) ; }
Prints a list of pre - registered and found applications .