When a Type or Interface is involved in a predicate, Toradocu doesn't always translate it correctly.
For example, in org.apache.commons.collections4.collection.UnmodifiableBoundedCollection, the constructor unmodifiableBoundedCollection(Collection<? extends E> coll) reports the following comment in the Javadoc:
@throws IllegalArgumentException if coll is not a {@code BoundedCollection}
In this case, Toradocu produces an empty condition, because the predicate is BoundedCollection doesn't mean anything to it.
A possible solution could be exploiting the @codetag in order to find if the tagged element is a Type, or an Interface, etc.
Obviously we cannot be sure that such elements will always be tagged with @code: maybe a more general solution could work better.
When a
Type
orInterface
is involved in a predicate, Toradocu doesn't always translate it correctly.For example, in
org.apache.commons.collections4.collection.UnmodifiableBoundedCollection
, the constructorunmodifiableBoundedCollection(Collection<? extends E> coll)
reports the following comment in the Javadoc:@throws IllegalArgumentException if coll is not a {@code BoundedCollection}
In this case, Toradocu produces an empty condition, because the predicate
is BoundedCollection
doesn't mean anything to it.A possible solution could be exploiting the
@code
tag in order to find if the tagged element is aType
, or anInterface
, etc. Obviously we cannot be sure that such elements will always be tagged with@code
: maybe a more general solution could work better.