1 /*
2  * Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Distribution License v. 1.0, which is available at
6  * http://www.eclipse.org/org/documents/edl-v10.php.
7  *
8  * SPDX-License-Identifier: BSD-3-Clause
9  */

10
11 package com.sun.xml.bind.v2.model.annotation;
12
13 import java.lang.annotation.Annotation;
14 import javax.xml.bind.annotation.XmlElementRef;
15 import javax.xml.bind.annotation.XmlElementRefs;
16
17
18 /**
19  * <p><b>Auto-generated, do not edit.</b></p>
20  * 
21  */

22 final class XmlElementRefsQuick
23     extends Quick
24     implements XmlElementRefs
25 {
26
27     private final XmlElementRefs core;
28
29     public XmlElementRefsQuick(Locatable upstream, XmlElementRefs core) {
30         super(upstream);
31         this.core = core;
32     }
33
34     protected Annotation getAnnotation() {
35         return core;
36     }
37
38     protected Quick newInstance(Locatable upstream, Annotation core) {
39         return new XmlElementRefsQuick(upstream, ((XmlElementRefs) core));
40     }
41
42     public Class<XmlElementRefs> annotationType() {
43         return XmlElementRefs.class;
44     }
45
46     public XmlElementRef[] value() {
47         return core.value();
48     }
49
50 }
51