Uses of Class
org.eclipse.jdt.internal.compiler.lookup.Scope

Packages that use Scope
org.eclipse.jdt.internal.codeassist   
org.eclipse.jdt.internal.codeassist.complete   
org.eclipse.jdt.internal.codeassist.select   
org.eclipse.jdt.internal.compiler.ast   
org.eclipse.jdt.internal.compiler.codegen   
org.eclipse.jdt.internal.compiler.flow   
org.eclipse.jdt.internal.compiler.lookup   
org.eclipse.jdt.internal.compiler.problem   
org.eclipse.jdt.internal.eval   
org.jmlspecs.jml4.ast   
 

Uses of Scope in org.eclipse.jdt.internal.codeassist
 

Methods in org.eclipse.jdt.internal.codeassist with parameters of type Scope
 void UnresolvedReferenceNameFinder.findAfter(char[] startWith, Scope scope, ClassScope classScope, int from, int to, char[][] discouragedNames, UnresolvedReferenceNameFinder.UnresolvedReferenceNameRequestor nameRequestor)
           
 void UnresolvedReferenceNameFinder.findBefore(char[] startWith, Scope scope, ClassScope classScope, int from, int recordTo, int parseTo, char[][] discouragedNames, UnresolvedReferenceNameFinder.UnresolvedReferenceNameRequestor nameRequestor)
           
 void MissingTypesGuesser.guess(TypeReference typeRef, Scope scope, MissingTypesGuesser.GuessedTypeRequestor requestor)
           
 

Constructors in org.eclipse.jdt.internal.codeassist with parameters of type Scope
InternalExtendedCompletionContext(InternalCompletionContext completionContext, ITypeRoot typeRoot, CompilationUnitDeclaration compilationUnitDeclaration, LookupEnvironment lookupEnvironment, Scope assistScope, ASTNode assistNode, WorkingCopyOwner owner, CompletionParser parser)
           
 

Uses of Scope in org.eclipse.jdt.internal.codeassist.complete
 

Fields in org.eclipse.jdt.internal.codeassist.complete declared as Scope
 Scope CompletionNodeFound.scope
           
 

Methods in org.eclipse.jdt.internal.codeassist.complete with parameters of type Scope
 void CompletionOnSingleTypeReference.aboutToResolve(Scope scope)
           
 void CompletionOnQualifiedTypeReference.aboutToResolve(Scope scope)
           
 void CompletionOnKeyword1.aboutToResolve(Scope scope)
           
 void CompletionOnJavadocTag.filterPossibleTags(Scope scope)
           
 

Constructors in org.eclipse.jdt.internal.codeassist.complete with parameters of type Scope
CompletionNodeFound(ASTNode astNode, Binding qualifiedBinding, Scope scope)
           
CompletionNodeFound(ASTNode astNode, Binding qualifiedBinding, Scope scope, boolean insideTypeAnnotation)
           
CompletionNodeFound(ASTNode astNode, Scope scope)
           
CompletionNodeFound(ASTNode astNode, Scope scope, boolean insideTypeAnnotation)
           
 

Uses of Scope in org.eclipse.jdt.internal.codeassist.select
 

Methods in org.eclipse.jdt.internal.codeassist.select with parameters of type Scope
 void SelectionOnSingleTypeReference.aboutToResolve(Scope scope)
           
 void SelectionOnQualifiedTypeReference.aboutToResolve(Scope scope)
           
 

Uses of Scope in org.eclipse.jdt.internal.compiler.ast
 

Methods in org.eclipse.jdt.internal.compiler.ast with parameters of type Scope
 void TypeReference.aboutToResolve(Scope scope)
           
 void ParameterizedQualifiedTypeReference.checkBounds(ReferenceBinding type, Scope scope, int index)
           
 void TypeReference.checkBounds(Scope scope)
           
 void TypeParameter.checkBounds(Scope scope)
           
 void ParameterizedSingleTypeReference.checkBounds(Scope scope)
           
 void ParameterizedQualifiedTypeReference.checkBounds(Scope scope)
           
 boolean Expression.checkCastTypesCompatibility(Scope scope, TypeBinding castType, TypeBinding expressionType, Expression expression)
          Returns false if cast is not legal.
 boolean Expression.checkUnsafeCast(Scope scope, TypeBinding castType, TypeBinding expressionType, TypeBinding match, boolean isNarrowing)
           
 boolean CastExpression.checkUnsafeCast(Scope scope, TypeBinding castType, TypeBinding expressionType, TypeBinding match, boolean isNarrowing)
           
 void SingleNameReference.computeConversion(Scope scope, TypeBinding runtimeTimeType, TypeBinding compileTimeType)
           
 void QualifiedNameReference.computeConversion(Scope scope, TypeBinding runtimeTimeType, TypeBinding compileTimeType)
           
 void MessageSend.computeConversion(Scope scope, TypeBinding runtimeTimeType, TypeBinding compileTimeType)
           
 void FieldReference.computeConversion(Scope scope, TypeBinding runtimeTimeType, TypeBinding compileTimeType)
           
 void Expression.computeConversion(Scope scope, TypeBinding runtimeType, TypeBinding compileTimeType)
          Base types need that the widening is explicitly done by the compiler using some bytecode like i2f.
 boolean ASTNode.isFieldUseDeprecated(FieldBinding field, Scope scope, boolean isStrictlyAssigned)
           
 boolean ASTNode.isMethodUseDeprecated(MethodBinding method, Scope scope, boolean isExplicitUse)
           
 boolean ASTNode.isTypeUseDeprecated(TypeBinding type, Scope scope)
           
 TypeBinding SingleNameReference.postConversionType(Scope scope)
           
 TypeBinding QualifiedNameReference.postConversionType(Scope scope)
           
 TypeBinding MessageSend.postConversionType(Scope scope)
           
 TypeBinding FieldReference.postConversionType(Scope scope)
           
 TypeBinding Expression.postConversionType(Scope scope)
          Returns the type of the expression after required implicit conversions.
 void Annotation.recordSuppressWarnings(Scope scope, int startSuppresss, int endSuppress, boolean isSuppressingWarnings)
           
 void InstanceOfExpression.tagAsUnnecessaryCast(Scope scope, TypeBinding castType)
           
 void Expression.tagAsUnnecessaryCast(Scope scope, TypeBinding castType)
          Record the fact a cast expression got detected as being unnecessary.
 void CastExpression.tagAsUnnecessaryCast(Scope scope, TypeBinding castType)
           
 

Uses of Scope in org.eclipse.jdt.internal.compiler.codegen
 

Methods in org.eclipse.jdt.internal.compiler.codegen with parameters of type Scope
 void StackMapFrameCodeStream.addDefinitelyAssignedVariables(Scope scope, int initStateIndex)
           
 void CodeStream.addDefinitelyAssignedVariables(Scope scope, int initStateIndex)
           
 void CodeStream.generateEmulationForConstructor(Scope scope, MethodBinding methodBinding)
           
 void CodeStream.generateEmulationForMethod(Scope scope, MethodBinding methodBinding)
           
 void CodeStream.generateOuterAccess(java.lang.Object[] mappingSequence, ASTNode invocationSite, Binding target, Scope scope)
           
 boolean CodeStream.isDefinitelyAssigned(Scope scope, int initStateIndex, LocalVariableBinding local)
           
 void StackMapFrameCodeStream.removeNotDefinitelyAssignedVariables(Scope scope, int initStateIndex)
           
 void CodeStream.removeNotDefinitelyAssignedVariables(Scope scope, int initStateIndex)
           
 void CodeStream.updateLastRecordedEndPC(Scope scope, int pos)
          Note: it will walk the locals table and extend the end range for all matching ones, no matter if visible or not.
 

Uses of Scope in org.eclipse.jdt.internal.compiler.flow
 

Methods in org.eclipse.jdt.internal.compiler.flow with parameters of type Scope
 void LoopingFlowContext.recordUsingNullReference(Scope scope, LocalVariableBinding local, Expression reference, int checkType, FlowInfo flowInfo)
           
 void FlowContext.recordUsingNullReference(Scope scope, LocalVariableBinding local, Expression reference, int checkType, FlowInfo flowInfo)
          Record a null reference for use by deferred checks.
 void FinallyFlowContext.recordUsingNullReference(Scope scope, LocalVariableBinding local, Expression reference, int checkType, FlowInfo flowInfo)
           
 

Constructors in org.eclipse.jdt.internal.compiler.flow with parameters of type Scope
LoopingFlowContext(FlowContext parent, FlowInfo upstreamNullFlowInfo, ASTNode associatedNode, BranchLabel breakLabel, BranchLabel continueLabel, Scope associatedScope)
           
 

Uses of Scope in org.eclipse.jdt.internal.compiler.lookup
 

Subclasses of Scope in org.eclipse.jdt.internal.compiler.lookup
 class BlockScope
           
 class ClassScope
           
 class CompilationUnitScope
           
 class MethodScope
          Specific block scope used for methods, constructors or clinits, representing its outermost blockscope.
 

Fields in org.eclipse.jdt.internal.compiler.lookup declared as Scope
 Scope Scope.parent
           
 Scope[] BlockScope.subscopes
           
 

Methods in org.eclipse.jdt.internal.compiler.lookup with parameters of type Scope
 void BlockScope.addSubscope(Scope childScope)
           
 void ParameterizedTypeBinding.boundCheck(Scope scope, TypeReference[] argumentReferences)
          Iterate type arguments, and validate them according to corresponding variable bounds.
 boolean MethodBinding.canBeSeenBy(InvocationSite invocationSite, Scope scope)
           
 boolean ReferenceBinding.canBeSeenBy(Scope scope)
          Answer true if the receiver is visible to the type provided by the scope.
 boolean MethodBinding.canBeSeenBy(TypeBinding receiverType, InvocationSite invocationSite, Scope scope)
           
 boolean FieldBinding.canBeSeenBy(TypeBinding receiverType, InvocationSite invocationSite, Scope scope)
           
 TypeBinding TypeBinding.capture(Scope scope, int position)
          Perform capture conversion on a given type (only effective on parameterized type with wildcards)
 TypeBinding ParameterizedTypeBinding.capture(Scope scope, int position)
          Perform capture conversion for a parameterized type with wildcard arguments
 void WildcardBinding.collectSubstitutes(Scope scope, TypeBinding actualType, InferenceContext inferenceContext, int constraint)
          Collect the substitutes into a map for certain type variables inside the receiver type e.g.
 void TypeVariableBinding.collectSubstitutes(Scope scope, TypeBinding actualType, InferenceContext inferenceContext, int constraint)
          Collect the substitutes into a map for certain type variables inside the receiver type e.g.
 void TypeBinding.collectSubstitutes(Scope scope, TypeBinding actualType, InferenceContext inferenceContext, int constraint)
          Collect the substitutes into a map for certain type variables inside the receiver type e.g.
 void ParameterizedTypeBinding.collectSubstitutes(Scope scope, TypeBinding actualType, InferenceContext inferenceContext, int constraint)
          Collect the substitutes into a map for certain type variables inside the receiver type e.g.
 void ArrayBinding.collectSubstitutes(Scope scope, TypeBinding actualType, InferenceContext inferenceContext, int constraint)
          Collect the substitutes into a map for certain type variables inside the receiver type e.g.
static MethodBinding ParameterizedGenericMethodBinding.computeCompatibleMethod(MethodBinding originalMethod, TypeBinding[] arguments, Scope scope, InvocationSite invocationSite)
          Perform inference of generic method type parameters and/or expected type
 ReferenceBinding LookupEnvironment.getResolvedType(char[][] compoundName, Scope scope)
           
 void CaptureBinding.initializeBounds(Scope scope, ParameterizedTypeBinding capturedParameterizedType)
          Initialize capture bounds using substituted supertypes e.g.
static ParameterizedMethodBinding ParameterizedMethodBinding.instantiateGetClass(TypeBinding receiverType, MethodBinding originalMethod, Scope scope)
          The type of x.getClass() is substituted from 'Class' into: 'Class
static TypeBinding TypeBinding.wellKnownType(Scope scope, int id)
          Match a well-known type id to its binding
 

Constructors in org.eclipse.jdt.internal.compiler.lookup with parameters of type Scope
ClassScope(Scope parent, TypeDeclaration context)
           
 

Uses of Scope in org.eclipse.jdt.internal.compiler.problem
 

Methods in org.eclipse.jdt.internal.compiler.problem with parameters of type Scope
 void ProblemReporter.javadocHiddenReference(int sourceStart, int sourceEnd, Scope scope, int modifiers)
           
 void ProblemReporter.unsafeCast(CastExpression castExpression, Scope scope)
           
 

Uses of Scope in org.eclipse.jdt.internal.eval
 

Subclasses of Scope in org.eclipse.jdt.internal.eval
 class CodeSnippetScope
          This scope is used for code snippet lookup to emulate private, protected and default access.
 

Methods in org.eclipse.jdt.internal.eval with parameters of type Scope
 boolean CodeSnippetScope.canBeSeenByForCodeSnippet(FieldBinding fieldBinding, TypeBinding receiverType, InvocationSite invocationSite, Scope scope)
           
 boolean CodeSnippetScope.canBeSeenByForCodeSnippet(MethodBinding methodBinding, TypeBinding receiverType, InvocationSite invocationSite, Scope scope)
           
 

Uses of Scope in org.jmlspecs.jml4.ast
 

Methods in org.jmlspecs.jml4.ast with parameters of type Scope
 void JmlCastExpressionWithoutType.tagAsUnnecessaryCast(Scope scope, TypeBinding castType)
           
 void JmlCastExpression.tagAsUnnecessaryCast(Scope scope, TypeBinding castType)