org.jetbrains.kotlin.codegen
Class JvmCodegenUtil
java.lang.Object
org.jetbrains.kotlin.codegen.JvmCodegenUtil
public class JvmCodegenUtil
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isJvmInterface
public static boolean isJvmInterface(DeclarationDescriptor descriptor)
isJvmInterface
public static boolean isJvmInterface(KotlinType type)
isConst
public static boolean isConst(@NotNull
CalculatedClosure closure)
isCallInsideSameModuleAsDeclared
public static boolean isCallInsideSameModuleAsDeclared(@NotNull
CallableMemberDescriptor declarationDescriptor,
@NotNull
CodegenContext context,
@Nullable
java.io.File outDirectory)
hasAbstractMembers
public static boolean hasAbstractMembers(@NotNull
ClassDescriptor classDescriptor)
isConstOrHasJvmFieldAnnotation
public static boolean isConstOrHasJvmFieldAnnotation(@NotNull
PropertyDescriptor propertyDescriptor)
couldUseDirectAccessToProperty
public static boolean couldUseDirectAccessToProperty(@NotNull
PropertyDescriptor property,
boolean forGetter,
boolean isDelegated,
@NotNull
MethodContext contextBeforeInline)
getDispatchReceiverParameterForConstructorCall
@Nullable
public static ClassDescriptor getDispatchReceiverParameterForConstructorCall(@NotNull
ConstructorDescriptor descriptor,
@Nullable
CalculatedClosure closure)
getDirectMember
@NotNull
public static CallableMemberDescriptor getDirectMember(@NotNull
CallableMemberDescriptor descriptor)
isArgumentWhichWillBeInlined
public static boolean isArgumentWhichWillBeInlined(@NotNull
BindingContext bindingContext,
@NotNull
DeclarationDescriptor descriptor)
getModuleName
@NotNull
public static java.lang.String getModuleName(ModuleDescriptor module)
getMappingFileName
@NotNull
public static java.lang.String getMappingFileName(@NotNull
java.lang.String moduleName)
writeAbiVersion
public static void writeAbiVersion(@NotNull
org.jetbrains.org.objectweb.asm.AnnotationVisitor av)