1
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
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