src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/AnnotationEntryGen.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * reserved comment block |
2 * Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT REMOVE OR ALTER! |
|
4 */ |
3 */ |
5 /* |
4 /* |
6 * Licensed to the Apache Software Foundation (ASF) under one or more |
5 * Licensed to the Apache Software Foundation (ASF) under one or more |
7 * contributor license agreements. See the NOTICE file distributed with |
6 * contributor license agreements. See the NOTICE file distributed with |
8 * this work for additional information regarding copyright ownership. |
7 * this work for additional information regarding copyright ownership. |
39 import com.sun.org.apache.bcel.internal.classfile.RuntimeVisibleAnnotations; |
38 import com.sun.org.apache.bcel.internal.classfile.RuntimeVisibleAnnotations; |
40 import com.sun.org.apache.bcel.internal.classfile.RuntimeVisibleParameterAnnotations; |
39 import com.sun.org.apache.bcel.internal.classfile.RuntimeVisibleParameterAnnotations; |
41 |
40 |
42 /** |
41 /** |
43 * @since 6.0 |
42 * @since 6.0 |
|
43 * @LastModified: Jun 2019 |
44 */ |
44 */ |
45 public class AnnotationEntryGen { |
45 public class AnnotationEntryGen { |
46 private int typeIndex; |
46 private int typeIndex; |
47 |
47 |
48 private List<ElementValuePairGen> evs; |
48 private List<ElementValuePairGen> evs; |
261 new DataInputStream(new ByteArrayInputStream(riaData)), cp.getConstantPool())); |
261 new DataInputStream(new ByteArrayInputStream(riaData)), cp.getConstantPool())); |
262 } |
262 } |
263 |
263 |
264 return newAttributes.toArray(new Attribute[newAttributes.size()]); |
264 return newAttributes.toArray(new Attribute[newAttributes.size()]); |
265 } catch (final IOException e) { |
265 } catch (final IOException e) { |
266 System.err.println("IOException whilst processing annotations. " + |
266 System.err.println("IOException whilst processing annotations"); |
267 e.getMessage()); |
267 e.printStackTrace(); |
268 } |
268 } |
269 return null; |
269 return null; |
270 } |
270 } |
271 |
271 |
272 |
272 |