public String[] getTypes() {
      return Arrays.stream(types).map(AnnotatableType::canonicalName).toArray(String[]::new);
   }
public String [ ] getTypes ( ) { return Arrays . stream ( types ) . map ( AnnotatableType :: canonicalName ) . toArray ( String [ ] :: new ) ; }
Get types string [ ].

@return the string [ ]