Merge pull request #13332 from atorralba/atorralba/java/gson-serializability

Java: Fix GsonDeserializableField
This commit is contained in:
Tony Torralba
2023-06-01 10:45:32 +02:00
committed by GitHub

View File

@@ -50,8 +50,7 @@ private class GsonDeserializableField extends DeserializableField {
exists(GsonDeserializableType superType |
superType = this.getDeclaringType().getAnAncestor() and
not superType instanceof TypeObject and
//superType.fromSource()
not superType.(RefType).getPackage().getName().matches("java%")
superType.fromSource()
)
}
}