You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. ClassUtils.isImplementationOf only checks whether a class officially
implements an interface (i.e. whether the class definition includes the phrase
"Class extends Whatever implements Interface").
2. There is no method for determining whether a class actually contains all of
the methods necessary to fulfill an interface's implementation.
What is the expected output? What do you see instead?
A method for determining if a class implements all of the methods necessary to
fulfill an interface.
What version of the product are you using? On what operating system?
Latest trunk, revision 317, Windows XP.
Please provide any additional information below.
Attached is a patch to ClassUtils that introduces a new method,
"isInformalImplementationOf", that functions as desired. The patch also adds
appropriate tests to ClassUtilsTest. This functionality is useful when
applying a standard interface wrapper around classes for which one lacks source
control.
Original issue reported on code.google.com by zachary....@gmail.com on 26 Jul 2010 at 12:28
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
zachary....@gmail.com
on 26 Jul 2010 at 12:28The text was updated successfully, but these errors were encountered: