Skip to content

Modifier order of javadoc tags #283

Open
@ahoehma

Description

@ahoehma

What problem are you trying to solve?

Lets imagine you have wrong class javadoc like this:

/**
 * @param <T>
 *          type of product
 * @author John 
 * @since 2020.1.0
 */

Checkstyle tell this violates https://docs.oracle.com/javase/8/docs/technotes/tools/windows/javadoc.html#CHDBEFIF

Describe the solution you'd like

I would like to have recipe which corrects the order of the javadoc tags

Have you considered any alternatives or workarounds?

Manual fixing all these files.

Additional context

May org.openrewrite.staticanalysis.ModifierOrder could be used as a base?

Are you interested in [contributing this feature to OpenRewrite]

(https://github.com/openrewrite/.github/blob/main/CONTRIBUTING.md#new-features)?

I would like to try it :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Recipes Wanted

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions