diff options
Diffstat (limited to 'javax/lang/model/element/ElementVisitor.java')
-rw-r--r-- | javax/lang/model/element/ElementVisitor.java | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/javax/lang/model/element/ElementVisitor.java b/javax/lang/model/element/ElementVisitor.java index 656795daa..e25a035dc 100644 --- a/javax/lang/model/element/ElementVisitor.java +++ b/javax/lang/model/element/ElementVisitor.java @@ -106,7 +106,7 @@ public interface ElementVisitor<R,P> /** * Visits an executable element. * - * @param element the type element to visit. + * @param element the executable element to visit. * @param param the additional parameter, specific to the visitor. * May be {@code null} if permitted by the visitor. */ @@ -115,7 +115,7 @@ public interface ElementVisitor<R,P> /** * Visits a type parameter element. * - * @param element the type element to visit. + * @param element the type parameter element to visit. * @param param the additional parameter, specific to the visitor. * May be {@code null} if permitted by the visitor. */ @@ -124,10 +124,19 @@ public interface ElementVisitor<R,P> /** * Visits a variable element. * - * @param element the type element to visit. + * @param element the variable element to visit. * @param param the additional parameter, specific to the visitor. * May be {@code null} if permitted by the visitor. */ R visitVariable(VariableElement element, P param); + /** + * Visits a package element. + * + * @param element the package element to visit. + * @param param the additional parameter, specific to the visitor. + * May be {@code null} if permitted by the visitor. + */ + R visitPackage(PackageElement element, P param); + } |