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
Post a Comment