Skip to content

Commit

Permalink
Fix compilation error on JDK 13
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasstadler committed Nov 1, 2019
1 parent 0c12a51 commit fd48526
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ public interface DelegatingExecutableElement extends ExecutableElement, Delegati
@Override
ExecutableElement getDelegate();

@Override
default TypeMirror asType() {
return getDelegate().asType();
}

@Override
default List<? extends TypeParameterElement> getTypeParameters() {
return getDelegate().getTypeParameters();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ public interface DelegatingTypeElement extends TypeElement, DelegatingElement {
@Override
TypeElement getDelegate();

@Override
default TypeMirror asType() {
return getDelegate().asType();
}

@Override
default List<? extends Element> getEnclosedElements() {
return getDelegate().getEnclosedElements();
Expand Down

0 comments on commit fd48526

Please sign in to comment.