< prev index next >
src/jdk.xml.bind/share/classes/com/sun/codemodel/internal/JAnnotationUse.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 291,305 ****
/**
* Adds a member value pair to this annotation
* This can be used for e.g to specify
* <pre>
! * @XmlCollectionItem(type=Integer.class);
! * <pre>
! * For adding a value of Class<? extends Annotation>
! * @link
! * #annotationParam(java.lang.String, java.lang.Class<? extends java.lang.annotation.Annotation>)
* @param name
* The simple name for this annotation param
*
* @param value
* The class type of the param
--- 291,304 ----
/**
* Adds a member value pair to this annotation
* This can be used for e.g to specify
* <pre>
! * {@code @XmlCollectionItem(type=Integer.class);}
! * </pre>
! * For adding a value of {@code Class<? extends Annotation>}
! * {@link #annotationParam(java.lang.String, java.lang.Class)}
* @param name
* The simple name for this annotation param
*
* @param value
* The class type of the param
< prev index next >