org.jetbrains.jet.codegen.state
Class JetTypeMapper
java.lang.Object
org.jetbrains.jet.codegen.binding.BindingContextAware
org.jetbrains.jet.codegen.binding.BindingTraceAware
org.jetbrains.jet.codegen.state.JetTypeMapper
public class JetTypeMapper
- extends BindingTraceAware
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JetTypeMapper
public JetTypeMapper(BindingTrace bindingTrace,
ClassBuilderMode mode)
getOwner
@NotNull
public org.jetbrains.asm4.Type getOwner(@NotNull
DeclarationDescriptor descriptor,
@NotNull
OwnerKind kind,
boolean isInsideModule)
mapReturnType
@NotNull
public org.jetbrains.asm4.Type mapReturnType(@NotNull
CallableDescriptor descriptor)
mapSupertype
@NotNull
public org.jetbrains.asm4.Type mapSupertype(@NotNull
JetType jetType,
@Nullable
BothSignatureWriter signatureVisitor)
mapClass
@NotNull
public org.jetbrains.asm4.Type mapClass(@NotNull
ClassifierDescriptor classifier)
mapType
@NotNull
public org.jetbrains.asm4.Type mapType(@NotNull
JetType jetType)
mapType
@NotNull
public org.jetbrains.asm4.Type mapType(@NotNull
CallableDescriptor descriptor)
mapType
@NotNull
public org.jetbrains.asm4.Type mapType(@NotNull
ClassifierDescriptor descriptor)
mapTraitImpl
@NotNull
public org.jetbrains.asm4.Type mapTraitImpl(@NotNull
ClassDescriptor descriptor)
mapToCallableMethod
@NotNull
public CallableMethod mapToCallableMethod(@NotNull
FunctionDescriptor functionDescriptor,
boolean superCall,
@NotNull
CodegenContext<?> context)
isAccessor
public static boolean isAccessor(@NotNull
CallableMemberDescriptor descriptor)
mapSignature
@NotNull
public JvmMethodSignature mapSignature(@NotNull
FunctionDescriptor descriptor)
mapSignature
@NotNull
public JvmMethodSignature mapSignature(@NotNull
FunctionDescriptor f,
@NotNull
OwnerKind kind)
mapFieldSignature
@Nullable
public java.lang.String mapFieldSignature(@NotNull
JetType backingFieldType)
writeFormalTypeParameters
public void writeFormalTypeParameters(@NotNull
java.util.List<TypeParameterDescriptor> typeParameters,
@NotNull
BothSignatureWriter sw)
mapScriptSignature
@NotNull
public JvmMethodSignature mapScriptSignature(@NotNull
ScriptDescriptor script,
@NotNull
java.util.List<ScriptDescriptor> importedScripts)
mapToCallableMethod
@NotNull
public CallableMethod mapToCallableMethod(@NotNull
ConstructorDescriptor descriptor)
getSharedVarType
public org.jetbrains.asm4.Type getSharedVarType(DeclarationDescriptor descriptor)