]
Nicolas Challut updated ROASTER-91:
-----------------------------------
Status: Open (was: Pull Request Sent)
Issue has changed.
Add JavaInterfaceMethodImpl class
---------------------------------
Key: ROASTER-91
URL:
https://issues.jboss.org/browse/ROASTER-91
Project: Roaster
Issue Type: Bug
Affects Versions: 2.18.0.Final
Reporter: Nicolas Challut
Assignee: Nicolas Challut
method "bar" should be overrided in javaClass but it is empty.
While searching in the code, I found that :
{code}
for (Method method : source.getMethods())
{
if (method.isAbstract() && !target.hasMethod(method))
{
{code}
It seems that in JavaInterfaceSource the method aren't abstract by default (in the
standars, interface method is abstract, key word is redundant).
So, I see 2 ways to resolve this :
# Change JavaInterface implementation to set all method abstract without add the key
word
# Change Methods#implementAbstractMethod() to handle JavaInterfaceSource type (if source
instance of JavaInterfaceSource, addAll() )
What do you guys think about it ?