@Test public void testPackageNameForGeneratedTypeNullBasePackageName() { assertThrows(NullPointerException.class, () -> BindingGeneratorUtil.packageNameForGeneratedType(null, null)); }
public static String packageNameForGeneratedType(final String basePackageName, final SchemaPath schemaPath) { final int size = Iterables.size(schemaPath.getPathTowardsRoot()) - 1; if (size <= 0) { return basePackageName; } return generateNormalizedPackageName(basePackageName, schemaPath.getPathFromRoot(), size); }
BindingGeneratorUtil { public static String packageNameForGeneratedType(final String basePackageName, final SchemaPath schemaPath) { final int size = Iterables.size(schemaPath.getPathTowardsRoot()) - 1; if (size <= 0) { return basePackageName; } return generateNormalizedPackageName(basePackageName, schemaPath.getPathFromRoot(), size); } }
BindingGeneratorUtil { public static String packageNameForGeneratedType(final String basePackageName, final SchemaPath schemaPath) { final int size = Iterables.size(schemaPath.getPathTowardsRoot()) - 1; if (size <= 0) { return basePackageName; } return generateNormalizedPackageName(basePackageName, schemaPath.getPathFromRoot(), size); } private  BindingGeneratorUtil(); }
BindingGeneratorUtil { public static String packageNameForGeneratedType(final String basePackageName, final SchemaPath schemaPath) { final int size = Iterables.size(schemaPath.getPathTowardsRoot()) - 1; if (size <= 0) { return basePackageName; } return generateNormalizedPackageName(basePackageName, schemaPath.getPathFromRoot(), size); } private  BindingGeneratorUtil(); static String resolveJavaReservedWordEquivalency(final String parameterName); static String packageNameForGeneratedType(final String basePackageName, final SchemaPath schemaPath); static String packageNameForAugmentedGeneratedType(final String basePackageName,
            final SchemaPath schemaPath); static long computeDefaultSUID(final GeneratedTypeBuilderBase<?> to); static Restrictions getRestrictions(final TypeDefinition<?> type); static String encodeAngleBrackets(String description); static String replaceAllIllegalChars(final String str); }
BindingGeneratorUtil { public static String packageNameForGeneratedType(final String basePackageName, final SchemaPath schemaPath) { final int size = Iterables.size(schemaPath.getPathTowardsRoot()) - 1; if (size <= 0) { return basePackageName; } return generateNormalizedPackageName(basePackageName, schemaPath.getPathFromRoot(), size); } private  BindingGeneratorUtil(); static String resolveJavaReservedWordEquivalency(final String parameterName); static String packageNameForGeneratedType(final String basePackageName, final SchemaPath schemaPath); static String packageNameForAugmentedGeneratedType(final String basePackageName,
            final SchemaPath schemaPath); static long computeDefaultSUID(final GeneratedTypeBuilderBase<?> to); static Restrictions getRestrictions(final TypeDefinition<?> type); static String encodeAngleBrackets(String description); static String replaceAllIllegalChars(final String str);  }