public < P , D > Translator < P , D > get ( final TypeKey tk , final CreateContext ctx , final Path path ) { Translator < ? , ? > translator = translators . get ( tk ) ; if ( translator == null ) { translator = create ( tk , ctx , path ) ; translators . put ( tk , translator ) ; } //noinspection unchecked return ( Translator < P , D > ) translator ; }
Obtains the Translator appropriate for this type and annotations . May be a cached translator ; if not one will be discovered and cached .