Custom support annotations in Android Studio? -


i have return type annotations on method enable static analysis of return type assure within set of allowed sub-types. e.g. method returns view , have something like:

@checkreturntype(textview.class, button.class) public view getview() {     return (imageview) findviewbyid(r.id.image_view); } 

this similar released android support annotations resource type analysis (@layoutres, @stringres, etc.)

are there libraries / tutorials might in doing ?


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -