X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=binding%2Fmdsal-binding-java-api-generator%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fmdsal%2Fbinding%2Fjava%2Fapi%2Fgenerator%2FGeneratorUtil.java;h=0e224b8d2e90d1c8e7225eba2eb670e90446117b;hb=62d1bb7f2cf0c96ce34ca181462132dc95555daf;hp=3c719d15d2151f2a5753e6ff5816f0b46e7ee140;hpb=0f351bbc28ddf2cddfe30c8d018646d81953fa17;p=mdsal.git diff --git a/binding/mdsal-binding-java-api-generator/src/main/java/org/opendaylight/mdsal/binding/java/api/generator/GeneratorUtil.java b/binding/mdsal-binding-java-api-generator/src/main/java/org/opendaylight/mdsal/binding/java/api/generator/GeneratorUtil.java index 3c719d15d2..0e224b8d2e 100644 --- a/binding/mdsal-binding-java-api-generator/src/main/java/org/opendaylight/mdsal/binding/java/api/generator/GeneratorUtil.java +++ b/binding/mdsal-binding-java-api-generator/src/main/java/org/opendaylight/mdsal/binding/java/api/generator/GeneratorUtil.java @@ -28,25 +28,18 @@ import org.opendaylight.mdsal.binding.model.util.TypeConstants; import org.opendaylight.mdsal.binding.model.util.Types; public final class GeneratorUtil { - - /** - * It doesn't have the sense to create the instances of this class. - */ private GeneratorUtil() { throw new UnsupportedOperationException(); } /** - * Returns the map of imports. The map maps the type name to the package - * name. To the map are added packages for genType and for all - * enclosed types, constants, methods (parameter types, return values), + * Returns the map of imports. The map maps the type name to the package name. To the map are added packages + * for genType and for all enclosed types, constants, methods (parameter types, return values), * implemented types. * - * @param genType - * generated type for which the map of the imports is created + * @param genType generated type for which the map of the imports is created * @return map of the necessary imports - * @throws IllegalArgumentException - * if genType equals null + * @throws IllegalArgumentException if genType equals null */ static Map createImports(final GeneratedType genType) { if (genType == null) { @@ -97,18 +90,12 @@ public final class GeneratorUtil { } /** - * Evaluates if it is necessary to add the package name for - * type to the map of imports for parentGenType. - * If it is so the package name is saved to the map imports. + * Evaluates if it is necessary to add the package name for type to the map of imports for + * parentGenType. If it is so the package name is saved to the map imports. * - * @param parentGenType - * generated type for which is the map of the necessary imports - * built - * @param type - * JAVA Type for which is the necessary of the - * package import evaluated - * @param imports - * map of the imports for parentGenType + * @param parentGenType generated type for which is the map of the necessary imports built + * @param type JAVA Type for which is the necessary of the package import evaluated + * @param imports map of the imports for parentGenType * @throws IllegalArgumentException *