src/share/classes/javax/lang/model/util/ElementFilter.java

changeset 1442
fcf89720ae71
parent 1357
c75be5bc5283
child 2525
2eb010b6cb22
     1.1 --- a/src/share/classes/javax/lang/model/util/ElementFilter.java	Mon Dec 10 12:10:50 2012 +0000
     1.2 +++ b/src/share/classes/javax/lang/model/util/ElementFilter.java	Mon Dec 10 16:21:26 2012 +0000
     1.3 @@ -66,19 +66,19 @@
     1.4  public class ElementFilter {
     1.5      private ElementFilter() {} // Do not instantiate.
     1.6  
     1.7 -    private static Set<ElementKind> CONSTRUCTOR_KIND =
     1.8 +    private static final Set<ElementKind> CONSTRUCTOR_KIND =
     1.9          Collections.unmodifiableSet(EnumSet.of(ElementKind.CONSTRUCTOR));
    1.10  
    1.11 -    private static Set<ElementKind> FIELD_KINDS =
    1.12 +    private static final Set<ElementKind> FIELD_KINDS =
    1.13          Collections.unmodifiableSet(EnumSet.of(ElementKind.FIELD,
    1.14                                                 ElementKind.ENUM_CONSTANT));
    1.15 -    private static Set<ElementKind> METHOD_KIND =
    1.16 +    private static final Set<ElementKind> METHOD_KIND =
    1.17          Collections.unmodifiableSet(EnumSet.of(ElementKind.METHOD));
    1.18  
    1.19 -    private static Set<ElementKind> PACKAGE_KIND =
    1.20 +    private static final Set<ElementKind> PACKAGE_KIND =
    1.21          Collections.unmodifiableSet(EnumSet.of(ElementKind.PACKAGE));
    1.22  
    1.23 -    private static Set<ElementKind> TYPE_KINDS =
    1.24 +    private static final Set<ElementKind> TYPE_KINDS =
    1.25          Collections.unmodifiableSet(EnumSet.of(ElementKind.CLASS,
    1.26                                                 ElementKind.ENUM,
    1.27                                                 ElementKind.INTERFACE,

mercurial