org.jetbrains.jet.lang.resolve.java.resolver
Class TraceBasedExternalSignatureResolver

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.java.resolver.TraceBasedExternalSignatureResolver
All Implemented Interfaces:
ExternalSignatureResolver

public class TraceBasedExternalSignatureResolver
extends java.lang.Object
implements ExternalSignatureResolver


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jetbrains.jet.lang.resolve.java.resolver.ExternalSignatureResolver
ExternalSignatureResolver.AlternativeFieldSignature, ExternalSignatureResolver.AlternativeMethodSignature, ExternalSignatureResolver.MemberSignature, ExternalSignatureResolver.PropagatedMethodSignature
 
Constructor Summary
TraceBasedExternalSignatureResolver()
           
 
Method Summary
 void reportSignatureErrors(CallableMemberDescriptor descriptor, java.util.List<java.lang.String> signatureErrors)
           
 ExternalSignatureResolver.AlternativeFieldSignature resolveAlternativeFieldSignature(JavaField field, JetType returnType, boolean isVar)
           
 ExternalSignatureResolver.AlternativeMethodSignature resolveAlternativeMethodSignature(JavaMethod method, boolean hasSuperMethods, JetType returnType, JetType receiverType, java.util.List<ValueParameterDescriptor> valueParameters, java.util.List<TypeParameterDescriptor> typeParameters)
           
 ExternalSignatureResolver.PropagatedMethodSignature resolvePropagatedSignature(JavaMethod method, ClassDescriptor owner, JetType returnType, JetType receiverType, java.util.List<ValueParameterDescriptor> valueParameters, java.util.List<TypeParameterDescriptor> typeParameters)
           
 void setExternalAnnotationResolver(ExternalAnnotationResolver externalAnnotationResolver)
           
 void setTrace(BindingTrace trace)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraceBasedExternalSignatureResolver

public TraceBasedExternalSignatureResolver()
Method Detail

setTrace

@Inject
public void setTrace(BindingTrace trace)

setExternalAnnotationResolver

@Inject
public void setExternalAnnotationResolver(ExternalAnnotationResolver externalAnnotationResolver)

resolvePropagatedSignature

@NotNull
public ExternalSignatureResolver.PropagatedMethodSignature resolvePropagatedSignature(@NotNull
                                                                                              JavaMethod method,
                                                                                              @NotNull
                                                                                              ClassDescriptor owner,
                                                                                              @NotNull
                                                                                              JetType returnType,
                                                                                              @Nullable
                                                                                              JetType receiverType,
                                                                                              @NotNull
                                                                                              java.util.List<ValueParameterDescriptor> valueParameters,
                                                                                              @NotNull
                                                                                              java.util.List<TypeParameterDescriptor> typeParameters)
Specified by:
resolvePropagatedSignature in interface ExternalSignatureResolver

resolveAlternativeMethodSignature

@NotNull
public ExternalSignatureResolver.AlternativeMethodSignature resolveAlternativeMethodSignature(@NotNull
                                                                                                      JavaMethod method,
                                                                                                      boolean hasSuperMethods,
                                                                                                      @Nullable
                                                                                                      JetType returnType,
                                                                                                      @Nullable
                                                                                                      JetType receiverType,
                                                                                                      @NotNull
                                                                                                      java.util.List<ValueParameterDescriptor> valueParameters,
                                                                                                      @NotNull
                                                                                                      java.util.List<TypeParameterDescriptor> typeParameters)
Specified by:
resolveAlternativeMethodSignature in interface ExternalSignatureResolver

resolveAlternativeFieldSignature

@NotNull
public ExternalSignatureResolver.AlternativeFieldSignature resolveAlternativeFieldSignature(@NotNull
                                                                                                    JavaField field,
                                                                                                    @NotNull
                                                                                                    JetType returnType,
                                                                                                    boolean isVar)
Specified by:
resolveAlternativeFieldSignature in interface ExternalSignatureResolver

reportSignatureErrors

public void reportSignatureErrors(@NotNull
                                  CallableMemberDescriptor descriptor,
                                  @NotNull
                                  java.util.List<java.lang.String> signatureErrors)
Specified by:
reportSignatureErrors in interface ExternalSignatureResolver