Uses of Class
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Scope
Packages that use Scope
Package
Description
-
Uses of Scope in org.aspectj.ajdt.internal.compiler.ast
Methods in org.aspectj.ajdt.internal.compiler.ast with parameters of type ScopeModifier and TypeMethodDescriptionstatic CompilationUnitScopeAstUtil.getCompilationUnitScope(Scope scope) Constructors in org.aspectj.ajdt.internal.compiler.ast with parameters of type ScopeModifierConstructorDescriptionInterSuperFixerVisitor(InterTypeDeclaration dec, EclipseFactory world, Scope scope) -
Uses of Scope in org.aspectj.ajdt.internal.compiler.lookup
Subclasses of Scope in org.aspectj.ajdt.internal.compiler.lookupMethods in org.aspectj.ajdt.internal.compiler.lookup with parameters of type ScopeModifier and TypeMethodDescriptionbooleanInlineAccessFieldBinding.canBeSeenBy(TypeBinding receiverType, InvocationSite invocationSite, Scope scope) booleanInterTypeFieldBinding.canBeSeenBy(TypeBinding receiverType, InvocationSite invocationSite, Scope scope) booleanInterTypeMethodBinding.canBeSeenBy(TypeBinding receiverType, InvocationSite invocationSite, Scope scope) booleanPrivilegedFieldBinding.canBeSeenBy(TypeBinding receiverType, InvocationSite invocationSite, Scope scope) static EclipseFactoryEclipseFactory.fromScopeLookupEnvironment(Scope scope) static MethodBindingAjTypeConstants.getConversionMethodFromObject(Scope scope, TypeBinding toType) static MethodBindingAjTypeConstants.getConversionMethodToObject(Scope scope, TypeBinding fromType) static ReferenceBindingAjTypeConstants.getConversionsType(Scope scope) InterTypeMemberFinder.getField(SourceTypeBinding sourceTypeBinding, char[] fieldName, InvocationSite site, Scope scope) Constructors in org.aspectj.ajdt.internal.compiler.lookup with parameters of type ScopeModifierConstructorDescriptionEclipseScope(FormalBinding[] bindings, Scope scope) InterTypeScope(Scope parent, ReferenceBinding onType) InterTypeScope(Scope parent, ReferenceBinding rb, List list) -
Uses of Scope in org.aspectj.ajdt.internal.compiler.problem
Methods in org.aspectj.ajdt.internal.compiler.problem with parameters of type ScopeModifier and TypeMethodDescriptionvoidAjProblemReporter.uninitializedLocalVariable(LocalVariableBinding binding, ASTNode location, Scope scope) -
Uses of Scope in org.aspectj.org.eclipse.jdt.internal.codeassist
Methods in org.aspectj.org.eclipse.jdt.internal.codeassist with parameters of type ScopeModifier and TypeMethodDescriptionvoidUnresolvedReferenceNameFinder.findAfter(char[] startWith, Scope scope, ClassScope classScope, int from, int to, char[][] discouragedNames, UnresolvedReferenceNameFinder.UnresolvedReferenceNameRequestor nameRequestor) voidUnresolvedReferenceNameFinder.findBefore(char[] startWith, Scope scope, ClassScope classScope, int from, int recordTo, int parseTo, char[][] discouragedNames, UnresolvedReferenceNameFinder.UnresolvedReferenceNameRequestor nameRequestor) protected voidCompletionEngine.findFieldsAndMethods(char[] token, TypeBinding receiverType, Scope scope, ObjectVector fieldsFound, ObjectVector methodsFound, InvocationSite invocationSite, Scope invocationScope, boolean implicitCall, boolean superCall, Binding[] missingElements, int[] missingElementsStarts, int[] missingElementsEnds, boolean missingElementsHaveProblems, char[] castedReceiver, int receiverStart, int receiverEnd) protected voidCompletionEngine.findFieldsAndMethodsFromAnotherReceiver(char[] token, TypeReference receiverType, Scope scope, ObjectVector fieldsFound, ObjectVector methodsFound, InvocationSite invocationSite, Scope invocationScope, boolean implicitCall, boolean superCall, Binding[] missingElements, int[] missingElementsStarts, int[] missingElementsEnds, boolean missingElementsHaveProblems, char[][] receiverName, int receiverStart, int receiverEnd) protected voidCompletionEngine.findMembers(char[] token, ReferenceBinding receiverType, Scope scope, InvocationSite invocationSite, boolean isInsideAnnotationAttribute, Binding[] missingElements, int[] missingElementsStarts, int[] missingElementsEnds, boolean missingElementsHaveProblems) protected voidCompletionEngine.findMemberTypes(char[] typeName, ReferenceBinding receiverType, Scope scope, SourceTypeBinding typeInvocation, boolean staticOnly, boolean staticFieldsAndMethodOnly, ObjectVector typesFound, Binding[] missingElements, int[] missingElementsStarts, int[] missingElementsEnds, boolean missingElementsHaveProblems) voidCompletionEngine.findPackagesInModule(char[] prefix, ModuleBinding module, Scope scope) voidMissingTypesGuesser.guess(TypeReference typeRef, Scope scope, MissingTypesGuesser.GuessedTypeRequestor requestor) protected booleanCompletionEngine.hasPossibleAnnotationTarget(TypeBinding typeBinding, Scope scope) protected voidInternalCompletionContext.setExtendedData(ITypeRoot typeRoot, CompilationUnitDeclaration compilationUnitDeclaration, LookupEnvironment lookupEnvironment, Scope scope, ASTNode astNode, ASTNode astNodeParent, WorkingCopyOwner owner, CompletionParser parser) Constructors in org.aspectj.org.eclipse.jdt.internal.codeassist with parameters of type ScopeModifierConstructorDescriptionInternalExtendedCompletionContext(InternalCompletionContext completionContext, ITypeRoot typeRoot, CompilationUnitDeclaration compilationUnitDeclaration, LookupEnvironment lookupEnvironment, Scope assistScope, ASTNode assistNode, ASTNode assistNodeParent, WorkingCopyOwner owner, CompletionParser parser) -
Uses of Scope in org.aspectj.org.eclipse.jdt.internal.codeassist.complete
Fields in org.aspectj.org.eclipse.jdt.internal.codeassist.complete declared as ScopeMethods in org.aspectj.org.eclipse.jdt.internal.codeassist.complete with parameters of type ScopeModifier and TypeMethodDescriptionvoidCompletionOnKeyword1.aboutToResolve(Scope scope) voidCompletionOnQualifiedTypeReference.aboutToResolve(Scope scope) voidCompletionOnSingleTypeReference.aboutToResolve(Scope scope) voidCompletionOnJavadocTag.filterPossibleTags(Scope scope) protected TypeBindingCompletionOnKeyword1.getTypeBinding(Scope scope) protected TypeBindingCompletionOnQualifiedTypeReference.getTypeBinding(Scope scope) protected TypeBindingCompletionOnSingleTypeReference.getTypeBinding(Scope scope) protected TypeBindingCompletionOnJavadocFieldReference.internalResolveType(Scope scope) Constructors in org.aspectj.org.eclipse.jdt.internal.codeassist.complete with parameters of type ScopeModifierConstructorDescriptionCompletionNodeFound(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.aspectj.org.eclipse.jdt.internal.codeassist.select
Methods in org.aspectj.org.eclipse.jdt.internal.codeassist.select with parameters of type ScopeModifier and TypeMethodDescriptionvoidSelectionOnQualifiedTypeReference.aboutToResolve(Scope scope) voidSelectionOnSingleTypeReference.aboutToResolve(Scope scope) protected TypeBindingSelectionOnQualifiedTypeReference.getTypeBinding(Scope scope) protected TypeBindingSelectionOnSingleTypeReference.getTypeBinding(Scope scope) -
Uses of Scope in org.aspectj.org.eclipse.jdt.internal.compiler
Methods in org.aspectj.org.eclipse.jdt.internal.compiler with parameters of type ScopeModifier and TypeMethodDescriptionvoidClassFile.completeCodeAttributeForClinit(int codeAttributeOffset, Scope scope) INTERNAL USE-ONLY That method completes the creation of the code attribute by setting - the attribute_length - max_stack - max_locals - code_length - exception table - and debug attributes if necessary.voidClassFile.completeCodeAttributeForSyntheticMethod(boolean hasExceptionHandlers, SyntheticMethodBinding binding, int codeAttributeOffset, int[] startLineIndexes, Scope scope) INTERNAL USE-ONLY That method completes the creation of the code attribute by setting - the attribute_length - max_stack - max_locals - code_length - exception table - and debug attributes if necessary.ClassFile.traverse(MethodBinding methodBinding, int maxLocals, byte[] bytecodes, int codeOffset, int codeLength, Map<Integer, StackMapFrame> frames, boolean isClinit, Scope scope) -
Uses of Scope in org.aspectj.org.eclipse.jdt.internal.compiler.ast
Methods in org.aspectj.org.eclipse.jdt.internal.compiler.ast with parameters of type ScopeModifier and TypeMethodDescriptionvoidTypeReference.aboutToResolve(Scope scope) default voidTypeOrLambda.addSyntheticArgumentsBeyondEarlyConstructionContext(boolean earlySeen, Scope outerScope) If the current type or lambda is within some early construction context, then next enclosing instance may need to be managed via a synthetic argument (and field in the case of types).voidParameterizedQualifiedTypeReference.checkBounds(ReferenceBinding type, Scope scope, int index) voidParameterizedQualifiedTypeReference.checkBounds(Scope scope) voidParameterizedSingleTypeReference.checkBounds(Scope scope) voidTypeParameter.checkBounds(Scope scope) voidTypeReference.checkBounds(Scope scope) final booleanExpression.checkCastTypesCompatibility(Scope scope, TypeBinding castType, TypeBinding expressionType, Expression expression, boolean useAutoBoxing) Returns false if cast is not legal.static MethodBindingNullAnnotationMatching.checkForContradictions(MethodBinding method, Object location, Scope scope) After a method has substituted type parameters, check if this resulted in any contradictory null annotations.protected voidTypeReference.checkIllegalNullAnnotation(Scope scope) protected voidTypeReference.checkIllegalNullAnnotations(Scope scope, TypeReference[] typeArguments) Check all typeArguments for illegal null annotations on base types.protected booleanReference.checkNullableFieldDereference(Scope scope, FieldBinding field, long sourcePosition, FlowContext flowContext, int ttlForFieldCheck) protected voidTypeReference.checkNullConstraints(Scope scope, Substitution substitution, TypeBinding[] variables, int rank) Check whether this type reference conforms to the null constraints defined for the corresponding type variable.static booleanCastExpression.checkUnsafeCast(Expression expression, Scope scope, TypeBinding castType, TypeBinding expressionType, TypeBinding match, boolean isNarrowing) booleanCastExpression.checkUnsafeCast(Scope scope, TypeBinding castType, TypeBinding expressionType, TypeBinding match, boolean isNarrowing) booleanExpression.checkUnsafeCast(Scope scope, TypeBinding castType, TypeBinding expressionType, TypeBinding match, boolean isNarrowing) booleanInstanceOfExpression.checkUnsafeCast(Scope scope, TypeBinding castType, TypeBinding expressionType, TypeBinding match, boolean isNarrowing) booleanPattern.checkUnsafeCast(Scope scope, TypeBinding castType, TypeBinding expressionType, TypeBinding match, boolean isNarrowing) voidExpression.computeConversion(Scope scope, TypeBinding runtimeType, TypeBinding compileTimeType) Base types need that the widening is explicitly done by the compiler using some bytecode like i2f.voidFieldReference.computeConversion(Scope scope, TypeBinding runtimeTimeType, TypeBinding compileTimeType) voidMessageSend.computeConversion(Scope scope, TypeBinding runtimeTimeType, TypeBinding compileTimeType) voidQualifiedNameReference.computeConversion(Scope scope, TypeBinding runtimeTimeType, TypeBinding compileTimeType) voidSingleNameReference.computeConversion(Scope scope, TypeBinding runtimeTimeType, TypeBinding compileTimeType) static Annotation[]ASTNode.copyRecordComponentAnnotations(Scope scope, Binding recipient, Annotation[] annotations) booleanEitherOrMultiPattern.coversType(TypeBinding type, Scope scope) booleanGuardedPattern.coversType(TypeBinding type, Scope scope) booleanPattern.coversType(TypeBinding type, Scope scope) Implement the rules in the spec under 14.11.1.1 Exhaustive Switch BlocksbooleanRecordPattern.coversType(TypeBinding t, Scope scope) voidModuleDeclaration.createScope(Scope parentScope) static UnlikelyArgumentCheckUnlikelyArgumentCheck.determineCheckForNonStaticSingleArgumentMethod(TypeBinding argumentType, Scope scope, char[] selector, TypeBinding actualReceiverType, TypeBinding[] parameters) When targeting a well-known dangerous method, returns an UnlikelyArgumentCheck object that contains the types to check against each other and to reportstatic UnlikelyArgumentCheckUnlikelyArgumentCheck.determineCheckForStaticTwoArgumentMethod(TypeBinding secondParameter, Scope scope, char[] selector, TypeBinding firstParameter, TypeBinding[] parameters, TypeBinding actualReceiverType) Statement.enclosingSwitchExpression(Scope current) Returns the immediately enclosing switch expression (carried by closest blockScope),voidReference.fieldStore(Scope currentScope, CodeStream codeStream, FieldBinding fieldBinding, MethodBinding syntheticWriteAccessor, TypeBinding receiverType, boolean isImplicitThisReceiver, boolean valueRequired) protected TypeBindingQualifiedTypeReference.findNextTypeBinding(int tokenIndex, Scope scope, PackageBinding packageBinding) Pattern.findPrimitiveConversionRoute(TypeBinding destinationType, TypeBinding expressionType, Scope scope) AbstractVariableDeclaration.freshInferenceContext(Scope scope) AllocationExpression.freshInferenceContext(Scope scope) ExplicitConstructorCall.freshInferenceContext(Scope scope) FieldReference.freshInferenceContext(Scope scope) MessageSend.freshInferenceContext(Scope scope) NameReference.freshInferenceContext(Scope scope) ReferenceExpression.freshInferenceContext(Scope scope) voidReturnStatement.generateStoreSaveValueIfNecessary(Scope scope, CodeStream codeStream) protected static intFakedTrackingVariable.getNullStatusFromMessageSend(Expression expression, Scope scope) protected TypeBindingArrayQualifiedTypeReference.getTypeBinding(Scope scope) protected TypeBindingArrayTypeReference.getTypeBinding(Scope scope) protected TypeBindingIntersectionCastTypeReference.getTypeBinding(Scope scope) protected TypeBindingJavadocImplicitTypeReference.getTypeBinding(Scope scope) protected TypeBindingParameterizedQualifiedTypeReference.getTypeBinding(Scope scope) protected TypeBindingParameterizedSingleTypeReference.getTypeBinding(Scope scope) protected TypeBindingQualifiedTypeReference.getTypeBinding(Scope scope) protected TypeBindingSingleTypeReference.getTypeBinding(Scope scope) protected abstract TypeBindingTypeReference.getTypeBinding(Scope scope) protected TypeBindingUnionTypeReference.getTypeBinding(Scope scope) TypeReference.getTypeBindingPublic(Scope scope) AllocationExpression.inferConstructorOfElidedParameterizedType(Scope scope) static MethodBindingAllocationExpression.inferDiamondConstructor(Scope scope, InvocationSite site, TypeBinding type, TypeBinding[] argumentTypes, boolean[] inferredReturnTypeOut) AllocationExpression.inferElidedTypes(ParameterizedTypeBinding parameterizedType, Scope scope) AllocationExpression.inferElidedTypes(Scope scope) protected TypeBindingArrayQualifiedTypeReference.internalResolveType(Scope scope, int location) protected TypeBindingArrayTypeReference.internalResolveType(Scope scope, int location) protected TypeBindingJavadocFieldReference.internalResolveType(Scope scope) protected TypeBindingJavadocImplicitTypeReference.internalResolveType(Scope scope, int location) protected TypeBindingJavadocSingleTypeReference.internalResolveType(Scope scope, int location) protected TypeBindingTypeReference.internalResolveType(Scope scope, int location) booleanStatement.isBoxingCompatible(TypeBinding expressionType, TypeBinding targetType, Expression expression, Scope scope) booleanAllocationExpression.isBoxingCompatibleWith(TypeBinding targetType, Scope scope) booleanConditionalExpression.isBoxingCompatibleWith(TypeBinding targetType, Scope scope) booleanExpression.isBoxingCompatibleWith(TypeBinding left, Scope scope) booleanFunctionalExpression.isBoxingCompatibleWith(TypeBinding targetType, Scope scope) booleanIPolyExpression.isBoxingCompatibleWith(TypeBinding targetType, Scope scope) booleanMessageSend.isBoxingCompatibleWith(TypeBinding targetType, Scope scope) booleanSwitchExpression.isBoxingCompatibleWith(TypeBinding targetType, Scope skope) booleanAllocationExpression.isCompatibleWith(TypeBinding targetType, Scope scope) booleanConditionalExpression.isCompatibleWith(TypeBinding left, Scope scope) booleanExpression.isCompatibleWith(TypeBinding left, Scope scope) booleanIPolyExpression.isCompatibleWith(TypeBinding targetType, Scope scope) booleanLambdaExpression.isCompatibleWith(TypeBinding targetType, Scope skope) booleanMessageSend.isCompatibleWith(TypeBinding targetType, Scope scope) booleanReferenceExpression.isCompatibleWith(TypeBinding targetType, Scope scope) booleanSwitchExpression.isCompatibleWith(TypeBinding left, Scope skope) final booleanASTNode.isFieldUseDeprecated(FieldBinding field, Scope scope, int filteredBits) final booleanASTNode.isMethodUseDeprecated(MethodBinding method, Scope scope, boolean isExplicitUse, InvocationSite invocation) booleanConditionalExpression.isPotentiallyCompatibleWith(TypeBinding targetType, Scope scope) booleanExpression.isPotentiallyCompatibleWith(TypeBinding targetType, Scope scope) booleanIPolyExpression.isPotentiallyCompatibleWith(TypeBinding targetType, Scope scope) booleanLambdaExpression.isPotentiallyCompatibleWith(TypeBinding targetType, Scope skope) booleanReferenceExpression.isPotentiallyCompatibleWith(TypeBinding targetType, Scope scope) booleanSwitchExpression.isPotentiallyCompatibleWith(TypeBinding targetType, Scope scope1) booleanLocalDeclaration.isTypeNameVar(Scope scope) booleanTypeReference.isTypeNameVar(Scope scope) Checks to see if the declaration uses 'var' as type namestatic booleanAnnotation.isTypeUseCompatible(TypeReference reference, Scope scope) static voidAnnotation.isTypeUseCompatible(TypeReference reference, Scope scope, Annotation[] annotations) final booleanASTNode.isTypeUseDeprecated(TypeBinding type, Scope scope) booleanPattern.isUnconditional(TypeBinding t, Scope scope) booleanTypePattern.isUnconditional(TypeBinding t, Scope scope) booleanFunctionalExpression.kosherDescriptor(Scope scope, MethodBinding sam, boolean shouldChatter) booleanLambdaExpression.kosherDescriptor(Scope currentScope, MethodBinding sam, boolean shouldChatter) Expression.postConversionType(Scope scope) Returns the type of the expression after required implicit conversions.FieldReference.postConversionType(Scope scope) MessageSend.postConversionType(Scope scope) QualifiedNameReference.postConversionType(Scope scope) SingleNameReference.postConversionType(Scope scope) intFunctionalExpression.recordFunctionalType(Scope scope) voidAnnotation.recordSuppressWarnings(Scope scope, int startSuppresss, int endSuppress, boolean isSuppressingWarnings) protected voidQualifiedTypeReference.rejectAnnotationsOnPackageQualifiers(Scope scope, PackageBinding packageBinding) protected static voidQualifiedTypeReference.rejectAnnotationsOnStaticMemberQualififer(Scope scope, ReferenceBinding currentType, Annotation[] qualifierAnnot) voidprotected voidJavadocArrayQualifiedTypeReference.reportDeprecatedType(TypeBinding type, Scope scope) protected voidJavadocArraySingleTypeReference.reportDeprecatedType(TypeBinding type, Scope scope) protected voidJavadocImplicitTypeReference.reportDeprecatedType(TypeBinding type, Scope scope) protected voidJavadocQualifiedTypeReference.reportDeprecatedType(TypeBinding type, Scope scope) protected voidJavadocQualifiedTypeReference.reportDeprecatedType(TypeBinding type, Scope scope, int index) protected voidJavadocSingleTypeReference.reportDeprecatedType(TypeBinding type, Scope scope) protected voidTypeReference.reportDeprecatedType(TypeBinding type, Scope scope) protected voidTypeReference.reportDeprecatedType(TypeBinding type, Scope scope, int index) protected voidJavadocModuleReference.reportInvalidModule(Scope scope) protected voidJavadocArrayQualifiedTypeReference.reportInvalidType(Scope scope) protected voidJavadocArraySingleTypeReference.reportInvalidType(Scope scope) protected voidJavadocImplicitTypeReference.reportInvalidType(Scope scope) protected voidJavadocModuleReference.reportInvalidType(Scope scope) protected voidJavadocQualifiedTypeReference.reportInvalidType(Scope scope) protected voidJavadocSingleTypeReference.reportInvalidType(Scope scope) protected voidTypeReference.reportInvalidType(Scope scope) booleanFakedTrackingVariable.reportRecordedErrors(Scope scope, int mergedStatus, boolean atDeadEnd) booleanLambdaExpression.reportShapeError(TypeBinding targetType, Scope skope) protected voidTypeReference.reportVarIsNotAllowedHere(Scope scope) booleanvoidTypeParameter.resolveAnnotations(Scope scope) protected voidTypeReference.resolveAnnotations(Scope scope, int location) Expression.resolveExpressionExpecting(TypeBinding targetType, Scope scope, InferenceContext18 context) IPolyExpression.resolveExpressionExpecting(TypeBinding targetType, Scope scope, InferenceContext18 inferenceContext) LambdaExpression.resolveExpressionExpecting(TypeBinding targetType, Scope skope, InferenceContext18 context) Get a resolved copy of this lambda for use by type inference, as to avoid spilling any premature type results into the original lambda.ReferenceExpression.resolveExpressionExpecting(TypeBinding targetType, Scope scope, InferenceContext18 inferenceContext) protected PlainPackageBindingPackageVisibilityStatement.resolvePackageReference(Scope scope) booleanConditionalExpression.sIsMoreSpecific(TypeBinding s, TypeBinding t, Scope scope) booleanExpression.sIsMoreSpecific(TypeBinding s, TypeBinding t, Scope scope) booleanIPolyExpression.sIsMoreSpecific(TypeBinding s, TypeBinding t, Scope skope) booleanLambdaExpression.sIsMoreSpecific(TypeBinding s, TypeBinding t, Scope skope) booleanMessageSend.sIsMoreSpecific(TypeBinding s, TypeBinding t, Scope scope) booleanReferenceExpression.sIsMoreSpecific(TypeBinding s, TypeBinding t, Scope scope) booleanSwitchExpression.sIsMoreSpecific(TypeBinding s, TypeBinding t, Scope skope) voidCastExpression.tagAsUnnecessaryCast(Scope scope, TypeBinding castType) voidExpression.tagAsUnnecessaryCast(Scope scope, TypeBinding castType) Record the fact a cast expression got detected as being unnecessary.voidInstanceOfExpression.tagAsUnnecessaryCast(Scope scope, TypeBinding castType) protected TypeBindingTypeReference.updateParameterizedTypeWithAnnotations(Scope scope, TypeBinding type, TypeReference[] argRefs) voidParameterizedQualifiedTypeReference.updateWithAnnotations(Scope scope, int location) voidParameterizedSingleTypeReference.updateWithAnnotations(Scope scope, int location) voidSingleTypeReference.updateWithAnnotations(Scope scope, int location) voidTypeReference.updateWithAnnotations(Scope scope, int location) Constructors in org.aspectj.org.eclipse.jdt.internal.compiler.ast with parameters of type ScopeModifierConstructorDescriptionIteratorForReporting(List<FakedTrackingVariable> variables, Scope scope, boolean atExit) -
Uses of Scope in org.aspectj.org.eclipse.jdt.internal.compiler.codegen
Methods in org.aspectj.org.eclipse.jdt.internal.compiler.codegen with parameters of type ScopeModifier and TypeMethodDescriptionvoidCodeStream.addDefinitelyAssignedVariables(Scope scope, int initStateIndex) voidStackMapFrameCodeStream.addDefinitelyAssignedVariables(Scope scope, int initStateIndex) voidCodeStream.generateClassLiteralAccessForType(Scope scope, TypeBinding accessedType) Macro for building a class descriptor objectvoidCodeStream.generateEmulationForConstructor(Scope scope, MethodBinding methodBinding) voidCodeStream.generateEmulationForMethod(Scope scope, MethodBinding methodBinding) voidCodeStream.generateOuterAccess(Object[] mappingSequence, ASTNode invocationSite, Binding target, Scope scope) voidStackMapFrameCodeStream.generateOuterAccess(Object[] mappingSequence, ASTNode invocationSite, Binding target, Scope scope) static TypeBindingCodeStream.getConstantPoolDeclaringClass(Scope currentScope, FieldBinding codegenBinding, TypeBinding actualReceiverType, boolean isImplicitThisReceiver) Returns the type that should be substituted to original binding declaring class as the proper receiver typestatic TypeBindingCodeStream.getConstantPoolDeclaringClass(Scope currentScope, MethodBinding codegenBinding, TypeBinding actualReceiverType, boolean isImplicitThisReceiver) Returns the type that should be substituted to original binding declaring class as the proper receiver typebooleanCodeStream.isDefinitelyAssigned(Scope scope, int initStateIndex, LocalVariableBinding local) StackMapFrame.merge(StackMapFrame frame, Scope scope) VerificationTypeInfo.merge(VerificationTypeInfo verificationTypeInfo, Scope scope) voidCodeStream.removeNotDefinitelyAssignedVariables(Scope scope, int initStateIndex) voidStackMapFrameCodeStream.removeNotDefinitelyAssignedVariables(Scope scope, int initStateIndex) -
Uses of Scope in org.aspectj.org.eclipse.jdt.internal.compiler.flow
Methods in org.aspectj.org.eclipse.jdt.internal.compiler.flow with parameters of type ScopeModifier and TypeMethodDescriptionprotected voidFlowContext.checkUnboxing(Scope scope, Expression expression, FlowInfo flowInfo) During deferred checking re-visit a previously recording unboxing situation.voidFinallyFlowContext.recordUnboxing(Scope scope, Expression expression, int nullStatus, FlowInfo flowInfo) voidFlowContext.recordUnboxing(Scope scope, Expression expression, int nullStatus, FlowInfo flowInfo) Either AST analysis or checking of a child flow context has encountered an unboxing situation.voidLoopingFlowContext.recordUnboxing(Scope scope, Expression expression, int nullStatus, FlowInfo flowInfo) voidFinallyFlowContext.recordUsingNullReference(Scope scope, LocalVariableBinding local, ASTNode location, int checkType, FlowInfo flowInfo) voidFlowContext.recordUsingNullReference(Scope scope, LocalVariableBinding local, ASTNode location, int checkType, FlowInfo flowInfo) Record a null reference for use by deferred checks.voidLoopingFlowContext.recordUsingNullReference(Scope scope, LocalVariableBinding local, ASTNode location, int checkType, FlowInfo flowInfo) Constructors in org.aspectj.org.eclipse.jdt.internal.compiler.flow with parameters of type ScopeModifierConstructorDescriptionLoopingFlowContext(FlowContext parent, FlowInfo upstreamNullFlowInfo, ASTNode associatedNode, BranchLabel breakLabel, BranchLabel continueLabel, Scope associatedScope, boolean isPreTest) -
Uses of Scope in org.aspectj.org.eclipse.jdt.internal.compiler.lookup
Subclasses of Scope in org.aspectj.org.eclipse.jdt.internal.compiler.lookupModifier and TypeClassDescriptionclassclassclassclassSpecific block scope used for methods, constructors or clinits, representing its outermost blockscope.classFields in org.aspectj.org.eclipse.jdt.internal.compiler.lookup declared as ScopeModifier and TypeFieldDescriptionSyntheticArgumentBinding.accessingScopeScope.parentScope[]BlockScope.subscopesMethods in org.aspectj.org.eclipse.jdt.internal.compiler.lookup that return ScopeMethods in org.aspectj.org.eclipse.jdt.internal.compiler.lookup with parameters of type ScopeModifier and TypeMethodDescriptionvoidBlockScope.addSubscope(Scope childScope) voidParameterizedTypeBinding.boundCheck(Scope scope, TypeReference[] argumentReferences) Iterate type arguments, and validate them according to corresponding variable bounds.TypeVariableBinding.boundCheck(Substitution substitution, TypeBinding argumentType, Scope scope, ASTNode location) Returns true if the argument type satisfies all bounds of the type parameterbooleanBinaryTypeBinding.canBeSeenBy(Scope sco) booleanFieldBinding.canBeSeenBy(TypeBinding receiverType, InvocationSite invocationSite, Scope scope) booleanIntersectionTypeBinding18.canBeSeenBy(Scope scope) booleanMethodBinding.canBeSeenBy(InvocationSite invocationSite, Scope scope) booleanMethodBinding.canBeSeenBy(TypeBinding receiverType, InvocationSite invocationSite, Scope scope) booleanParameterizedFieldBinding.canBeSeenBy(TypeBinding receiverType, InvocationSite invocationSite, Scope scope) booleanParameterizedMethodBinding.canBeSeenBy(TypeBinding receiverType, InvocationSite invocationSite, Scope scope) booleanReferenceBinding.canBeSeenBy(Scope scope) Answer true if the receiver is visible to the type provided by the scope.booleanSourceTypeBinding.canBeSeenBy(Scope sco) booleanTypeBinding.canBeSeenBy(Scope scope) booleanLookupEnvironment.canTypeBeAccessed(SourceTypeBinding binding, Scope scope) Perform capture conversion for a parameterized type with wildcard argumentsPerform capture conversion on a given type (only effective on parameterized type with wildcards)voidLocalVariableBinding.checkEffectiveFinality(Scope scope, Expression node) voidImplicitNullAnnotationVerifier.checkImplicitNullAnnotations(MethodBinding currentMethod, AbstractMethodDeclaration srcMethod, boolean complain, Scope scope) Check and fill in implicit annotations from overridden methods and from default.voidLocalVariableBinding.clearEffectiveFinality(Scope scope, Expression node, boolean complain) voidVariableBinding.clearEffectiveFinality(Scope scope, Expression node, boolean complain) voidArrayBinding.collectSubstitutes(Scope scope, TypeBinding actualType, InferenceContext inferenceContext, int constraint) voidParameterizedTypeBinding.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.voidTypeBinding.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.voidTypeVariableBinding.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.voidWildcardBinding.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 MethodBindingParameterizedGenericMethodBinding.computeCompatibleMethod(MethodBinding originalMethod, TypeBinding[] arguments, Scope scope, InvocationSite invocationSite) Perform inference of generic method type parameters and/or expected typestatic MethodBindingParameterizedGenericMethodBinding.computeCompatibleMethod18(MethodBinding originalMethod, TypeBinding[] arguments, Scope scope, InvocationSite invocationSite) Call this variant during resolve / analyse, so we can handle the case when a tentative lambda resolve triggers resolving of outside code.LookupEnvironment.createGetClassMethod(TypeBinding receiverType, MethodBinding originalMethod, Scope scope) LookupEnvironment.createPolymorphicMethod(MethodBinding originalPolymorphicMethod, TypeBinding[] parameters, Scope scope) longWildcardBinding.determineNullBitsFromDeclaration(Scope scope, Wildcard wildcard) compute the nullTagBits from type annotations and bound.ArrayBinding.downwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) CaptureBinding.downwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) IntersectionTypeBinding18.downwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) ParameterizedTypeBinding.downwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) RawTypeBinding.downwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) ReferenceBinding.downwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) Perform a downwards type projection as per JLS 4.10.5TypeBinding.downwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) Perform a downwards type projection as per JLS 4.10.5TypeVariableBinding.downwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) static voidImplicitNullAnnotationVerifier.ensureNullnessIsKnown(MethodBinding methodBinding, Scope scope) voidTypeVariableBinding.evaluateNullAnnotations(Scope scope, TypeParameter parameter) voidWildcardBinding.evaluateNullAnnotations(Scope scope, Wildcard wildcard) evaluate null type annotations and check / copy nullTagBits from bound and typevariable.voidFieldBinding.fillInDefaultNonNullness(FieldDeclaration sourceField, Scope scope) InvocationSite.EmptyWithAstNode.freshInferenceContext(Scope scope) InvocationSite.freshInferenceContext(Scope scope) When inference for this invocationSite starts, get a fresh inference context, initialized from this site.static InferenceVariableInferenceVariable.get(TypeBinding typeParameter, int rank, InvocationSite site, Scope scope, ReferenceBinding object, boolean initial) Create or retrieve the inference variable representing the given typeParameter.IMemberFinder.getField(SourceTypeBinding sourceTypeBinding, char[] fieldName, InvocationSite site, Scope scope) ParameterizedTypeBinding.getField(char[] fieldName, boolean resolve, InvocationSite site, Scope scope) ReferenceBinding.getField(char[] fieldName, boolean resolve, InvocationSite site, Scope scope) Where multiple fields with the same name are defined, this will return the one most visible one...SourceTypeBinding.getField(char[] fieldName, boolean needResolve, InvocationSite site, Scope scope) protected MethodBinding[]IntersectionTypeBinding18.getInterfaceAbstractContracts(Scope scope, boolean replaceWildcards, boolean filterDefaultMethods) protected MethodBinding[]ParameterizedTypeBinding.getInterfaceAbstractContracts(Scope scope, boolean replaceWildcards, boolean filterDefaultMethods) protected MethodBinding[]ReferenceBinding.getInterfaceAbstractContracts(Scope scope, boolean replaceWildcards, boolean filterDefaultMethods) ParameterizedTypeBinding.getNonWildcardParameters(Scope scope) LookupEnvironment.getResolvedJavaBaseType(char[][] compoundName, Scope scope) LookupEnvironment.getResolvedType(char[][] compoundName, ModuleBinding moduleBinding, Scope scope, boolean implicitAnnotationUse) LookupEnvironment.getResolvedType(char[][] compoundName, Scope scope) IntersectionTypeBinding18.getSAMType(Scope scope) ParameterizedTypeBinding.getSingleAbstractMethod(Scope scope, boolean replaceWildcards) ParameterizedTypeBinding.getSingleAbstractMethod(Scope scope, boolean replaceWildcards, int start, int end) RawTypeBinding.getSingleAbstractMethod(Scope scope, boolean replaceWildcards) ReferenceBinding.getSingleAbstractMethod(Scope scope, boolean replaceWildcards) TypeBinding.getSingleAbstractMethod(Scope scope, boolean replaceWildcards) Return the single abstract method of a functional interface, or one ofnullorReferenceBinding.samProblemBinding, if the receiver is not a functional interface as defined in JLS 9.8.FieldBinding.getVisibleBinding(TypeBinding receiverType, InvocationSite invocationSite, Scope scope) MethodBinding.getVisibleBinding(InvocationSite invocationSite, Scope scope) MethodBinding.getVisibleBinding(TypeBinding receiverType, InvocationSite invocationSite, Scope scope) static TypeBinding[]Scope.greaterLowerBound(TypeBinding[] types, Scope scope, LookupEnvironment environment) booleanMethodBinding.hasPolymorphicSignature(Scope scope) Identifies whether the method has Polymorphic signature based on jls-15.12.3
Definition reproduced here.voidCaptureBinding.initializeBounds(Scope scope, ParameterizedTypeBinding capturedParameterizedType) Initialize capture bounds using substituted supertypes e.g.voidCaptureBinding18.initializeBounds(Scope scope, ParameterizedTypeBinding capturedParameterizedType) final booleanReferenceBinding.innerCanBeSeenBy(Scope scope) static ParameterizedMethodBindingParameterizedMethodBinding.instantiateGetClass(TypeBinding receiverType, MethodBinding originalMethod, Scope scope) The type of x.getClass() is substituted from'Class<? extends Object>'into:'Class<? extends raw(X)>booleanTypeBinding.isBoxingCompatibleWith(TypeBinding right, Scope scope) booleanArrayBinding.isCompatibleWith(TypeBinding otherType, Scope captureScope) final booleanBaseTypeBinding.isCompatibleWith(TypeBinding right, Scope captureScope) booleanCaptureBinding18.isCompatibleWith(TypeBinding otherType, Scope captureScope) booleanInferenceVariable.isCompatibleWith(TypeBinding right, Scope scope) booleanIntersectionTypeBinding18.isCompatibleWith(TypeBinding right, Scope scope) booleanPolyTypeBinding.isCompatibleWith(TypeBinding left, Scope scope) booleanReferenceBinding.isCompatibleWith(TypeBinding otherType, Scope captureScope) Answer true if the receiver type can be assigned to the argument type (right) In addition to improving performance, caching also ensures there is no infinite regression since per nature, the compatibility check is recursive through parameterized type arguments (122775)abstract booleanTypeBinding.isCompatibleWith(TypeBinding right, Scope scope) booleanReferenceBinding.isFunctionalInterface(Scope scope) booleanTypeBinding.isFunctionalInterface(Scope scope) booleanPolyTypeBinding.isPotentiallyCompatibleWith(TypeBinding targetType, Scope scope) booleanTypeBinding.isPotentiallyCompatibleWith(TypeBinding right, Scope scope) booleanLocalVariableBinding.isUninitializedIn(Scope scope) voidLocalVariableBinding.markAsUninitializedIn(Scope scope) protected voidImplicitNullAnnotationVerifier.recordDeferredInheritedNullness(Scope scope, ASTNode location, MethodBinding inheritedMethod, Boolean inheritedNonNullness, org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ImplicitNullAnnotationVerifier.InheritedNonNullnessInfo nullnessInfo) booleanMethodBinding.redeclaresPublicObjectMethod(Scope scope) voidBinding.setAnnotations(AnnotationBinding[] annotations, Scope scope, boolean forceStore) voidLocalVariableBinding.setAnnotations(AnnotationBinding[] annotations, Scope scope, boolean forceStore) voidSyntheticMethodBinding.setAnnotations(AnnotationBinding[] annotations, Scope scope, boolean forceStore) voidbooleanPolyTypeBinding.sIsMoreSpecific(TypeBinding s, TypeBinding t, Scope scope) booleanTypeBinding.sIsMoreSpecific(TypeBinding s, TypeBinding t, Scope scope) static BlockScopeScope.typeAnnotationsResolutionScope(Scope scope) Perform capture deconversion for a parameterized type with captured wildcard argumentsPerform capture "deconversion" on a given typeArrayBinding.upwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) CaptureBinding.upwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) IntersectionTypeBinding18.upwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) ParameterizedTypeBinding.upwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) RawTypeBinding.upwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) ReferenceBinding.upwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) Perform an upwards type projection as per JLS 4.10.5TypeBinding.upwardsProjection(Scope scope) Perform an upwards type projection as per JLS 4.10.5TypeBinding.upwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) Perform an upwards type projection as per JLS 4.10.5TypeVariableBinding.upwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) static final TypeBindingTypeBinding.wellKnownType(Scope scope, int id) Match a well-known type id to its bindingConstructors in org.aspectj.org.eclipse.jdt.internal.compiler.lookup with parameters of type ScopeModifierConstructorDescriptionprotectedBlockScope(int kind, Scope parent) ClassScope(Scope parent, TypeDeclaration context) InferenceContext18(Scope scope) InferenceContext18(Scope scope, Expression[] arguments, InvocationSite site, InferenceContext18 outerContext) Construct an inference context for an invocation (method/constructor).MethodScope(Scope parent, ReferenceContext context, boolean isStatic) MethodScope(Scope parent, ReferenceContext context, boolean isStatic, int lastVisibleFieldID) ModuleScope(Scope parent, ModuleDeclaration referenceContext) protectedSyntheticArgumentBinding(LocalVariableBinding actualOuterLocalVariable, Scope declaringScope) -
Uses of Scope in org.aspectj.org.eclipse.jdt.internal.compiler.problem
Methods in org.aspectj.org.eclipse.jdt.internal.compiler.problem with parameters of type ScopeModifier and TypeMethodDescriptionvoidProblemReporter.invalidMethod(MessageSend messageSend, MethodBinding method, Scope scope) voidProblemReporter.javadocHiddenReference(int sourceStart, int sourceEnd, Scope scope, int modifiers) voidProblemReporter.previewAPIUsed(Scope scope, int sourceStart, int sourceEnd, IBinaryAnnotation previewAnnotation) voidProblemReporter.uninitializedLocalVariable(LocalVariableBinding binding, ASTNode location, Scope scope) voidProblemReporter.unsafeCast(CastExpression castExpression, Scope scope) voidProblemReporter.unsafeNullnessCast(CastExpression castExpression, Scope scope) -
Uses of Scope in org.aspectj.org.eclipse.jdt.internal.core.util
Methods in org.aspectj.org.eclipse.jdt.internal.core.util with parameters of type ScopeModifier and TypeMethodDescriptionHandleFactory.createElement(Scope scope, int elementPosition, ICompilationUnit unit, HashSet existingElements, HashMap knownScopes) Create handle by adding child to parent obtained by recursing into parent scopes. -
Uses of Scope in org.aspectj.org.eclipse.jdt.internal.eval
Subclasses of Scope in org.aspectj.org.eclipse.jdt.internal.evalModifier and TypeClassDescriptionclassThis scope is used for code snippet lookup to emulate private, protected and default access.Methods in org.aspectj.org.eclipse.jdt.internal.eval with parameters of type ScopeModifier and TypeMethodDescriptionfinal booleanCodeSnippetScope.canBeSeenByForCodeSnippet(FieldBinding fieldBinding, TypeBinding receiverType, InvocationSite invocationSite, Scope scope) final booleanCodeSnippetScope.canBeSeenByForCodeSnippet(MethodBinding methodBinding, TypeBinding receiverType, InvocationSite invocationSite, Scope scope) CodeSnippetReturnStatement.freshInferenceContext(Scope scope) CodeSnippetSuperReference.freshInferenceContext(Scope scope) CodeSnippetThisReference.freshInferenceContext(Scope scope) voidCodeSnippetReturnStatement.generateStoreSaveValueIfNecessary(Scope scope, CodeStream codeStream) Constructors in org.aspectj.org.eclipse.jdt.internal.eval with parameters of type ScopeModifierConstructorDescriptionprotectedCodeSnippetScope(int kind, Scope parent) CodeSnippetScope constructor comment.