Skip to content

Add support to Kotlin #46

@sshann

Description

@sshann

In the last report of NAPPA, it is mentioned that Kotlin is not supported

this research originally avoided the upgrading of NAPPA to Android SDK 28, given that a large concentration of applications at this sdk level started making use of Kotlin as a programming language, which is not considered in NAPPA.

Since the SDK level has been upgraded to level 30, we could consider providing support to Kotlin.

At the moment, I am not sure what changes are required to support it in the Prefetching LIbrary.
In the Plugin for Android Studio, all actions filter the project file by Java files. Although the syntax is slightly different, the essential PSI tree seems to be equal. Hence, it should not be much effort to filter by Kotlin files too. However, before adding support to Kotlin in the plugin, it is necessary to add support to Kotlin in the Prefetching Library.

Ideally, this should be tested by implementing a new sample app in Kotlin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestproject:libraryIssues related to the prefetch library for Androidproject:pluginIssues related to the plugin for Android Studioproject:test-appIssues related to the test Android app

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions