Read InnerClasses attribute value in FileBasedKotlinClass

Resolve names mentioned in class declarations based on this information
This commit is contained in:
Alexander Udalov
2014-09-15 10:55:31 +04:00
parent e3b01f073f
commit 1f8b2cef52
4 changed files with 116 additions and 36 deletions
@@ -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);