mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-15 12:55:07 +00:00
8224628: Note that type parameters are not visited by ElementScanners
Reviewed-by: jjg
This commit is contained in:
parent
f30500c679
commit
c2dbf46d2e
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -180,6 +180,10 @@ public class ElementScanner6<R, P> extends AbstractElementVisitor6<R, P> {
|
||||
* {@inheritDoc}
|
||||
*
|
||||
* @implSpec This implementation scans the enclosed elements.
|
||||
* Note that type parameters are <em>not</em> scanned by this
|
||||
* implementation since type parameters are not considered to be
|
||||
* {@linkplain TypeElement#getEnclosedElements enclosed elements
|
||||
* of a type}.
|
||||
*
|
||||
* @param e {@inheritDoc}
|
||||
* @param p {@inheritDoc}
|
||||
@ -211,6 +215,8 @@ public class ElementScanner6<R, P> extends AbstractElementVisitor6<R, P> {
|
||||
* {@inheritDoc}
|
||||
*
|
||||
* @implSpec This implementation scans the parameters.
|
||||
* Note that type parameters are <em>not</em> scanned by this
|
||||
* implementation.
|
||||
*
|
||||
* @param e {@inheritDoc}
|
||||
* @param p {@inheritDoc}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user