shuzijun / plantuml-parser

Convert the Java(or kotlin) source code to Plantuml
https://plugins.jetbrains.com/plugin/15524-plantuml-parser
Apache License 2.0
114 stars 27 forks source link

Failed to generate in Android Studio Hedgehog #27

Closed biaji closed 8 months ago

biaji commented 9 months ago

Describe the bug

To Reproduce Steps to reproduce the behavior:

  1. select kotlin files and generate diagram from context submenu.
  2. See error pop up.

Software versions(Help -> About)

The error said:

Cannot invoke "org.jetbrains.kotlin.name.Name.asString()" because the return value of "org.jetbrains.kotlin.resolve.ImportPath.getImportedName()" is null

shuzijun commented 8 months ago

Can you provide the source code file that generates the error? If privacy is involved, can you provide sample code?

biaji commented 8 months ago

Can you provide the source code file that generates the error? If privacy is involved, can you provide sample code?

FYI

package com.tools.version.base

import com.android.build.gradle.*
import com.tools.version.exts.hasAndroidPlugin
import com.tools.version.exts.mergeFeatureSourceSets
import org.gradle.api.Plugin
import org.gradle.api.Project

class VersionPlugin : Plugin<Project> {

}
shuzijun commented 8 months ago

Known issues: "import com.android.build.gradle.*" cannot resolve dependencies