Minor. Used util method.
Saving "SAM interface" mark when resolving Java class.
Supported simplest cases of SAM adapter.
Loading SAM adapters with wildcard types.
Added Kotlin external annotations to codegen tests with Java.
Minor. Removed index counter. Renamed variable.
Supported simplest cases of SAM adapter in backend.
Added tests with mixture of SAM and non-SAM parameters.
Added tests with type parameter of class in SAM adapter.
Extracted method recreating type parameters.
Supported SAM adapters with type parameters.
Added tests with type parameter of class in SAM adapter.