Review fixes around type enhancement and loading type use annotations
This commit is contained in:
+1
-5
@@ -261,11 +261,7 @@ class SignatureEnhancement(
|
||||
* class A extends B<@NotNull Integer> {}
|
||||
*/
|
||||
fun enhanceSuperType(type: KotlinType, context: LazyJavaResolverContext) =
|
||||
SignatureParts(
|
||||
null, type, emptyList(), false, context,
|
||||
AnnotationQualifierApplicabilityType.TYPE_USE,
|
||||
typeParameterBounds = true
|
||||
).enhance().type
|
||||
SignatureParts(null, type, emptyList(), false, context, AnnotationQualifierApplicabilityType.TYPE_USE).enhance().type
|
||||
|
||||
private fun ValueParameterDescriptor.hasDefaultValueInAnnotation(type: KotlinType) =
|
||||
when (val defaultValue = getDefaultValueFromAnnotation()) {
|
||||
|
||||
Reference in New Issue
Block a user