src/share/classes/com/sun/source/tree/Tree.java

changeset 1521
71f35e4b93a5
parent 1436
f6f1fd261f57
child 1590
011cf7e0a148
equal deleted inserted replaced
1520:5c956be64b9e 1521:71f35e4b93a5
1 /* 1 /*
2 * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this 7 * published by the Free Software Foundation. Oracle designates this
44 /** 44 /**
45 * Enumerates all kinds of trees. 45 * Enumerates all kinds of trees.
46 */ 46 */
47 public enum Kind { 47 public enum Kind {
48 48
49 /** 49 ANNOTATED_TYPE(AnnotatedTypeTree.class),
50 * Used for instances of {@link AnnotationTree}. 50
51 /**
52 * Used for instances of {@link AnnotationTree}
53 * representing declaration annotations.
51 */ 54 */
52 ANNOTATION(AnnotationTree.class), 55 ANNOTATION(AnnotationTree.class),
56
57 /**
58 * Used for instances of {@link AnnotationTree}
59 * representing type annotations.
60 */
61 TYPE_ANNOTATION(AnnotationTree.class),
53 62
54 /** 63 /**
55 * Used for instances of {@link ArrayAccessTree}. 64 * Used for instances of {@link ArrayAccessTree}.
56 */ 65 */
57 ARRAY_ACCESS(ArrayAccessTree.class), 66 ARRAY_ACCESS(ArrayAccessTree.class),

mercurial