Remove unused private methods

See gh-30655
This commit is contained in:
dreis2211
2022-04-13 20:02:05 +02:00
committed by Stephane Nicoll
parent 3175fb8302
commit a63e730136
2 changed files with 1 additions and 16 deletions

View File

@@ -221,10 +221,6 @@ class MetadataGenerationEnvironment {
return Collections.unmodifiableList(stack);
}
private boolean hasAnnotationRecursive(Element element, String type) {
return !getElementsAnnotatedOrMetaAnnotatedWith(element, this.elements.getTypeElement(type)).isEmpty();
}
private boolean collectElementsAnnotatedOrMetaAnnotatedWith(TypeElement annotationType, LinkedList<Element> stack) {
Element element = stack.peekLast();
for (AnnotationMirror annotation : this.elements.getAllAnnotationMirrors(element)) {