Fixing sonar issues 2
[yangtools.git] / code-generator / binding-model-api / src / main / java / org / opendaylight / yangtools / sal / binding / model / api / type / builder / TypeMemberBuilder.java
index bfad711bb0e06174264d62ed2a25f04e170be736..34e0c2d5cfad9636382ebaba36e39e4156c7bc11 100644 (file)
@@ -9,61 +9,63 @@ import org.opendaylight.yangtools.sal.binding.model.api.Type;
 public interface TypeMemberBuilder<T extends TypeMemberBuilder<T>> {
 
     /**
-     * The method creates new AnnotationTypeBuilder containing specified
-     * package name an annotation name.
-     * <br>
-     * Neither the package name or annotation name can contain
-     * <code>null</code> references. In case that
-     * any of parameters contains <code>null</code> the method SHOULD thrown
-     * {@link IllegalArgumentException}
-     *
-     * @param packageName Package Name of Annotation Type
-     * @param name Name of Annotation Type
+     * The method creates new AnnotationTypeBuilder containing specified package
+     * name an annotation name. <br>
+     * Neither the package name or annotation name can contain <code>null</code>
+     * references. In case that any of parameters contains <code>null</code> the
+     * method SHOULD thrown {@link IllegalArgumentException}
+     * 
+     * @param packageName
+     *            Package Name of Annotation Type
+     * @param name
+     *            Name of Annotation Type
      * @return <code>new</code> instance of Annotation Type Builder.
      */
-    public AnnotationTypeBuilder addAnnotation(final String packageName, final String name);
+    AnnotationTypeBuilder addAnnotation(final String packageName, final String name);
 
     /**
      * Returns the name of property.
-     *
+     * 
      * @return the name of property.
      */
-    public String getName();
+    String getName();
 
     /**
-     * Adds return Type into Builder definition for Generated Property.
-     * <br>
-     * The return Type MUST NOT be <code>null</code>,
-     * otherwise the method SHOULD throw {@link IllegalArgumentException}
-     *
-     * @param returnType Return Type of property.
+     * Adds return Type into Builder definition for Generated Property. <br>
+     * The return Type MUST NOT be <code>null</code>, otherwise the method
+     * SHOULD throw {@link IllegalArgumentException}
+     * 
+     * @param returnType
+     *            Return Type of property.
      */
-    public T setReturnType(final Type returnType);
+    T setReturnType(final Type returnType);
 
     /**
      * Sets the access modifier of property.
-     *
-     * @param modifier Access Modifier value.
+     * 
+     * @param modifier
+     *            Access Modifier value.
      */
-    public T setAccessModifier(final AccessModifier modifier);
+    T setAccessModifier(final AccessModifier modifier);
 
     /**
-     * Adds String definition of comment into Method Signature definition.
-     * <br>
+     * Adds String definition of comment into Method Signature definition. <br>
      * The comment String MUST NOT contain anny comment specific chars (i.e.
      * "/**" or "//") just plain String text description.
-     *
-     * @param comment Comment String.
+     * 
+     * @param comment
+     *            Comment String.
      */
-    public T setComment(final String comment);
+    T setComment(final String comment);
 
     /**
-     * Sets the flag final for method signature. If this is set the method will be prohibited from overriding.
-     * <br>
-     * This setting is irrelevant for methods designated to be defined in interface definitions because interface
-     * can't have final method.
-     *
-     * @param isFinal Is Final
+     * Sets the flag final for method signature. If this is set the method will
+     * be prohibited from overriding. <br>
+     * This setting is irrelevant for methods designated to be defined in
+     * interface definitions because interface can't have final method.
+     * 
+     * @param isFinal
+     *            Is Final
      */
-    public T setFinal(final boolean isFinal);
+    T setFinal(final boolean isFinal);
 }