Substitute AutoFactory thrown types inherited from generic supertypes.

Parameter types of methods inherited from a generic interface or superclass
were already rewritten as members of the subtype. The `throws` clause still
used the supertype's type variables, so a subtype that binds `E` to
`IOException` was generated as "`throws E`" and did not compile.

Fixes https://github.com/google/auto/pull/2203

RELNOTES=n/a
PiperOrigin-RevId: 1032955676
2 files changed
tree: 73e1db0a385a5ec0fb9ed72ce26c333511f22d67
  1. .github/
  2. .mvn/
  3. common/
  4. factory/
  5. service/
  6. util/
  7. value/
  8. .gitignore
  9. build-pom.xml
  10. CONTRIBUTING.md
  11. LICENSE
  12. mvnw
  13. mvnw.cmd
  14. README.md
README.md

Auto

Build Status

A collection of source code generators for Java.

Overview

Java is full of code that is mechanical, repetitive, typically untested and sometimes the source of subtle bugs. Sounds like a job for robots!

The Auto subprojects are a collection of code generators that automate those types of tasks. They create the code you would have written, but without the bugs.

Save time. Save code. Save sanity.

Subprojects

License

Copyright 2013 Google LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.