[ 
https://issues.apache.org/jira/browse/MPLUGIN-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17626022#comment-17626022
 ] 

ASF GitHub Bot commented on MPLUGIN-438:
----------------------------------------

slawekjaranowski commented on code in PR #168:
URL: 
https://github.com/apache/maven-plugin-tools/pull/168#discussion_r1008662241


##########
maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/datamodel/ParameterAnnotationContent.java:
##########
@@ -48,20 +48,24 @@
 
     private String className;
 
+    private boolean methodSource;
+
     private final List<String> typeParameters;
 
-    public ParameterAnnotationContent( String fieldName, String className, 
List<String> typeParameters )
+    public ParameterAnnotationContent( String fieldName, String className, 
List<String> typeParameters,
+                                       boolean methodSource )
     {
         super( fieldName );
         this.className = className;
         this.typeParameters = typeParameters;
+        this.methodSource = methodSource;
     }
 
     public ParameterAnnotationContent( String fieldName, String alias, String 
property, String defaultValue,
                                        boolean required, boolean readonly, 
String className,
-                                       List<String> typeParameters )
+                                       List<String> typeParameters, boolean 
methodSource )

Review Comment:
   change to `annotationOnMethod`





> Parameter description should be taken from annotated item
> ---------------------------------------------------------
>
>                 Key: MPLUGIN-438
>                 URL: https://issues.apache.org/jira/browse/MPLUGIN-438
>             Project: Maven Plugin Tools
>          Issue Type: Bug
>            Reporter: Slawomir Jaranowski
>            Assignee: Slawomir Jaranowski
>            Priority: Major
>             Fix For: 3.7.0
>
>
> When we have declared both - field  and setter method for field - parameter 
> description should be taken from item with @Parameter annotation.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to