Remove unused private methods
See gh-30655
This commit is contained in:
committed by
Stephane Nicoll
parent
3175fb8302
commit
a63e730136
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user