Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More kotlin-annotation-processing parsing tests
- Loading branch information
Showing
14 changed files
with
63 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
...in-annotation-processing/src/test/resources/parse/annotatedGettersSetters/annotations.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
a kotlin.data 0 | ||
p org.test 0 | ||
c 0 0/SomeClass | ||
a java.lang.Deprecated 1 | ||
m 1 0/SomeClass getImmutableProperty | ||
a org.jetbrains.annotations.NotNull 2 | ||
f 2 0/SomeClass mutableProperty | ||
m 1 0/SomeClass getMutableProperty | ||
m 2 0/SomeClass getMutableProperty | ||
m 1 0/SomeClass setMutableProperty | ||
m 2 0/SomeClass copy |
7 changes: 7 additions & 0 deletions
7
.../kotlin-annotation-processing/src/test/resources/parse/annotatedGettersSetters/parsed.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
java.lang.Deprecated org.test.SomeClass getImmutableProperty | ||
java.lang.Deprecated org.test.SomeClass getMutableProperty | ||
java.lang.Deprecated org.test.SomeClass setMutableProperty | ||
kotlin.data org.test.SomeClass | ||
org.jetbrains.annotations.NotNull org.test.SomeClass copy | ||
org.jetbrains.annotations.NotNull org.test.SomeClass getMutableProperty | ||
org.jetbrains.annotations.NotNull org.test.SomeClass mutableProperty |
4 changes: 4 additions & 0 deletions
4
...otlin-annotation-processing/src/test/resources/parse/annotationInSameFile/annotations.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
a org.test.SomeAnnotation 0 | ||
p org.test 0 | ||
c 0 0/SomeClass | ||
m 0 0/SomeClass annotatedFunction |
2 changes: 2 additions & 0 deletions
2
...ols/kotlin-annotation-processing/src/test/resources/parse/annotationInSameFile/parsed.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
org.test.SomeAnnotation org.test.SomeClass | ||
org.test.SomeAnnotation org.test.SomeClass annotatedFunction |
3 changes: 3 additions & 0 deletions
3
...ls/kotlin-annotation-processing/src/test/resources/parse/anonymousClasses/annotations.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
a java.lang.Deprecated 0 | ||
p org.test 0 | ||
f 0 0/SomeClass$a$1 property |
1 change: 1 addition & 0 deletions
1
...s/tools/kotlin-annotation-processing/src/test/resources/parse/anonymousClasses/parsed.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
java.lang.Deprecated org.test.SomeClass.a.1 property |
4 changes: 4 additions & 0 deletions
4
.../tools/kotlin-annotation-processing/src/test/resources/parse/constructors/annotations.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
a java.lang.Deprecated 0 | ||
p org.test 0 | ||
m 0 0/SomeClass <init> | ||
m 0 0/SomeClass <init> |
2 changes: 2 additions & 0 deletions
2
...aries/tools/kotlin-annotation-processing/src/test/resources/parse/constructors/parsed.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
java.lang.Deprecated org.test.SomeClass <init> | ||
java.lang.Deprecated org.test.SomeClass <init> |
10 changes: 5 additions & 5 deletions
10
...aries/tools/kotlin-annotation-processing/src/test/resources/parse/localClasses/parsed.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
javax.inject.Inject org.test.SomeClass$someFunction$LocalClass annotatedFunction | ||
javax.inject.Inject org.test.SomeClass$someFunction$LocalClass annotatedProperty | ||
javax.inject.Named org.test.SomeClass$someFunction$LocalClass | ||
org.jetbrains.annotations.Nullable org.test.SomeClass$someFunction$LocalClass annotatedProperty | ||
org.jetbrains.annotations.Nullable org.test.SomeClass$someFunction$LocalClass getAnnotatedProperty | ||
javax.inject.Inject org.test.SomeClass.someFunction.LocalClass annotatedFunction | ||
javax.inject.Inject org.test.SomeClass.someFunction.LocalClass annotatedProperty | ||
javax.inject.Named org.test.SomeClass.someFunction.LocalClass | ||
org.jetbrains.annotations.Nullable org.test.SomeClass.someFunction.LocalClass annotatedProperty | ||
org.jetbrains.annotations.Nullable org.test.SomeClass.someFunction.LocalClass getAnnotatedProperty |
2 changes: 1 addition & 1 deletion
2
.../tools/kotlin-annotation-processing/src/test/resources/parse/methodAnnotations/parsed.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
javax.inject.Inject org.test.SomeClass annotatedFunction | ||
javax.inject.Named org.test.SomeClass$annotatedFunction$1 invoke | ||
javax.inject.Named org.test.SomeClass.annotatedFunction.1 invoke |
10 changes: 5 additions & 5 deletions
10
...ries/tools/kotlin-annotation-processing/src/test/resources/parse/nestedClasses/parsed.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
java.lang.Deprecated org.test.SomeClass OBJECT$ | ||
javax.inject.Named org.test.SomeClass$Companion | ||
javax.inject.Named org.test.SomeClass$InnerClass | ||
javax.inject.Named org.test.SomeClass$NestedClass | ||
javax.inject.Named org.test.SomeClass$SomeInnerObject | ||
org.jetbrains.annotations.NotNull org.test.SomeClass$Companion access$init$0 | ||
javax.inject.Named org.test.SomeClass.Companion | ||
javax.inject.Named org.test.SomeClass.InnerClass | ||
javax.inject.Named org.test.SomeClass.NestedClass | ||
javax.inject.Named org.test.SomeClass.SomeInnerObject | ||
org.jetbrains.annotations.NotNull org.test.SomeClass.Companion access$init$0 |
11 changes: 11 additions & 0 deletions
11
...ools/kotlin-annotation-processing/src/test/resources/parse/platformStatic/annotations.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
a kotlin.platform.platformStatic 0 | ||
p org.test 0 | ||
m 0 0/SomeClass$Companion a | ||
a kotlin.inline 1 | ||
m 1 0/SomeClass$Companion a | ||
a org.jetbrains.annotations.NotNull 2 | ||
m 2 0/SomeClass$Companion access$init$0 | ||
a java.lang.Deprecated 3 | ||
f 3 0/SomeClass OBJECT$ | ||
m 0 0/SomeClass a | ||
m 1 0/SomeClass a |
4 changes: 4 additions & 0 deletions
4
...ies/tools/kotlin-annotation-processing/src/test/resources/parse/platformStatic/parsed.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
java.lang.Deprecated org.test.SomeClass OBJECT$ | ||
kotlin.inline org.test.SomeClass.Companion a | ||
kotlin.platform.platformStatic org.test.SomeClass.Companion a | ||
org.jetbrains.annotations.NotNull org.test.SomeClass.Companion access$init$0 |