org.jetbrains.jet.codegen
Class JvmCodegenUtil
java.lang.Object
org.jetbrains.jet.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 |
isInterface
public static boolean isInterface(DeclarationDescriptor descriptor)
isInterface
public static boolean isInterface(JetType type)
isConst
public static boolean isConst(@NotNull
CalculatedClosure closure)
peekFromStack
public static <T> T peekFromStack(com.intellij.util.containers.Stack<T> stack)
getDeclaredFunctionByRawSignature
@Nullable
public static FunctionDescriptor getDeclaredFunctionByRawSignature(@NotNull
ClassDescriptor owner,
@NotNull
Name name,
@NotNull
ClassifierDescriptor returnedClassifier,
@NotNull
ClassifierDescriptor... valueParameterClassifiers)
isCallInsideSameModuleAsDeclared
public static boolean isCallInsideSameModuleAsDeclared(@NotNull
CallableMemberDescriptor declarationDescriptor,
@NotNull
CodegenContext context,
@Nullable
java.io.File outDirectory)
hasAbstractMembers
public static boolean hasAbstractMembers(@NotNull
ClassDescriptor classDescriptor)
couldUseDirectAccessToProperty
public static boolean couldUseDirectAccessToProperty(@NotNull
PropertyDescriptor property,
boolean forGetter,
boolean isDelegated,
@NotNull
MethodContext context)
getParentBodyCodegen
@NotNull
public static ImplementationBodyCodegen getParentBodyCodegen(@Nullable
MemberCodegen<?> classBodyCodegen)
getExpectedThisObjectForConstructorCall
@Nullable
public static ClassDescriptor getExpectedThisObjectForConstructorCall(@NotNull
ConstructorDescriptor descriptor,
@Nullable
CalculatedClosure closure)
isEnumValueOfMethod
public static boolean isEnumValueOfMethod(@NotNull
FunctionDescriptor functionDescriptor)
isEnumValuesMethod
public static boolean isEnumValuesMethod(@NotNull
FunctionDescriptor functionDescriptor)
getDirectMember
@NotNull
public static CallableMemberDescriptor getDirectMember(@NotNull
CallableMemberDescriptor descriptor)