Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

copy javadoc for Activity @Extra and @FragmentArg to thier builder #1525

@dodgex

Description

@dodgex

if it is possible to read javadoc comments from processed elements/fields it would be nice to copy the javadoc for Activity @Extra and @FragmentArg to the related builder. that allows to have a documented "api".

e.g.

/**
 * [any javadoc]
 */
@Extra("MY_EXTRA_KEY")
protected String myExtra;

->

/**
 * [any javadoc]
 */
public MyActivity_.IntentBuilder_ myExtra(long myExtra) {
    return super.extra(MY_EXTRA, myExtra);
}

dependeing on the possibilities of the code generation extend the javadoc to be valid:

/**
 * [any javadoc]
 *
 * @param myExtra The value to set
 * @return The IntentBuilder to chain calls
 */

thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions