mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Kotlin: extract protected modifier from java class files
This commit is contained in:
@@ -231,7 +231,7 @@ open class KotlinFileExtractor(
|
||||
// default java visibility (top level)
|
||||
}
|
||||
JavaVisibilities.ProtectedAndPackage -> {
|
||||
// default java visibility (member level)
|
||||
addModifiers(id, "protected")
|
||||
}
|
||||
else -> logger.errorElement("Unexpected delegated visibility: $v", elementForLocation)
|
||||
}
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
| extlib.jar/extlib/A.class:0:0:0:0 | m | |
|
||||
| extlib.jar/extlib/A.class:0:0:0:0 | m | protected |
|
||||
| test.kt:4:12:4:22 | m | override, protected |
|
||||
|
||||
Reference in New Issue
Block a user