org.jetbrains.jet.lang.resolve.java
Class JavaDescriptorResolver

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.java.JavaDescriptorResolver
All Implemented Interfaces:
DependencyClassByQualifiedNameResolver

public class JavaDescriptorResolver
extends java.lang.Object
implements DependencyClassByQualifiedNameResolver


Nested Class Summary
static class JavaDescriptorResolver.ValueParameterDescriptors
           
 
Field Summary
static Name JAVA_ROOT
           
 
Constructor Summary
JavaDescriptorResolver()
           
 
Method Summary
 JetScope getJavaPackageScope(NamespaceDescriptor namespaceDescriptor)
           
 ClassDescriptor resolveClass(FqName qualifiedName)
           
 ClassDescriptor resolveClass(FqName qualifiedName, DescriptorSearchRule searchRule)
           
 java.util.Collection<ConstructorDescriptor> resolveConstructors(com.intellij.psi.PsiClass psiClass, ClassDescriptor classDescriptor)
           
 java.util.Set<VariableDescriptor> resolveFieldGroup(NamedMembers members, ClassOrNamespaceDescriptor ownerDescriptor)
           
 java.util.Set<FunctionDescriptor> resolveFunctionGroupForClass(NamedMembers members, ClassOrNamespaceDescriptor owner, com.intellij.psi.PsiClass psiClass)
           
 java.util.Set<FunctionDescriptor> resolveFunctionGroupForPackage(NamedMembers members, NamespaceDescriptor owner)
           
 NamespaceDescriptor resolveNamespace(FqName qualifiedName, DescriptorSearchRule searchRule)
           
 void setClassResolver(JavaClassResolver classResolver)
           
 void setConstructorResolver(JavaConstructorResolver constructorResolver)
           
 void setFunctionResolver(JavaFunctionResolver functionResolver)
           
 void setNamespaceResolver(JavaNamespaceResolver namespaceResolver)
           
 void setPropertiesResolver(JavaPropertyResolver propertiesResolver)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JAVA_ROOT

public static final Name JAVA_ROOT
Constructor Detail

JavaDescriptorResolver

public JavaDescriptorResolver()
Method Detail

setFunctionResolver

@Inject
public void setFunctionResolver(JavaFunctionResolver functionResolver)

setClassResolver

@Inject
public void setClassResolver(JavaClassResolver classResolver)

setNamespaceResolver

@Inject
public void setNamespaceResolver(JavaNamespaceResolver namespaceResolver)

setPropertiesResolver

@Inject
public void setPropertiesResolver(JavaPropertyResolver propertiesResolver)

setConstructorResolver

@Inject
public void setConstructorResolver(JavaConstructorResolver constructorResolver)

resolveClass

@Nullable
public ClassDescriptor resolveClass(@NotNull
                                             FqName qualifiedName,
                                             @NotNull
                                             DescriptorSearchRule searchRule)

resolveClass

public ClassDescriptor resolveClass(@NotNull
                                    FqName qualifiedName)
Specified by:
resolveClass in interface DependencyClassByQualifiedNameResolver

resolveConstructors

@NotNull
public java.util.Collection<ConstructorDescriptor> resolveConstructors(@NotNull
                                                                               com.intellij.psi.PsiClass psiClass,
                                                                               @NotNull
                                                                               ClassDescriptor classDescriptor)

resolveNamespace

@Nullable
public NamespaceDescriptor resolveNamespace(@NotNull
                                                     FqName qualifiedName,
                                                     @NotNull
                                                     DescriptorSearchRule searchRule)

getJavaPackageScope

@Nullable
public JetScope getJavaPackageScope(@NotNull
                                             NamespaceDescriptor namespaceDescriptor)

resolveFieldGroup

@NotNull
public java.util.Set<VariableDescriptor> resolveFieldGroup(@NotNull
                                                                   NamedMembers members,
                                                                   @NotNull
                                                                   ClassOrNamespaceDescriptor ownerDescriptor)

resolveFunctionGroupForClass

@NotNull
public java.util.Set<FunctionDescriptor> resolveFunctionGroupForClass(@NotNull
                                                                              NamedMembers members,
                                                                              @NotNull
                                                                              ClassOrNamespaceDescriptor owner,
                                                                              @NotNull
                                                                              com.intellij.psi.PsiClass psiClass)

resolveFunctionGroupForPackage

@NotNull
public java.util.Set<FunctionDescriptor> resolveFunctionGroupForPackage(@NotNull
                                                                                NamedMembers members,
                                                                                @NotNull
                                                                                NamespaceDescriptor owner)