renamed @Memoize to @Cached by popular request
can now check not only for presence of methods, but also for
constructors