equal
deleted
inserted
replaced
58 /** |
58 /** |
59 * Returns the annotation type of this annotation. |
59 * Returns the annotation type of this annotation. |
60 */ |
60 */ |
61 public AnnotationTypeDoc annotationType() { |
61 public AnnotationTypeDoc annotationType() { |
62 ClassSymbol atsym = (ClassSymbol)annotation.type.tsym; |
62 ClassSymbol atsym = (ClassSymbol)annotation.type.tsym; |
63 return (AnnotationTypeDoc)env.getClassDoc(atsym); |
63 if (annotation.type.isErroneous()) { |
|
64 env.warning(null, "javadoc.class_not_found", annotation.type.toString()); |
|
65 return new AnnotationTypeDocImpl(env, atsym); |
|
66 } else { |
|
67 return (AnnotationTypeDoc)env.getClassDoc(atsym); |
|
68 } |
64 } |
69 } |
65 |
70 |
66 /** |
71 /** |
67 * Returns this annotation's elements and their values. |
72 * Returns this annotation's elements and their values. |
68 * Only those explicitly present in the annotation are |
73 * Only those explicitly present in the annotation are |