# HG changeset patch # User lana # Date 1364324455 25200 # Node ID 7c87522c4a2dbe607c1860ef966fcc988cc73433 # Parent bcebd3fdefc91abb9d7fa0c5af6211b3f8720da6# Parent d44e3250034c02b54ea838e47facbc1aabb28e4a Merge diff -r bcebd3fdefc9 -r 7c87522c4a2d jaxws/src/share/jaxws_classes/com/sun/tools/internal/jxc/model/nav/ApNavigator.java --- a/jaxws/src/share/jaxws_classes/com/sun/tools/internal/jxc/model/nav/ApNavigator.java Wed Jul 05 18:46:58 2017 +0200 +++ b/jaxws/src/share/jaxws_classes/com/sun/tools/internal/jxc/model/nav/ApNavigator.java Tue Mar 26 12:00:55 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2013, 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 @@ -31,7 +31,9 @@ import com.sun.xml.internal.bind.v2.model.nav.Navigator; import com.sun.xml.internal.bind.v2.runtime.Location; +import java.lang.annotation.Annotation; import javax.annotation.processing.ProcessingEnvironment; +import javax.lang.model.element.AnnotationMirror; import javax.lang.model.element.Element; import javax.lang.model.element.ElementKind; import javax.lang.model.element.ExecutableElement; @@ -372,6 +374,21 @@ public TypeKind getKind() { throw new IllegalStateException(); } + + @Override + public List getAnnotationMirrors() { + throw new IllegalStateException(); + } + + @Override + public A getAnnotation(Class annotationType) { + throw new IllegalStateException(); + } + + @Override + public A[] getAnnotationsByType(Class annotationType) { + throw new IllegalStateException(); + } }; public Location getClassLocation(TypeElement typeElement) {