Merge
This commit is contained in:
commit
73294bfb7c
@ -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.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -31,7 +31,9 @@ import com.sun.source.util.Trees;
|
|||||||
import com.sun.xml.internal.bind.v2.model.nav.Navigator;
|
import com.sun.xml.internal.bind.v2.model.nav.Navigator;
|
||||||
import com.sun.xml.internal.bind.v2.runtime.Location;
|
import com.sun.xml.internal.bind.v2.runtime.Location;
|
||||||
|
|
||||||
|
import java.lang.annotation.Annotation;
|
||||||
import javax.annotation.processing.ProcessingEnvironment;
|
import javax.annotation.processing.ProcessingEnvironment;
|
||||||
|
import javax.lang.model.element.AnnotationMirror;
|
||||||
import javax.lang.model.element.Element;
|
import javax.lang.model.element.Element;
|
||||||
import javax.lang.model.element.ElementKind;
|
import javax.lang.model.element.ElementKind;
|
||||||
import javax.lang.model.element.ExecutableElement;
|
import javax.lang.model.element.ExecutableElement;
|
||||||
@ -372,6 +374,21 @@ public class ApNavigator implements Navigator<TypeMirror, TypeElement, VariableE
|
|||||||
public TypeKind getKind() {
|
public TypeKind getKind() {
|
||||||
throw new IllegalStateException();
|
throw new IllegalStateException();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<? extends AnnotationMirror> getAnnotationMirrors() {
|
||||||
|
throw new IllegalStateException();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public <A extends Annotation> A getAnnotation(Class<A> annotationType) {
|
||||||
|
throw new IllegalStateException();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationType) {
|
||||||
|
throw new IllegalStateException();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
public Location getClassLocation(TypeElement typeElement) {
|
public Location getClassLocation(TypeElement typeElement) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user