|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JetScope
| Field Summary | |
|---|---|
static 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.Collection<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.Collection<VariableDescriptor> |
getProperties(Name name)
|
void |
printScopeStructure(Printer p)
Is supposed to be used in tests and debug only |
| Field Detail |
|---|
static final JetScope EMPTY
| Method Detail |
|---|
@Nullable
ClassifierDescriptor getClassifier(@NotNull
Name name)
@Nullable
PackageViewDescriptor getPackage(@NotNull
Name name)
@NotNull
@ReadOnly
java.util.Collection<VariableDescriptor> getProperties(@NotNull
Name name)
@Nullable
VariableDescriptor getLocalVariable(@NotNull
Name name)
@NotNull
@ReadOnly
java.util.Collection<FunctionDescriptor> getFunctions(@NotNull
Name name)
@NotNull DeclarationDescriptor getContainingDeclaration()
@NotNull
@ReadOnly
java.util.Collection<DeclarationDescriptor> getDeclarationsByLabel(@NotNull
Name labelName)
@NotNull @ReadOnly java.util.Collection<DeclarationDescriptor> getAllDescriptors()
@NotNull @ReadOnly java.util.List<ReceiverParameterDescriptor> getImplicitReceiversHierarchy()
@NotNull @ReadOnly java.util.Collection<DeclarationDescriptor> getOwnDeclaredDescriptors()
void printScopeStructure(@NotNull
Printer p)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||