{"push_id":1423995257,"size":1,"distinct_size":1,"ref":"refs/heads/warning-fixes-model-behavior-class","head":"6bb989f967e169a1e9d723ac6f32c51faf812b4a","before":"5279574e38bc4614f6acef02c752711d90788de6","commits":[{"sha":"6bb989f967e169a1e9d723ac6f32c51faf812b4a","author":{"name":"Ben Liblit","email":"f38c58852dc1cdf57c81fbb1c5dfc519d8f9d189@cs.wisc.edu"},"message":"Enforce restrictions on the model behavior class statically\n\nIf a client violates these restrictions, I prefer that their code fail\nat compile time instead of run time.  Changing a few key types from\n`Class` to `Class<? extends AbstractAndroidModel>` gives us precisely\nthe static enforcement we need and removes the need for an\n`AbstractAndroidModel.class.isAssignableFrom` run-time check.\n\nHowever, this does change the public API of `AndroidEntryPointManager`\nin two ways.  The `getModelBehavior` and `setModelBehavior` methods now\nrespectively accept and return `Class<?  extends AbstractAndroidModel>`\ninstead of `Class`.  Is tightening up a public API in this manner\nconsidered OK?","distinct":true,"url":"https://api.github.com/repos/liblit/WALA/commits/6bb989f967e169a1e9d723ac6f32c51faf812b4a"}]}
{"actor":{"display_login":"liblit"}}