?: javadoc link warnings on references to interface class within interface class.  
Author Message
K2





PostPosted: 2006-7-14 1:00:00 Top

java-programmer, ?: javadoc link warnings on references to interface class within interface class. I'll try to be as clear as I can on this...

I have an interface class that I want to use simply as a static data
repository.

e.g.:

public interface MyStatics{

public interface STATUS {
public static final int OPERATIONAL = 0;
public static final int WARNING = 1;

}

}

While my code can access this just fine, such as MyStatics.STATUS.WARNING

attempts at referencing the internal interface like this:
{@link MyStatics.STATUS}

e.g.:
/**
* Reports on the operational health of the firmware.
*
* @return The static value that indicates the operation
* status. See {@link MyStatics.STATUS} for possible values.
*/
public int getStatus() {
return MyStatics.STATUS.OPERATIONAL;
}

in external files results in a class not found warning, though I can
clearly see that MyStatics.STATUS.html is getting created post javadoc
build.

Any ideas?
--
If replying directly, please remove the
cleverly decorated addition to my return address.