Skip to content

Xamarin - Naming Parameters With Javadoc - ArrayList/List (Collection Parameter) are not retrieving parameter name #3097

Open
@vpatelalk

Description

@vpatelalk

Steps to Reproduce

  1. Create jar files which should contain a function which is accepting the (ArrayList or List) parameter
  2. Create the Javadocs from the same source codebase which use to create a jar
  3. Create a Xamarin binding project and use the above jar and javadocs

Expected Behavior

Created a binding dll retrieves all parameter name from the Javadocs however any function which having ArrayList or List parameters are not taking parameter name and instead use p0, p1, p2 etc.

Actual Behavior

The binding library should take the parameter name from the Javadocs and should show the correct parameter name.

Version Information

Microsoft Visual Studio Professional 2017
Version 15.8.9
VisualStudio.15.Release/15.8.9+28010.2050
Microsoft .NET Framework
Version 4.7.03056

Visual C++ for Cross Platform Mobile Development (Android) 15.0.27924.00
Visual C++ for Cross Platform Mobile Development (Android)

Xamarin 4.11.0.779 (d15-8@ff915e800)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android SDK 9.0.0.19 (HEAD/a8a3b0ec7)
Xamarin.Android Reference Assemblies and MSBuild support.

Samples

Sample files.zip
Sample files (Sample.java, Javadocs, api.xml generated by binding) contains four functions.. Javadocs contains correct description
searchPOIsAlongRoute1 : Binding generates correct parameter name
searchPOIsAlongRoute2 : Binding generates correct parameter name
searchPOIsAlongRoute3 : Binding generates p0,p1,p2,p3 instead of taking parameter name from Javadoc
searchPOIsAlongRoute3 : Binding generates p0,p1,p2,p3 instead of taking parameter name from Javadoc

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: BindingsIssues in Java Library Binding projects.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions