Java doc missing for inherited method in enunciate

466 Views Asked by At

I have following class hierarchy. When I generate javadoc for subclass, the generated doc does not contain java doc comment for the method inherited from the super class.

public class SuperClass
{

  /**
   Something interesting.
  */
  public void SuperClassMethod() {

   }
...
}

public class SubClass extends SuperClass
{

}

I am generating docs for SubClass. The doc for the method from the SuperClass are empty.

1

There are 1 best solutions below

0
On BEST ANSWER

In enunciate.xml file, specify the following tag for the super class

<api-import class="com.superclassPackage.superClassName" />

This works for the case when superClass belongs to some other project as well.