Uh oh!
There was an error while loading. Please reload this page.
Document Java reflection annotation APIs - #577
Conversation
Refs #197 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR improves the quality of the generated API reference documentation for Java.Lang.Reflect by replacing placeholder XML documentation with real descriptions for the AnnotatedElement-style annotation querying APIs on Java.Lang.Reflect.Parameter and Java.Lang.Reflect.AccessibleObject.
Changes:
- Replaced
To be addedplaceholders with real<summary>,<returns>, and<param>docs for annotation-querying members onParameter. - Replaced
To be added/ incorrect placeholder summaries with real<summary>,<returns>, and<param>docs for annotation-querying members onAccessibleObject. - Added/expanded remarks where helpful (including the annotation presence equivalence note), while keeping the Android reference links and required attribution paragraphs.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| docs/xml/Java.Lang.Reflect/Parameter.xml | Documents Parameter’s annotation querying APIs by replacing placeholder param/summary/returns and improving remarks. |
| docs/xml/Java.Lang.Reflect/AccessibleObject.xml | Documents AccessibleObject’s annotation querying APIs by replacing placeholder param/summary/returns and clarifying IsAnnotationPresent. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
jonathanpeppers
commented
Aug 16, 2026
@dalexsoto review |
dalexsoto
left a comment
There was a problem hiding this comment.
The new Parameter#isAnnotationPresent reference points to a nonexistent anchor because the inherited detail lives on AnnotatedElement. Please link to java/lang/reflect/AnnotatedElement#isAnnotationPresent(...) and update the displayed type name: Parameter.xml.
Refs #197 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
jonathanpeppers
commented
Aug 17, 2026
@dalexsoto Addressed in f4ced12: the Parameter.IsAnnotationPresent reference now links to and displays java.lang.reflect.AnnotatedElement.isAnnotationPresent(...), where Android publishes the inherited method detail. |
dalexsoto
left a comment
There was a problem hiding this comment.
The inherited annotation link is fixed, but all newly added <em> elements render as literal XML because ECMA2Yaml supports <i> but has no <em> transform. Please replace the 22 added <em> elements with <i> or plain text and verify the generated pages.
…flection' into jonathanpeppers-fix-pr-577-markup
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Fixed in 3f9d742: replaced all 22 newly added |
dalexsoto
left a comment
There was a problem hiding this comment.
The inherited annotation links and supported italic markup now generate correctly, and the reflection contracts match Android.
jonathanpeppers
commented
Aug 18, 2026
@dalexsoto review |
dalexsoto
left a comment
There was a problem hiding this comment.
The main merge preserves all previously reviewed reflection contracts, links, supported markup, and generated output.
Uh oh!
There was an error while loading. Please reload this page.
Summary
Documents the AnnotatedElement annotation-querying APIs implemented by Java.Lang.Reflect.Parameter and Java.Lang.Reflect.AccessibleObject.
Refs #197
Sources
Validation