|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.kotlin.load.java.sam.SingleAbstractMethodUtils
public class SingleAbstractMethodUtils
| Method Summary | |
|---|---|
static SamAdapterDescriptor<JavaConstructorDescriptor> |
createSamAdapterConstructor(JavaConstructorDescriptor original)
|
static SamAdapterDescriptor<JavaMethodDescriptor> |
createSamAdapterFunction(JavaMethodDescriptor original)
|
static SamConstructorDescriptor |
createSamConstructorFunction(DeclarationDescriptor owner,
JavaClassDescriptor samInterface)
|
static java.util.List<ValueParameterDescriptor> |
createValueParametersForSamAdapter(FunctionDescriptor original,
FunctionDescriptor samAdapter,
TypeSubstitutor substitutor)
|
static java.util.List<CallableMemberDescriptor> |
getAbstractMembers(JetType type)
|
static JetType |
getFunctionTypeForAbstractMethod(FunctionDescriptor function)
|
static JetType |
getFunctionTypeForSamType(JetType samType)
|
static JavaMethod |
getSamInterfaceMethod(JavaClass javaClass)
|
static boolean |
isSamAdapterNecessary(FunctionDescriptor fun)
|
static boolean |
isSamType(JetType type)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
@NotNull
public static java.util.List<CallableMemberDescriptor> getAbstractMembers(@NotNull
JetType type)
@Nullable
public static JetType getFunctionTypeForSamType(@NotNull
JetType samType)
@NotNull
public static JetType getFunctionTypeForAbstractMethod(@NotNull
FunctionDescriptor function)
@NotNull
public static SamConstructorDescriptor createSamConstructorFunction(@NotNull
DeclarationDescriptor owner,
@NotNull
JavaClassDescriptor samInterface)
public static boolean isSamType(@NotNull
JetType type)
public static boolean isSamAdapterNecessary(@NotNull
FunctionDescriptor fun)
@NotNull
public static SamAdapterDescriptor<JavaMethodDescriptor> createSamAdapterFunction(@NotNull
JavaMethodDescriptor original)
@NotNull
public static SamAdapterDescriptor<JavaConstructorDescriptor> createSamAdapterConstructor(@NotNull
JavaConstructorDescriptor original)
public static java.util.List<ValueParameterDescriptor> createValueParametersForSamAdapter(@NotNull
FunctionDescriptor original,
@NotNull
FunctionDescriptor samAdapter,
@NotNull
TypeSubstitutor substitutor)
@Nullable
public static JavaMethod getSamInterfaceMethod(@NotNull
JavaClass javaClass)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||