Read InnerClasses attribute value in FileBasedKotlinClass
Resolve names mentioned in class declarations based on this information
This commit is contained in:
@@ -255,12 +255,11 @@ public final class FqNameUnsafe extends FqNameBase {
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static FqNameUnsafe fromSegments(@NotNull List<Name> names) {
|
||||
public static FqNameUnsafe fromSegments(@NotNull List<?> names) {
|
||||
return new FqNameUnsafe(UtilsPackage.join(names, "."));
|
||||
}
|
||||
|
||||
|
||||
|
||||
@NotNull
|
||||
public static FqNameUnsafe topLevel(@NotNull Name shortName) {
|
||||
return new FqNameUnsafe(shortName.asString(), FqName.ROOT.toUnsafe(), shortName);
|
||||
|
||||
Reference in New Issue
Block a user