|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jetbrains.jet.lang.types.ErrorUtils.ErrorScope
public static class ErrorUtils.ErrorScope
| Field Summary |
|---|
| Fields inherited from interface org.jetbrains.jet.lang.resolve.scopes.JetScope |
|---|
EMPTY |
| Method Summary | |
|---|---|
java.util.Collection<DeclarationDescriptor> |
getAllDescriptors()
All visible descriptors from current scope. |
ClassifierDescriptor |
getClassifier(Name name)
Should not return object (class object or enum entry) class descriptors. |
DeclarationDescriptor |
getContainingDeclaration()
|
java.util.Collection<DeclarationDescriptor> |
getDeclarationsByLabel(Name labelName)
|
java.util.Set<FunctionDescriptor> |
getFunctions(Name name)
|
java.util.List<ReceiverParameterDescriptor> |
getImplicitReceiversHierarchy()
Adds receivers to the list in order of locality, so that the closest (the most local) receiver goes first |
VariableDescriptor |
getLocalVariable(Name name)
|
java.util.Collection<DeclarationDescriptor> |
getOwnDeclaredDescriptors()
|
PackageViewDescriptor |
getPackage(Name name)
|
java.util.Set<VariableDescriptor> |
getProperties(Name name)
|
void |
printScopeStructure(Printer p)
Is supposed to be used in tests and debug only |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public ClassifierDescriptor getClassifier(@NotNull
Name name)
JetScope
getClassifier in interface JetScope
@NotNull
public java.util.Set<VariableDescriptor> getProperties(@NotNull
Name name)
getProperties in interface JetScope
public VariableDescriptor getLocalVariable(@NotNull
Name name)
getLocalVariable in interface JetScope
public PackageViewDescriptor getPackage(@NotNull
Name name)
getPackage in interface JetScope@NotNull public java.util.List<ReceiverParameterDescriptor> getImplicitReceiversHierarchy()
JetScope
getImplicitReceiversHierarchy in interface JetScope
@NotNull
public java.util.Set<FunctionDescriptor> getFunctions(@NotNull
Name name)
getFunctions in interface JetScope@NotNull public DeclarationDescriptor getContainingDeclaration()
getContainingDeclaration in interface JetScope
@NotNull
public java.util.Collection<DeclarationDescriptor> getDeclarationsByLabel(@NotNull
Name labelName)
getDeclarationsByLabel in interface JetScope@NotNull public java.util.Collection<DeclarationDescriptor> getAllDescriptors()
JetScope
getAllDescriptors in interface JetScope@NotNull public java.util.Collection<DeclarationDescriptor> getOwnDeclaredDescriptors()
getOwnDeclaredDescriptors in interface JetScopepublic java.lang.String toString()
toString in class java.lang.Object
public void printScopeStructure(@NotNull
Printer p)
JetScope
printScopeStructure in interface JetScope
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||