Resolve qualifier nicknames to default annotations without JSR305 jar

#KT-19419 In Progress
This commit is contained in:
Denis Zharkov
2017-08-09 18:23:55 +07:00
parent f8f0c0b6d7
commit 964f60d0a4
3 changed files with 7 additions and 3 deletions
@@ -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()"
)
}