Add intentions Add/Remove/Redo parcelable implementation
#KT-17465 Fixed #KT-12049 Fixed
This commit is contained in:
@@ -1040,6 +1040,10 @@ public abstract class KotlinBuiltIns {
|
||||
return descriptor.getContainingDeclaration() == getAny();
|
||||
}
|
||||
|
||||
public static boolean isCharSequence(@Nullable KotlinType type) {
|
||||
return type != null && isNotNullConstructedFromGivenClass(type, FQ_NAMES.charSequence);
|
||||
}
|
||||
|
||||
public static boolean isString(@Nullable KotlinType type) {
|
||||
return type != null && isNotNullConstructedFromGivenClass(type, FQ_NAMES.string);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user