protected static boolean isJsonDTO(String javaType) {
        Set<String> jsonJavatypes = new HashSet<>(Arrays.asList("org.apache.maven.archetype.catalog.Archetype"));
        return javaType != null && jsonJavatypes.contains(javaType);
    }
protected static boolean isJsonDTO ( String javaType ) { Set < String > jsonJavatypes = new HashSet < > ( Arrays . asList ( "org.apache.maven.archetype.catalog.Archetype" ) ) ; return javaType != null && jsonJavatypes . contains ( javaType ) ; }
Returns true if the given <code>javaType</code> class name should be considered a JSON DTO to return to the UI