I’m trying to create a class that extends org.jivesoftware.smackx.packet.PEPItem but instead of overriding getNode() and getItemDetailsXML() eclipse throws the next error:
“This class must implement the inherited abstract method PEPItem.getNode(), but cannot override it since it is not visible from ItemInfo. Either make the type abstract or make the inherited method visible”.
If i write the methods with @Override eclipse throws the next error:
“The method getItemDetailsXML() of type ItemInfo must override or implement a supertype method”.
And if I write the methods without the @Override throws:
“The method MyClass.getItemDetailsXML() does not override the inherited method from PEPItem since it is private to a different package”