Refactored filtering by descriptor kind so that no knowledge about SAM-constructors required in core
This commit is contained in:
+1
-1
@@ -147,7 +147,7 @@ public class SingleAbstractMethodUtils {
|
||||
) {
|
||||
assert isSamInterface(samInterface) : samInterface;
|
||||
|
||||
SamConstructorDescriptorImpl result = new SamConstructorDescriptorImpl(owner, samInterface);
|
||||
SamConstructorDescriptor result = new SamConstructorDescriptor(owner, samInterface);
|
||||
|
||||
TypeParameters typeParameters = recreateAndInitializeTypeParameters(samInterface.getTypeConstructor().getParameters(), result);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user