jre comes with many libraries in rt.jar, one of which is com.sun.istack.internal *. I needed the documentation com.sun.istack.internal.Nullable ( which I thought was used by google in CacheBuilder ), and at first I thought I had to go to docs.oracle.com to find its documentation and there I donβt found about it. Then I went to the original folder obtained using jdk, and I did not find the com name object in the specified folder. Then I looked at the jre7 release and looked at all the packages and the class and did not find a mention of Nullable. Although SO had one mention of this , but nothing concrete. I am still puzzled by where, if necessary, to get its documentation and src. I even looked at the oracle sun api documentation, but this was not mentioned. where the oracle documents there the policy of ported packages, and they are standard or non-standard. They had to document it somewhere, it's just that I take too much time to get there.
Please point me there.
EDIT: Actually javax.annotation.Nullable is used in google CacheBuilder, not com.sun.istack.internal.Nullable. Also for those who may run into this problem: javax.annotation.Nullable is not part of Java SE at the moment and is ported to jsr305 jar. Therefore, if you plan to use CacheBuilder or just look at its code, add jsr305 jar to your class path, otherwise eclipse will get confused and point you to com.sun.istack.intenal.Nullable when you hover over Nullable.
mawia
source share