Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Javadoc: Invalid references.

 
Ixus See
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys, I am been using {@link Class} to link the classes but some of them show invalid references even I can "f3" and it will go to the class~

It only occurs in package-info.java

anyone know how to fix this problem?
 
Roberto Perillo
Bartender
Posts: 2273
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Champ, try to include the fully qualified name of these classes.
 
Ixus See
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
full name? what do you mean? it is the full name
 
Paul Clapham
Sheriff
Posts: 21945
36
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then I strongly recommend you change the class so it's in a package.
 
Ixus See
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Paul Clapham wrote:Then I strongly recommend you change the class so it's in a package.


it is in the package.
 
Roberto Perillo
Bartender
Posts: 2273
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ixus See wrote:full name? what do you mean?


Well, the class' fully qualified name is the name of the package + the name of the class. Something like this:

 
Ixus See
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
okie thanks, that is super long..


just curious how many words are your choices.txt?

I am about to complete the javadoc and moving on choices.txt tomorrow..

It took me 2 full days to complete javadoc(with code changes), I wonder how long will i take to complete choices.txt
 
Roel De Nijs
Sheriff
Posts: 10763
148
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ixus See wrote:full name? what do you mean? it is the full name

Man, I hope you are not developing for 10 years in Java. It's really that you don't know what's meant with "fully qualified name"
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!