mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
6570730: com.sun.source.tree.ModifiersTree.getFlags() should return class type
Reviewed-by: mcimadamore
This commit is contained in:
parent
99d83d8d85
commit
fba51e328b
4 changed files with 139 additions and 3 deletions
|
@ -94,7 +94,7 @@ public interface Tree {
|
|||
CATCH(CatchTree.class),
|
||||
|
||||
/**
|
||||
* Used for instances of {@link ClassTree}.
|
||||
* Used for instances of {@link ClassTree} representing classes.
|
||||
*/
|
||||
CLASS(ClassTree.class),
|
||||
|
||||
|
@ -557,6 +557,21 @@ public interface Tree {
|
|||
*/
|
||||
ERRONEOUS(ErroneousTree.class),
|
||||
|
||||
/**
|
||||
* Used for instances of {@link ClassTree} representing interfaces.
|
||||
*/
|
||||
INTERFACE(ClassTree.class),
|
||||
|
||||
/**
|
||||
* Used for instances of {@link ClassTree} representing enums.
|
||||
*/
|
||||
ENUM(ClassTree.class),
|
||||
|
||||
/**
|
||||
* Used for instances of {@link ClassTree} representing annotation types.
|
||||
*/
|
||||
ANNOTATION_TYPE(ClassTree.class),
|
||||
|
||||
/**
|
||||
* An implementation-reserved node. This is the not the node
|
||||
* you are looking for.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue