@Test public void testClassesExtendingClasses() { final Input.Parameters parameters = new Input.Parameters(); parameters.classesExtendingClasses = Arrays.asList(MyJsonInterfaceImpl.class.getName()); final String output = new TypeScriptGenerator(TestUtils.settings()).generateTypeScript(Input.from(parameters)); Assert.assertTrue(output.contains("lastName: string;")); }
public static Input from(Type... types) { Objects.requireNonNull(types, "types"); final List<SourceType<Type>> sourceTypes = new ArrayList<>(); for (Type type : types) { sourceTypes.add(new SourceType<>(type)); } return new Input(sourceTypes); }
Input { public static Input from(Type... types) { Objects.requireNonNull(types, "types"); final List<SourceType<Type>> sourceTypes = new ArrayList<>(); for (Type type : types) { sourceTypes.add(new SourceType<>(type)); } return new Input(sourceTypes); } }
Input { public static Input from(Type... types) { Objects.requireNonNull(types, "types"); final List<SourceType<Type>> sourceTypes = new ArrayList<>(); for (Type type : types) { sourceTypes.add(new SourceType<>(type)); } return new Input(sourceTypes); } private  Input(List<SourceType<Type>> sourceTypes); }
Input { public static Input from(Type... types) { Objects.requireNonNull(types, "types"); final List<SourceType<Type>> sourceTypes = new ArrayList<>(); for (Type type : types) { sourceTypes.add(new SourceType<>(type)); } return new Input(sourceTypes); } private  Input(List<SourceType<Type>> sourceTypes); List<SourceType<Type>> getSourceTypes(); static Input from(Type... types); @Deprecated static Input fromClassNamesAndJaxrsApplication(List<String> classNames, List<String> classNamePatterns, String jaxrsApplicationClassName,
            boolean automaticJaxrsApplication, Predicate<String> isClassNameExcluded, URLClassLoader classLoader, boolean debug); @Deprecated static Input fromClassNamesAndJaxrsApplication(List<String> classNames,
            List<String> classNamePatterns, List<String> classesWithAnnotations,
            List<String> classesImplementingInterfaces, List<String> classesExtendingClasses,
            String jaxrsApplicationClassName,
            boolean automaticJaxrsApplication, Predicate<String> isClassNameExcluded,
            URLClassLoader classLoader, boolean debug); static Input from(Parameters parameters); }
Input { public static Input from(Type... types) { Objects.requireNonNull(types, "types"); final List<SourceType<Type>> sourceTypes = new ArrayList<>(); for (Type type : types) { sourceTypes.add(new SourceType<>(type)); } return new Input(sourceTypes); } private  Input(List<SourceType<Type>> sourceTypes); List<SourceType<Type>> getSourceTypes(); static Input from(Type... types); @Deprecated static Input fromClassNamesAndJaxrsApplication(List<String> classNames, List<String> classNamePatterns, String jaxrsApplicationClassName,
            boolean automaticJaxrsApplication, Predicate<String> isClassNameExcluded, URLClassLoader classLoader, boolean debug); @Deprecated static Input fromClassNamesAndJaxrsApplication(List<String> classNames,
            List<String> classNamePatterns, List<String> classesWithAnnotations,
            List<String> classesImplementingInterfaces, List<String> classesExtendingClasses,
            String jaxrsApplicationClassName,
            boolean automaticJaxrsApplication, Predicate<String> isClassNameExcluded,
            URLClassLoader classLoader, boolean debug); static Input from(Parameters parameters);  }