Removing javadoc warnings in build

This commit is contained in:
sjaakd 2016-08-30 21:16:31 +02:00
parent daddb255dd
commit fd077047ca
3 changed files with 20 additions and 0 deletions

View File

@ -52,6 +52,7 @@ public class ForgedMethod implements Method {
* @param name the (unique name) for this method * @param name the (unique name) for this method
* @param sourceType the source type * @param sourceType the source type
* @param targetType the target type. * @param targetType the target type.
* @param mapperConfiguration the mapper configuration
* @param positionHintElement element used to for reference to the position in the source file. * @param positionHintElement element used to for reference to the position in the source file.
*/ */
public ForgedMethod(String name, Type sourceType, Type targetType, MapperConfiguration mapperConfiguration, public ForgedMethod(String name, Type sourceType, Type targetType, MapperConfiguration mapperConfiguration,

View File

@ -109,6 +109,7 @@ public abstract class AnnotationBasedComponentModelProcessor implements ModelEle
/** /**
* @param originalReference the reference to be replaced * @param originalReference the reference to be replaced
* @param annotations the list of annotations
* *
* @return the mapper reference replacing the original one * @return the mapper reference replacing the original one
*/ */
@ -127,6 +128,8 @@ public abstract class AnnotationBasedComponentModelProcessor implements ModelEle
protected abstract String getComponentModelIdentifier(); protected abstract String getComponentModelIdentifier();
/** /**
* @param mapper the mapper
*
* @return the annotation(s) to be added at the mapper type implementation * @return the annotation(s) to be added at the mapper type implementation
*/ */
protected abstract List<Annotation> getTypeAnnotations(Mapper mapper); protected abstract List<Annotation> getTypeAnnotations(Mapper mapper);

View File

@ -30,6 +30,10 @@ public interface AccessorNamingStrategy {
/** /**
* Returns the type of the given method. * Returns the type of the given method.
*
* @param method to be analyzed.
*
* @return the method type.
*/ */
MethodType getMethodType(ExecutableElement method); MethodType getMethodType(ExecutableElement method);
@ -38,6 +42,10 @@ public interface AccessorNamingStrategy {
* <p> * <p>
* The default implementation will e.g. return "name" for {@code public String getName()} or {@code public void * The default implementation will e.g. return "name" for {@code public String getName()} or {@code public void
* setName(String name)}. * setName(String name)}.
*
* @param getterOrSetterMethod to be analyzed.
*
* @return property name derived from the getterOrSetterMethod
*/ */
String getPropertyName(ExecutableElement getterOrSetterMethod); String getPropertyName(ExecutableElement getterOrSetterMethod);
@ -45,6 +53,10 @@ public interface AccessorNamingStrategy {
* Returns the element name of the given adder method. * Returns the element name of the given adder method.
* <p> * <p>
* The default implementation will e.g. return "item" for {@code public void addItem(String item)}. * The default implementation will e.g. return "item" for {@code public void addItem(String item)}.
*
* @param adderMethod to be getterOrSetterMethod.
*
* @return getter name for collections
*/ */
String getElementName(ExecutableElement adderMethod); String getElementName(ExecutableElement adderMethod);
@ -52,6 +64,10 @@ public interface AccessorNamingStrategy {
* Returns the getter name of the given collection property. * Returns the getter name of the given collection property.
* <p> * <p>
* The default implementation will e.g. return "getItems" for "items". * The default implementation will e.g. return "getItems" for "items".
*
* @param property to be getterOrSetterMethod.
*
* @return getter name for collection properties
*/ */
String getCollectionGetterName(String property); String getCollectionGetterName(String property);
} }