Resolve qualifier nicknames to default annotations without JSR305 jar
#KT-19419 In Progress
This commit is contained in:
+2
-2
@@ -56,7 +56,7 @@ class TypeQualifierAnnotationResolverTest : KtUsefulTestCase() {
|
||||
assertMethodHasUnwrappedAnnotation(
|
||||
aClass, typeQualifierResolver,
|
||||
"checkForNull",
|
||||
"@javax.annotation.Nonnull(when = When.MAYBE)"
|
||||
"@javax.annotation.CheckForNull()"
|
||||
)
|
||||
|
||||
assertMethodHasUnwrappedAnnotation(
|
||||
@@ -78,7 +78,7 @@ class TypeQualifierAnnotationResolverTest : KtUsefulTestCase() {
|
||||
assertMethodHasUnwrappedAnnotation(
|
||||
aClass, typeQualifierResolver,
|
||||
"myNullable",
|
||||
"@javax.annotation.Nonnull(when = When.MAYBE)"
|
||||
"@javax.annotation.CheckForNull()"
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user