Disallow variables, and parameters to be of certain
types. Default disallows the concrete
java.util.Collection types (LinkedList, ArrayList,
HashMap, etc.) and types of the form ^Abstract.*$
Helps reduce coupling on concrete classes. In addition,
IMHO, abstract classes should be thought of a
convenience base class implementations of interfaces
and as such are not types themsleves.
Log in to post a comment.