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

xslt - Substring before throwing error -

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

oracle - Changing start date for system jobs related to automatic statistics collections in 11g -