Fix maven plugin not recognizing transitive interfaces 59/15459/1
authorRobert Varga <rovarga@cisco.com>
Wed, 18 Feb 2015 10:46:51 +0000 (11:46 +0100)
committerRobert Varga <rovarga@cisco.com>
Wed, 18 Feb 2015 10:47:56 +0000 (11:47 +0100)
commitd746c5ff307478e8abe1da1950e166b38c378437
treed64804b30f43c3449f66aa52cd65ad44c7a365bd
parent1e2025a2dd82f44c31e268870ab20babfbc9a75f
Fix maven plugin not recognizing transitive interfaces

An implenter does not need to directly implement the interface, but can
rely on it being captured somewhere else. Instead of custom magic, use
Class.isAssignableFrom() to check for compatibility.

Change-Id: I1e21b9880eb0a48bbe6027518cea39fef13b6ec6
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-maven-plugin/src/main/java/org/opendaylight/yangtools/yang2sources/plugin/Util.java