Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress useless companion for Kotlin-As-Java #2681

Merged
merged 6 commits into from
Oct 31, 2022

Commits on Sep 26, 2022

  1. Suppress useless companion for Kotlin-As-Java

    * hide companion object if it contains only const/lateinit/@JvmField properties or @JvmStatic functions
    * lift the declarations to outer class from companion
    * mark lifted declarations as static
    * mark const/JvmField/lateinit properties as static for named objects
    atyrin committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    845444a View commit details
    Browse the repository at this point in the history
  2. Fix visibility for objects

    * remove getter/setter for lifted from companion properties and named objects
    * fix visibility modifiers for lifter properties
    * fix always public top level constants
    atyrin committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    f43ef42 View commit details
    Browse the repository at this point in the history
  3. Add companion instance property to outer class

    If a companion object rendered for the class then the static property for accessing the object is shown.
    atyrin committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    3168fba View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2022

  1. Configuration menu
    Copy the full SHA
    affaf7e View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2022

  1. Configuration menu
    Copy the full SHA
    e103b26 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2022

  1. Configuration menu
    Copy the full SHA
    55ca178 View commit details
    Browse the repository at this point in the history