Skip to content
This repository was archived by the owner on Nov 9, 2026. It is now read-only.

[param-name-importer] Integrate xamarin-android-docimporter-ng - #560

Merged
jonpryor merged 9 commits into
dotnet:masterfrom
jonpryor:jonp-integrate-docimporter
Jan 19, 2020
Merged

jonpryor merged 9 commits into
dotnet:masterfrom
jonpryor:jonp-integrate-docimporter

Conversation

@jonpryor

Copy link
Copy Markdown
Contributor

Commit e0a0daf added build-tools/xamarin-android-docimporter-ng,
which is a utility to assist extracting Java method parameter names
from Android DroidDoc documentation and from the
android-stubs-src.jar files included in the Android SDK, by using a
minimal Irony-based parser for a subset of the Java language grammar.
build-tools/xamarin-android-docimporter-ng was a "clone" of
https://github.com/atsushieno/xamarin-android-docimporter-ng.

As a "clone", it was not "integrated" with the rest of the repo.

Integrate xamarin-android-docimporter-ng into the repo:

  1. Add a new src/Java.Interop.Tools.JavaSource assembly which
    contains the Java language grammer code. This will be useful
    "elsewhere", in particular for extracting JavaDoc documentation.

  2. Add a new tests/Java.Interop.Tools.JavaSource-Tests assembly
    which contains unit tests for Java.Interop.Tools.JavaSource.dll.

  3. Add a new tools/param-name-importer utility.
    param-name-importer.exe is the .exe formerly known as
    xamarin-android-docimporter-ng.exe.

With the integration complete, remove
build-tools/xamarin-android-docimporter-ng.

Commit e0a0daf added `build-tools/xamarin-android-docimporter-ng`,
which is a utility to assist extracting Java method parameter names
from Android DroidDoc documentation and from the
`android-stubs-src.jar` files included in the Android SDK, by using a
minimal Irony-based parser for a subset of the Java language grammar.
`build-tools/xamarin-android-docimporter-ng` was a "clone" of
https://github.com/atsushieno/xamarin-android-docimporter-ng.

As a "clone", it was not "integrated" with the rest of the repo.

Integrate `xamarin-android-docimporter-ng` into the repo:

 1. Add a new `src/Java.Interop.Tools.JavaSource` assembly which
    contains the Java language grammer code.  This will be useful
    "elsewhere", in particular for extracting JavaDoc documentation.

 2. Add a new `tests/Java.Interop.Tools.JavaSource-Tests` assembly
    which contains unit tests for `Java.Interop.Tools.JavaSource.dll`.

 3. Add a new `tools/param-name-importer` utility.
    `param-name-importer.exe` is the `.exe` formerly known as
    `xamarin-android-docimporter-ng.exe`.

With the integration complete, remove
`build-tools/xamarin-android-docimporter-ng`.
@jonpryor
jonpryor requested review from gugavaro and jpobst January 17, 2020 20:47
@jonpryor
jonpryor merged commit 2c77a8d into dotnet:master Jan 19, 2020
@jonpryor
jonpryor deleted the jonp-integrate-docimporter branch January 19, 2020 21:21
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants