1
10
11 package com.sun.xml.bind.v2.model.annotation;
12
13 import java.lang.annotation.Annotation;
14 import javax.xml.bind.annotation.XmlTransient;
15
16
17
21 final class XmlTransientQuick
22 extends Quick
23 implements XmlTransient
24 {
25
26 private final XmlTransient core;
27
28 public XmlTransientQuick(Locatable upstream, XmlTransient core) {
29 super(upstream);
30 this.core = core;
31 }
32
33 protected Annotation getAnnotation() {
34 return core;
35 }
36
37 protected Quick newInstance(Locatable upstream, Annotation core) {
38 return new XmlTransientQuick(upstream, ((XmlTransient) core));
39 }
40
41 public Class<XmlTransient> annotationType() {
42 return XmlTransient.class;
43 }
44
45 }
46