1 /* 2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 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 7 * published by the Free Software Foundation. Oracle designates this 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 10 * 11 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 * version 2 for more details (a copy is included in the LICENSE file that 15 * accompanied this code). 16 * 17 * You should have received a copy of the GNU General Public License version 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 /** 27 * The in-memory model of the JAXB-bound beans. 28 * 29 * <h2>Parameterizations</h2> 30 * <p> 31 * Interfaces in this package are parameterized to work with arbitrary Java reflection library. 32 * This is necessary because the RI needs to work with both the runtime reflection library 33 * ({@link java.lang.reflect}) and the Annotation Processing. 34 * 35 * <p> 36 * The meaning of parameterizations are as follows: 37 * 38 * <dl> 39 * <dt><b>T</b> 40 * <dd>Represents an use of type, such as {@code int}, {@code Foo[]}, or {@code List<Foo>}. 41 * Corresponds to {@link Type}. 42 * 43 * <dt><b>C</b> 44 * <dd>Represents a declaration of a type (that is, class, interface, enum, or annotation.) 45 * This doesn't include {@code int}, {@code Foo[]}, or {@code List<Foo>}, because 46 * they don't have corresponding declarations. 47 * Corresponds to {@link Class} (roughly). 48 * 49 * <dt><b>F</b> 50 * <dd>Represents a field. 51 * Corresponds to {@link Field}. 52 * 53 * <dt><b>M</b> 54 * <dd>Represents a method. 55 * Corresponds to {@link Method}. 56 * 57 * <dt> 58 */ 59 @XmlSchema(namespace="http://jaxb.dev.java.net/xjc/model",elementFormDefault=QUALIFIED) 60 package com.sun.xml.internal.bind.v2.model.core; 61 62 import javax.xml.bind.annotation.XmlSchema; 63 64 import static javax.xml.bind.annotation.XmlNsForm.QUALIFIED;