src/share/classes/com/sun/tools/javac/code/Attribute.java

changeset 1570
f91144b7da75
parent 1521
71f35e4b93a5
child 1755
ddb4a2bfcd82
     1.1 --- a/src/share/classes/com/sun/tools/javac/code/Attribute.java	Mon Jan 21 01:27:42 2013 -0500
     1.2 +++ b/src/share/classes/com/sun/tools/javac/code/Attribute.java	Mon Feb 04 18:08:53 2013 -0500
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -217,6 +217,21 @@
    1.11          }
    1.12      }
    1.13  
    1.14 +    public static class TypeCompound extends Compound {
    1.15 +        public TypeAnnotationPosition position;
    1.16 +        public TypeCompound(Compound compound,
    1.17 +                TypeAnnotationPosition position) {
    1.18 +            this(compound.type, compound.values, position);
    1.19 +        }
    1.20 +        public TypeCompound(Type type,
    1.21 +                List<Pair<MethodSymbol, Attribute>> values,
    1.22 +                TypeAnnotationPosition position) {
    1.23 +            super(type, values);
    1.24 +            this.position = position;
    1.25 +        }
    1.26 +
    1.27 +    }
    1.28 +
    1.29      /** The value for an annotation element of an array type.
    1.30       */
    1.31      public static class Array extends Attribute {

mercurial