-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: KSP processing for package private properties (#10777)
- Loading branch information
Showing
10 changed files
with
252 additions
and
3 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
4 changes: 4 additions & 0 deletions
4
inject-groovy/src/test/groovy/io/micronaut/inject/visitor/MySuperclass.groovy
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 @@ | ||
package io.micronaut.inject.visitor | ||
|
||
class MySuperclass extends PackagePrivateSuperclass { | ||
} |
22 changes: 22 additions & 0 deletions
22
inject-groovy/src/test/groovy/io/micronaut/inject/visitor/PackagePrivateSuperclass.java
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,22 @@ | ||
package io.micronaut.inject.visitor; | ||
|
||
class PackagePrivateSuperclass { | ||
|
||
String packagePrivateProperty; | ||
|
||
String getPackagePrivateProperty() { | ||
return packagePrivateProperty; | ||
} | ||
|
||
private String privateProperty; | ||
|
||
private String getPrivateProperty() { | ||
return privateProperty; | ||
} | ||
|
||
public String publicProperty; | ||
|
||
public String getPublicProperty() { | ||
return publicProperty; | ||
} | ||
} |
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
4 changes: 4 additions & 0 deletions
4
inject-java-test/src/test/groovy/io/micronaut/inject/visitor/beans/MySuperclass.java
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 @@ | ||
package io.micronaut.inject.visitor.beans; | ||
|
||
public class MySuperclass extends PackagePrivateSuperclass { | ||
} |
22 changes: 22 additions & 0 deletions
22
...java-test/src/test/groovy/io/micronaut/inject/visitor/beans/PackagePrivateSuperclass.java
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,22 @@ | ||
package io.micronaut.inject.visitor.beans; | ||
|
||
class PackagePrivateSuperclass { | ||
|
||
String packagePrivateProperty; | ||
|
||
String getPackagePrivateProperty() { | ||
return packagePrivateProperty; | ||
} | ||
|
||
private String privateProperty; | ||
|
||
private String getPrivateProperty() { | ||
return privateProperty; | ||
} | ||
|
||
public String publicProperty; | ||
|
||
public String getPublicProperty() { | ||
return publicProperty; | ||
} | ||
} |
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
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
5 changes: 5 additions & 0 deletions
5
inject-kotlin/src/test/java/io/micronaut/kotlin/processing/visitor/MySuperclass.java
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,5 @@ | ||
package io.micronaut.kotlin.processing.visitor; | ||
|
||
public class MySuperclass extends PackagePrivateSuperclass { | ||
|
||
} |
22 changes: 22 additions & 0 deletions
22
...kotlin/src/test/java/io/micronaut/kotlin/processing/visitor/PackagePrivateSuperclass.java
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,22 @@ | ||
package io.micronaut.kotlin.processing.visitor; | ||
|
||
class PackagePrivateSuperclass { | ||
|
||
String packagePrivateProperty; | ||
|
||
String getPackagePrivateProperty() { | ||
return packagePrivateProperty; | ||
} | ||
|
||
private String privateProperty; | ||
|
||
private String getPrivateProperty() { | ||
return privateProperty; | ||
} | ||
|
||
public String publicProperty; | ||
|
||
public String getPublicProperty() { | ||
return publicProperty; | ||
} | ||
} |