We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
typeAsModel
1 parent 1f861fd commit 64ea483Copy full SHA for 64ea483
java/ql/src/utils/modelgenerator/internal/CaptureModelsSpecific.qll
@@ -104,7 +104,9 @@ private string isExtensible(J::RefType ref) {
104
}
105
106
private string typeAsModel(J::RefType type) {
107
- result = type.getCompilationUnit().getPackage().getName() + ";" + type.nestedName()
+ result =
108
+ type.getCompilationUnit().getPackage().getName() + ";" +
109
+ type.getErasure().(J::RefType).nestedName()
110
111
112
private J::RefType bestTypeForModel(TargetApiSpecific api) {
0 commit comments