j8unit-team / j8unit

Enhancement for JUnit4 to take advantage of Java 8
4 stars 2 forks source link

Fix JavaDoc links for enveloped types #10

Open ghostcity opened 7 years ago

ghostcity commented 7 years ago

Currently, the generated JavaDoc for enveloped types uses the type's basic canonical name. Example is:

/**
 * Test method for the hereby targeted method-under-test {@link Character.Subset#hashCode() public final int
 * java.lang.Character$Subset.hashCode()}.
 * [...]

Unfortunately, this does not work. The javadoc-plugin throws warnings like this:

[...]
[WARNING] /home/sgasterstaedt/Projects/ghostcity/j8unit/repository/src/main/java/org/j8unit/repository/java/lang/CharacterTests.java:250: warning - Tag @link: reference not found: Character.Subset#hashCode() public final int java.lang.Character$Subset.hashCode()
[...]

Hands on! Analyse it! Fix it!