org.jetbrains.jet.lang.resolve.java.sam
Class SingleAbstractMethodUtils
java.lang.Object
org.jetbrains.jet.lang.resolve.java.sam.SingleAbstractMethodUtils
public class SingleAbstractMethodUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getAbstractMembers
@NotNull
public static java.util.List<CallableMemberDescriptor> getAbstractMembers(@NotNull
JetType type)
getFunctionTypeForAbstractMethod
@NotNull
public static JetType getFunctionTypeForAbstractMethod(@NotNull
FunctionDescriptor function)
createSamConstructorFunction
@NotNull
public static SamConstructorDescriptor createSamConstructorFunction(@NotNull
ClassOrPackageFragmentDescriptor owner,
@NotNull
JavaClassDescriptor samInterface)
isSamType
public static boolean isSamType(@NotNull
JetType type)
isSamAdapterNecessary
public static boolean isSamAdapterNecessary(@NotNull
FunctionDescriptor fun)
createSamAdapterFunction
@NotNull
public static SamAdapterDescriptor<SimpleFunctionDescriptor> createSamAdapterFunction(@NotNull
SimpleFunctionDescriptor original)
createSamAdapterConstructor
@NotNull
public static SamAdapterDescriptor<ConstructorDescriptor> createSamAdapterConstructor(@NotNull
ConstructorDescriptor original)
getAbstractMethodOfSamType
@NotNull
public static SimpleFunctionDescriptor getAbstractMethodOfSamType(@NotNull
JetType type)
getAbstractMethodOfSamInterface
@NotNull
public static SimpleFunctionDescriptor getAbstractMethodOfSamInterface(@NotNull
ClassDescriptor samInterface)
isSamInterface
public static boolean isSamInterface(@NotNull
JavaClass javaClass)
getSamInterfaceMethod
@Nullable
public static JavaMethod getSamInterfaceMethod(@NotNull
JavaClass javaClass)