Uses of Class
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
Packages that use TypeBinding
Package
Description
-
Uses of TypeBinding in org.aspectj.ajdt.internal.compiler.ast
Methods in org.aspectj.ajdt.internal.compiler.ast that return TypeBindingModifier and TypeMethodDescriptionInterTypeFieldDeclaration.getRealFieldType()static TypeBinding[]AstUtil.insert(TypeBinding first, TypeBinding[] rest) InterSuperReference.resolveType(BlockScope scope) KnownFieldReference.resolveType(BlockScope scope) Proceed.resolveType(BlockScope scope) Methods in org.aspectj.ajdt.internal.compiler.ast with parameters of type TypeBindingModifier and TypeMethodDescriptionstatic voidAstUtil.generateParameterLoads(TypeBinding[] parameters, char[][] parameterNames, CodeStream codeStream) static voidAstUtil.generateParameterLoads(TypeBinding[] parameters, CodeStream codeStream, int offset) static voidAstUtil.generateReturn(TypeBinding returnType, CodeStream codeStream) static TypeBinding[]AstUtil.insert(TypeBinding first, TypeBinding[] rest) static ArgumentAstUtil.makeFinalArgument(char[] name, TypeBinding typeBinding) static NameReferenceAstUtil.makeNameReference(TypeBinding binding) static TypeReferenceAstUtil.makeTypeReference(TypeBinding binding) protected voidKnownMessageSend.resolveMethodBinding(BlockScope scope, TypeBinding[] argumentTypes) static intAstUtil.slotsNeeded(TypeBinding type) Constructors in org.aspectj.ajdt.internal.compiler.ast with parameters of type TypeBinding -
Uses of TypeBinding in org.aspectj.ajdt.internal.compiler.lookup
Subclasses of TypeBinding in org.aspectj.ajdt.internal.compiler.lookupMethods in org.aspectj.ajdt.internal.compiler.lookup that return TypeBindingModifier and TypeMethodDescriptionEclipseFactory.makeTypeBinding(UnresolvedType typeX) EclipseFactory.makeTypeBindings(UnresolvedType[] types) Methods in org.aspectj.ajdt.internal.compiler.lookup with parameters of type TypeBindingModifier and TypeMethodDescriptionvoidEclipseFactory.addTypeBinding(TypeBinding binding) booleanInlineAccessFieldBinding.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) EclipseFactory.fromBinding(TypeBinding binding) Some generics notes: Andy 6-May-05 We were having trouble with parameterized types in a couple of places - due to TypeVariableBindings.EclipseFactory.fromBindings(TypeBinding[] bindings) EclipseFactory.fromTypeBindingToRTX(TypeBinding tb) static AnnotationValueEclipseAnnotationConvertor.generateElementValueForConstantExpression(Expression defaultValue, TypeBinding defaultValueBinding) static MethodBindingAjTypeConstants.getConversionMethodFromObject(Scope scope, TypeBinding toType) static MethodBindingAjTypeConstants.getConversionMethodToObject(Scope scope, TypeBinding fromType) InterTypeMemberFinder.getExactMethod(SourceTypeBinding sourceTypeBinding, char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope) static StringEclipseFactory.getName(TypeBinding binding) EclipseFactory.makeResolvedMember(FieldBinding binding, TypeBinding receiverType) EclipseFactory.makeResolvedMember(MethodBinding binding, TypeBinding declaringType) EclipseFactory.makeResolvedMember(MethodBinding binding, TypeBinding declaringType, MemberKind memberKind) EclipseFactory.makeResolvedMemberForITD(MethodBinding binding, TypeBinding declaringType, Map<TypeVariableBinding, String> recoveryAliases) Construct a resolvedmember from a methodbinding. -
Uses of TypeBinding in org.aspectj.ajdt.internal.compiler.problem
Methods in org.aspectj.ajdt.internal.compiler.problem with parameters of type TypeBindingModifier and TypeMethodDescriptionvoidAjProblemReporter.unhandledException(TypeBinding exceptionType, ASTNode location) voidAjProblemReporter.unhandledExceptionFromAutoClose(TypeBinding exceptionType, ASTNode location) -
Uses of TypeBinding in org.aspectj.org.eclipse.jdt.internal.codeassist
Methods in org.aspectj.org.eclipse.jdt.internal.codeassist with parameters of type TypeBindingModifier and TypeMethodDescriptionvoidMissingTypesGuesser.GuessedTypeRequestor.accept(TypeBinding guessedType, Binding[] missingElements, int[] missingElementsStarts, int[] missingElementsEnds, boolean hasProblems) 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 booleanCompletionEngine.hasPossibleAnnotationTarget(TypeBinding typeBinding, Scope scope) -
Uses of TypeBinding in org.aspectj.org.eclipse.jdt.internal.codeassist.complete
Methods in org.aspectj.org.eclipse.jdt.internal.codeassist.complete that return TypeBindingModifier and TypeMethodDescriptionCompletionOnArgumentName.bind(MethodScope scope, TypeBinding typeBinding, boolean used) protected TypeBindingCompletionOnKeyword1.getTypeBinding(Scope scope) protected TypeBindingCompletionOnQualifiedTypeReference.getTypeBinding(Scope scope) protected TypeBindingCompletionOnSingleTypeReference.getTypeBinding(Scope scope) protected TypeBindingCompletionOnJavadocFieldReference.internalResolveType(Scope scope) CompletionOnJavadocParamNameReference.reportError(BlockScope scope) CompletionOnJavadocTypeParamReference.reportError(BlockScope scope) CompletionOnAnnotationMemberValuePair.resolveType(BlockScope scope) CompletionOnClassLiteralAccess.resolveType(BlockScope scope) CompletionOnKeyword3.resolveType(BlockScope scope) CompletionOnMarkerAnnotationName.resolveType(BlockScope scope) CompletionOnMemberAccess.resolveType(BlockScope scope) CompletionOnMessageSend.resolveType(BlockScope scope) CompletionOnMessageSendName.resolveType(BlockScope scope) CompletionOnParameterizedQualifiedTypeReference.resolveType(BlockScope scope, boolean checkBounds, int location) CompletionOnParameterizedQualifiedTypeReference.resolveType(ClassScope scope, int location) CompletionOnQualifiedAllocationExpression.resolveType(BlockScope scope) CompletionOnQualifiedNameReference.resolveType(BlockScope scope) CompletionOnReferenceExpressionName.resolveType(BlockScope scope) CompletionOnSingleNameReference.resolveType(BlockScope scope) CompletionOnStringLiteral.resolveType(BlockScope scope) CompletionOnStringLiteral.resolveType(ClassScope scope) CompletionOnSingleTypeReference.resolveTypeEnclosing(BlockScope scope, ReferenceBinding enclosingType) Methods in org.aspectj.org.eclipse.jdt.internal.codeassist.complete with parameters of type TypeBindingModifier and TypeMethodDescriptionCompletionOnArgumentName.bind(MethodScope scope, TypeBinding typeBinding, boolean used) -
Uses of TypeBinding in org.aspectj.org.eclipse.jdt.internal.codeassist.impl
Methods in org.aspectj.org.eclipse.jdt.internal.codeassist.impl with parameters of type TypeBindingModifier and TypeMethodDescriptionstatic char[]Engine.getSignature(TypeBinding typeBinding) static char[]Engine.getTypeSignature(TypeBinding typeBinding) -
Uses of TypeBinding in org.aspectj.org.eclipse.jdt.internal.codeassist.select
Methods in org.aspectj.org.eclipse.jdt.internal.codeassist.select that return TypeBindingModifier and TypeMethodDescriptionSelectionOnArgumentName.bind(MethodScope scope, TypeBinding typeBinding, boolean used) protected TypeBindingSelectionOnQualifiedTypeReference.getTypeBinding(Scope scope) protected TypeBindingSelectionOnSingleTypeReference.getTypeBinding(Scope scope) SelectionOnArgumentName.resolveForCatch(BlockScope scope) SelectionOnFieldReference.resolveType(BlockScope scope) SelectionOnLambdaExpression.resolveType(BlockScope blockScope, boolean skipKosherCheck) SelectionOnMessageSend.resolveType(BlockScope scope) SelectionOnParameterizedQualifiedTypeReference.resolveType(BlockScope scope, boolean checkBounds, int location) SelectionOnParameterizedQualifiedTypeReference.resolveType(ClassScope scope, int location) SelectionOnParameterizedSingleTypeReference.resolveType(BlockScope scope, boolean checkBounds, int location) SelectionOnParameterizedSingleTypeReference.resolveType(ClassScope scope, int location) SelectionOnQualifiedAllocationExpression.resolveType(BlockScope scope) SelectionOnQualifiedNameReference.resolveType(BlockScope scope) SelectionOnQualifiedSuperReference.resolveType(BlockScope scope) SelectionOnReferenceExpression.resolveType(BlockScope scope) SelectionOnReferenceExpressionName.resolveType(BlockScope scope) SelectionOnSingleNameReference.resolveType(BlockScope scope) SelectionOnSuperReference.resolveType(BlockScope scope) SelectionOnSingleTypeReference.resolveTypeEnclosing(BlockScope scope, ReferenceBinding enclosingType) Methods in org.aspectj.org.eclipse.jdt.internal.codeassist.select with parameters of type TypeBindingModifier and TypeMethodDescriptionSelectionOnArgumentName.bind(MethodScope scope, TypeBinding typeBinding, boolean used) voidSelectionOnNameOfMemberValuePair.resolveTypeExpecting(BlockScope scope, TypeBinding requiredType) -
Uses of TypeBinding in org.aspectj.org.eclipse.jdt.internal.compiler
Fields in org.aspectj.org.eclipse.jdt.internal.compiler with type parameters of type TypeBindingModifier and TypeFieldDescriptionClassFile.innerClassesBindingsClassFile.missingTypesClassFile.visitedTypesMethods in org.aspectj.org.eclipse.jdt.internal.compiler with parameters of type TypeBindingModifier and TypeMethodDescriptionintClassFile.recordBootstrapMethod(TypeBinding type) voidClassFile.recordInnerClasses(TypeBinding binding) voidClassFile.recordInnerClasses(TypeBinding binding, boolean onBottomForBug445231) -
Uses of TypeBinding in org.aspectj.org.eclipse.jdt.internal.compiler.apt.model
Constructors in org.aspectj.org.eclipse.jdt.internal.compiler.apt.model with parameters of type TypeBindingModifierConstructorDescriptionAnnotationValueImpl(BaseProcessingEnvImpl env, Object value, TypeBinding type) -
Uses of TypeBinding in org.aspectj.org.eclipse.jdt.internal.compiler.ast
Fields in org.aspectj.org.eclipse.jdt.internal.compiler.ast declared as TypeBindingModifier and TypeFieldDescriptionFieldReference.actualReceiverTypeMessageSend.actualReceiverTypeNameReference.actualReceiverTypeAllocationExpression.argumentTypesMessageSend.argumentTypesstatic final TypeBinding[]ParameterizedSingleTypeReference.DIAMOND_TYPE_ARGUMENTSThrowStatement.exceptionTypeCastExpression.expectedTypeprotected TypeBindingFunctionalExpression.expectedTypeMessageSend.expectedTypefinal TypeBindingUnlikelyArgumentCheck.expectedTypeFieldReference.genericCastQualifiedNameReference.genericCastSingleNameReference.genericCastAllocationExpression.genericTypeArgumentsExplicitConstructorCall.genericTypeArgumentsMessageSend.genericTypeArgumentsCastExpression.instanceofTypeArrayTypeReference.leafComponentTypeWithoutDefaultNullnessQualifiedNameReference.otherGenericCastsprotected TypeBindingPattern.outerExpressionTypeReferenceExpression.receiverTypeExpression.resolvedTypeReferenceExpression.resolvedTypeArgumentsfinal TypeBindingNullAnnotationMatching.superTypeHintIf non-null this field holds the supertype of the provided type which was used for direct matching.ClassLiteralAccess.targetTypeCaseStatement.LabelExpression.typeprotected TypeBindingAllocationExpression.typeExpectedfinal TypeBindingUnlikelyArgumentCheck.typeToCheckfinal TypeBindingUnlikelyArgumentCheck.typeToReportMessageSend.valueCastFields in org.aspectj.org.eclipse.jdt.internal.compiler.ast with type parameters of type TypeBindingModifier and TypeFieldDescriptionSwitchStatement.caseLabelElementTypesAllocationExpression.solutionsPerTargetTypeMethods in org.aspectj.org.eclipse.jdt.internal.compiler.ast that return TypeBindingModifier and TypeMethodDescriptionLambdaExpression.argumentTypes()Argument.bind(MethodScope scope, TypeBinding typeBinding, boolean used) SingleNameReference.checkFieldAccess(BlockScope scope) Argument.createBinding(MethodScope scope, TypeBinding typeBinding) LambdaExpression.expectedResultType()FunctionalExpression.expectedType()IPolyExpression.expectedType()Statement.expectedType()Simpler notion of expected type, suitable for code assist purposes.SwitchExpression.expectedType()protected TypeBindingMessageSend.findMethodBinding(BlockScope scope) protected TypeBindingQualifiedTypeReference.findNextTypeBinding(int tokenIndex, Scope scope, PackageBinding packageBinding) AbstractVariableDeclaration.genericTypeArguments()AllocationExpression.genericTypeArguments()ExplicitConstructorCall.genericTypeArguments()FieldReference.genericTypeArguments()MessageSend.genericTypeArguments()QualifiedNameReference.genericTypeArguments()ReferenceExpression.genericTypeArguments()SingleNameReference.genericTypeArguments()static TypeBindingForeachStatement.getCollectionElementType(BlockScope scope, TypeBinding collectionType) protected TypeBindingQualifiedNameReference.getFinalReceiverType()Returns the receiver type for the final field in sequence (i.e.protected TypeBindingQualifiedNameReference.getGenericCast(int index) LambdaExpression.getMarkerInterfaces()QualifiedNameReference.getOtherFieldBindings(BlockScope 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) protected TypeBindingMessageSend.handleNullnessCodePatterns(BlockScope scope, TypeBinding returnType) 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) AllocationExpression.invocationTargetType()FunctionalExpression.invocationTargetType()IPolyExpression.invocationTargetType()MessageSend.invocationTargetType()Statement.invocationTargetType()Implementation ofInvocationSite.invocationTargetType()suitable at this level.CharLiteral.literalType(BlockScope scope) DoubleLiteral.literalType(BlockScope scope) FakeDefaultLiteral.literalType(BlockScope scope) FalseLiteral.literalType(BlockScope scope) FloatLiteral.literalType(BlockScope scope) IntLiteral.literalType(BlockScope scope) abstract TypeBindingLiteral.literalType(BlockScope scope) LongLiteral.literalType(BlockScope scope) NullLiteral.literalType(BlockScope scope) StringLiteral.literalType(BlockScope scope) TrueLiteral.literalType(BlockScope scope) static TypeBindingNullAnnotationMatching.moreDangerousType(TypeBinding one, TypeBinding two) Provided that both types areequalsEquals(org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding, org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding), return the one that is more likely to show null at runtime.LocalDeclaration.patchType(TypeBinding newType) 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) QualifiedNameReference.reportError(BlockScope scope) Normal field binding did not work, try to bind to a field of the delegate receiver.SingleNameReference.reportError(BlockScope scope) protected TypeBindingFunctionalExpression.reportSamProblem(BlockScope blockScope, MethodBinding sam) static TypeBindingASTNode.resolveAnnotations(BlockScope scope, Annotation[][] sourceAnnotations, TypeBinding type) Resolve JSR308 annotations on a type reference, array creation expression or a wildcard.Argument.resolveForCatch(BlockScope scope) TypeReference.resolveSuperType(ClassScope scope) AllocationExpression.resolveType(BlockScope scope) AND_AND_Expression.resolveType(BlockScope scope) Annotation.resolveType(BlockScope scope) ArrayAllocationExpression.resolveType(BlockScope scope) ArrayReference.resolveType(BlockScope scope) Assignment.resolveType(BlockScope scope) BinaryExpression.resolveType(BlockScope scope) CastExpression.resolveType(BlockScope scope) ClassLiteralAccess.resolveType(BlockScope scope) CombinedBinaryExpression.resolveType(BlockScope scope) CompoundAssignment.resolveType(BlockScope scope) ConditionalExpression.resolveType(BlockScope scope) ContainerAnnotation.resolveType(BlockScope scope) EitherOrMultiPattern.resolveType(BlockScope scope) EqualExpression.resolveType(BlockScope scope) Expression.resolveType(BlockScope scope) Resolve the type of this expression in the context of a blockScopeExpression.resolveType(ClassScope scope) Resolve the type of this expression in the context of a classScopeFieldReference.resolveType(BlockScope scope) FunctionalExpression.resolveType(BlockScope blockScope) FunctionalExpression.resolveType(BlockScope blockScope, boolean skipKosherCheck) GuardedPattern.resolveType(BlockScope scope) InstanceOfExpression.resolveType(BlockScope scope) IntersectionCastTypeReference.resolveType(BlockScope scope, boolean checkBounds, int location) IPolyExpression.resolveType(BlockScope blockScope) JavadocAllocationExpression.resolveType(BlockScope scope) JavadocAllocationExpression.resolveType(ClassScope scope) JavadocArgumentExpression.resolveType(BlockScope scope) JavadocArgumentExpression.resolveType(ClassScope scope) JavadocFieldReference.resolveType(BlockScope scope) JavadocFieldReference.resolveType(ClassScope scope) JavadocMessageSend.resolveType(BlockScope scope) JavadocMessageSend.resolveType(ClassScope scope) JavadocModuleReference.resolveType(BlockScope blockScope) JavadocModuleReference.resolveType(ClassScope classScope) JavadocQualifiedTypeReference.resolveType(BlockScope blockScope, boolean checkBounds, int location) JavadocQualifiedTypeReference.resolveType(ClassScope classScope, int location) LambdaExpression.resolveType(BlockScope blockScope, boolean skipKosherCheck) Literal.resolveType(BlockScope scope) MessageSend.resolveType(BlockScope scope) OR_OR_Expression.resolveType(BlockScope scope) ParameterizedQualifiedTypeReference.resolveType(BlockScope scope, boolean checkBounds, int location) ParameterizedQualifiedTypeReference.resolveType(ClassScope scope, int location) ParameterizedSingleTypeReference.resolveType(BlockScope scope, boolean checkBounds, int location) ParameterizedSingleTypeReference.resolveType(ClassScope scope, int location) QualifiedAllocationExpression.resolveType(BlockScope scope) QualifiedNameReference.resolveType(BlockScope scope) QualifiedSuperReference.resolveType(BlockScope scope) QualifiedThisReference.resolveType(BlockScope scope) RecordPattern.resolveType(BlockScope scope) ReferenceExpression.resolveType(BlockScope scope) SingleNameReference.resolveType(BlockScope scope) SuperReference.resolveType(BlockScope scope) SwitchExpression.resolveType(BlockScope upperScope) ThisReference.resolveType(BlockScope scope) TypePattern.resolveType(BlockScope scope) final TypeBindingTypeReference.resolveType(BlockScope blockScope) TypeReference.resolveType(BlockScope scope, boolean checkBounds) TypeReference.resolveType(BlockScope scope, boolean checkBounds, int location) TypeReference.resolveType(ClassScope scope) TypeReference.resolveType(ClassScope scope, int location) UnaryExpression.resolveType(BlockScope scope) UnionTypeReference.resolveType(BlockScope scope, boolean checkBounds, int location) Wildcard.resolveType(BlockScope scope, boolean checkBounds, int location) Wildcard.resolveType(ClassScope scope, int location) TypeReference.resolveTypeArgument(BlockScope blockScope, ReferenceBinding genericType, int rank) TypeReference.resolveTypeArgument(ClassScope classScope, ReferenceBinding genericType, int rank) Wildcard.resolveTypeArgument(BlockScope blockScope, ReferenceBinding genericType, int rank) Wildcard.resolveTypeArgument(ClassScope classScope, ReferenceBinding genericType, int rank) ParameterizedSingleTypeReference.resolveTypeEnclosing(BlockScope scope, ReferenceBinding enclosingType) SingleTypeReference.resolveTypeEnclosing(BlockScope scope, ReferenceBinding enclosingType) ArrayInitializer.resolveTypeExpecting(BlockScope scope, TypeBinding expectedType) Assignment.resolveTypeExpecting(BlockScope scope, TypeBinding expectedType) Expression.resolveTypeExpecting(BlockScope scope, TypeBinding expectedType) Expression.resolveTypeExpectingWithBindings(LocalVariableBinding[] bindings, BlockScope scope, TypeBinding expectedType) Expression.resolveTypeWithBindings(LocalVariableBinding[] bindings, BlockScope scope) static TypeBindingNullAnnotationMatching.strongerType(TypeBinding type1, TypeBinding type2, LookupEnvironment environment) protected TypeBindingTypeReference.updateParameterizedTypeWithAnnotations(Scope scope, TypeBinding type, TypeReference[] argRefs) static TypeBinding[]NullAnnotationMatching.weakerTypes(TypeBinding[] parameters1, TypeBinding[] parameters2, LookupEnvironment environment) Methods in org.aspectj.org.eclipse.jdt.internal.compiler.ast that return types with arguments of type TypeBindingModifier and TypeMethodDescriptionProvidesStatement.getResolvedImplementations()LambdaExpression.getThrownExceptions()Methods in org.aspectj.org.eclipse.jdt.internal.compiler.ast with parameters of type TypeBindingModifier and TypeMethodDescriptionstatic NullAnnotationMatchingNullAnnotationMatching.analyse(TypeBinding requiredType, TypeBinding providedType, int nullStatus) Find any mismatches between the two given types, which are caused by null type annotations.static NullAnnotationMatchingNullAnnotationMatching.analyse(TypeBinding requiredType, TypeBinding providedType, TypeBinding providedSubstitute, Substitution substitution, int nullStatus, Expression providedExpression, NullAnnotationMatching.CheckMode mode) Find any mismatches between the two given types, which are caused by null type annotations.protected static booleanNullAnnotationMatching.areSameTypes(TypeBinding requiredType, TypeBinding providedType, TypeBinding providedSubstitute) Are both types identical wrt the unannotated type and any null type annotations? Only unstructured types and captures are considered.Argument.bind(MethodScope scope, TypeBinding typeBinding, boolean used) protected voidStatement.checkAgainstNullTypeAnnotation(BlockScope scope, TypeBinding requiredType, Expression expression, FlowContext flowContext, FlowInfo flowInfo) static intNullAnnotationMatching.checkAssignment(BlockScope currentScope, FlowContext flowContext, VariableBinding var, FlowInfo flowInfo, int nullStatus, Expression expression, TypeBinding providedType) Check null-ness of 'var' against a possible null annotationfinal booleanExpression.checkCastTypesCompatibility(Scope scope, TypeBinding castType, TypeBinding expressionType, Expression expression, boolean useAutoBoxing) Returns false if cast is not legal.static voidAnnotation.checkContainingAnnotationTargetAtUse(Annotation repeatingAnnotation, BlockScope scope, TypeBinding containerAnnotationType, TypeBinding repeatingAnnotationType) protected voidReference.checkFieldAccessInEarlyConstructionContext(BlockScope scope, char[] token, FieldBinding fieldBinding, TypeBinding actualReceiverType) static booleanASTNode.checkInvocationArguments(BlockScope scope, Expression receiver, TypeBinding receiverType, MethodBinding method, Expression[] arguments, TypeBinding[] argumentTypes, boolean argsContainCast, InvocationSite invocationSite) static voidCastExpression.checkNeedForArgumentCasts(BlockScope scope, Expression receiver, TypeBinding receiverType, MethodBinding binding, Expression[] arguments, TypeBinding[] argumentTypes, InvocationSite invocationSite) Cast expressions will considered as useful if removing them all would actually bind to a different method (no fine grain analysis on per casted argument basis, simply separate widening cast from narrowing ones)static voidCastExpression.checkNeedForAssignedCast(BlockScope scope, TypeBinding expectedType, CastExpression rhs) Complain if assigned expression is cast, but not actually used as such, e.g.static voidCastExpression.checkNeedForEnclosingInstanceCast(BlockScope scope, Expression enclosingInstance, TypeBinding enclosingInstanceType, TypeBinding memberType) Casting an enclosing instance will considered as useful if removing it would actually bind to a different typeprotected 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) final voidEqualExpression.computeConstant(TypeBinding leftType, TypeBinding rightType) 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) protected booleanConditionalExpression.computeConversions(BlockScope scope, TypeBinding targetType) voidInstanceOfExpression.consumeProvidedValue(TypeBinding provided, CodeStream codeStream) 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) Argument.createBinding(MethodScope scope, TypeBinding typeBinding) ReferenceExpression.createPseudoExpressions(TypeBinding[] p) static UnlikelyArgumentCheckUnlikelyArgumentCheck.createUnlikelyArgumentCheck(TypeConstants.DangerousMethod dangerousMethod, TypeBinding typeToCheck, TypeBinding expectedType, TypeBinding typeToReport) 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) voidReference.fieldStore(Scope currentScope, CodeStream codeStream, FieldBinding fieldBinding, MethodBinding syntheticWriteAccessor, TypeBinding receiverType, boolean isImplicitThisReceiver, boolean valueRequired) protected MethodBindingStatement.findConstructorBinding(BlockScope scope, Invocation site, ReferenceBinding receiverType, TypeBinding[] argumentTypes) For all constructor invocations: find the constructor binding; if site.innersNeedUpdate() perform some post processing for those and produce any updates as side-effects into 'argumentTypes'.Pattern.findPrimitiveConversionRoute(TypeBinding destinationType, TypeBinding expressionType, Scope scope) static TypeBindingForeachStatement.getCollectionElementType(BlockScope scope, TypeBinding collectionType) intNullAnnotationMatching.getProblemId(TypeBinding requiredType) protected TypeBindingMessageSend.handleNullnessCodePatterns(BlockScope scope, TypeBinding returnType) protected static booleanTypeReference.hasCompletedHierarchyCheckWithMembers(TypeBinding type) static booleanNullAnnotationMatching.hasContradictions(TypeBinding type) static MethodBindingAllocationExpression.inferDiamondConstructor(Scope scope, InvocationSite site, TypeBinding type, TypeBinding[] argumentTypes, boolean[] inferredReturnTypeOut) static booleanAnnotation.isAnnotationTargetAllowed(BlockScope scope, TypeBinding annotationType, Binding recipient) static booleanFakedTrackingVariable.isAnyCloseable(TypeBinding typeBinding) Answer wither the given type binding is a subtype of java.lang.AutoCloseable.protected booleanGuardedPattern.isApplicable(TypeBinding expressionType, BlockScope scope, ASTNode location) protected booleanPattern.isApplicable(TypeBinding expressionType, BlockScope scope, ASTNode location) static booleanPattern.isBoxing(TypeBinding provided, TypeBinding expected) 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) static booleanFakedTrackingVariable.isCloseableNotWhiteListed(TypeBinding typeBinding) Answer wither the given type binding is a subtype of java.lang.AutoCloseable.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) booleanExpression.isConstantValueOfTypeAssignableToType(TypeBinding constantType, TypeBinding targetType) booleanConditionalExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method) booleanExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method) booleanFunctionalExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method) booleanIPolyExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method) booleanLambdaExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method) booleanReferenceExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method) booleanSwitchExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method) 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) final booleanASTNode.isTypeUseDeprecated(TypeBinding type, Scope scope) booleanPattern.isUnconditional(TypeBinding t, Scope scope) booleanTypePattern.isUnconditional(TypeBinding t, Scope scope) protected booleanMessageSend.isUnnecessaryReceiverCast(BlockScope scope, TypeBinding uncastedReceiverType) static TypeBindingNullAnnotationMatching.moreDangerousType(TypeBinding one, TypeBinding two) Provided that both types areequalsEquals(org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding, org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding), return the one that is more likely to show null at runtime.static intNullAnnotationMatching.nullStatusFromExpressionType(TypeBinding type) Use only if no suitable flowInfo is available.LocalDeclaration.patchType(TypeBinding newType) voidAllocationExpression.registerResult(TypeBinding targetType, MethodBinding method) voidExplicitConstructorCall.registerResult(TypeBinding targetType, MethodBinding method) voidInvocation.registerResult(TypeBinding targetType, MethodBinding method) Record result against target typevoidMessageSend.registerResult(TypeBinding targetType, MethodBinding method) protected 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) booleanLambdaExpression.reportShapeError(TypeBinding targetType, Scope skope) static TypeBindingASTNode.resolveAnnotations(BlockScope scope, Annotation[][] sourceAnnotations, TypeBinding type) Resolve JSR308 annotations on a type reference, array creation expression or a wildcard.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 voidMessageSend.resolveMethodBinding(BlockScope scope, TypeBinding[] argumentTypes) static MethodBindingASTNode.resolvePolyExpressionArguments(Invocation invocation, MethodBinding method, TypeBinding[] argumentTypes, BlockScope scope) After method lookup has produced 'methodBinding' but when poly expressions have been seen as arguments, inspect the arguments to trigger another round of resolving with improved target types from the methods parameters.ArrayInitializer.resolveTypeExpecting(BlockScope scope, TypeBinding expectedType) Assignment.resolveTypeExpecting(BlockScope scope, TypeBinding expectedType) Expression.resolveTypeExpecting(BlockScope scope, TypeBinding expectedType) voidMemberValuePair.resolveTypeExpecting(BlockScope scope, TypeBinding requiredType) Expression.resolveTypeExpectingWithBindings(LocalVariableBinding[] bindings, BlockScope scope, TypeBinding expectedType) voidLambdaExpression.returnsExpression(Expression expression, TypeBinding resultType) voidAllocationExpression.setExpectedType(TypeBinding expectedType) voidCastExpression.setExpectedType(TypeBinding expectedType) voidConditionalExpression.setExpectedType(TypeBinding expectedType) voidExpression.setExpectedType(TypeBinding expectedType) Record the type expectation before this expression is typechecked.voidFunctionalExpression.setExpectedType(TypeBinding expectedType) voidIPolyExpression.setExpectedType(TypeBinding targetType) voidMessageSend.setExpectedType(TypeBinding expectedType) voidSwitchExpression.setExpectedType(TypeBinding expectedType) protected voidQualifiedNameReference.setGenericCast(int index, TypeBinding someGenericCast) voidCastExpression.setInstanceofType(TypeBinding instanceofTypeBinding) voidEitherOrMultiPattern.setOuterExpressionType(TypeBinding expressionType) voidGuardedPattern.setOuterExpressionType(TypeBinding expressionType) voidPattern.setOuterExpressionType(TypeBinding expressionType) 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) static TypeBindingNullAnnotationMatching.strongerType(TypeBinding type1, TypeBinding type2, LookupEnvironment environment) 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) protected voidTryStatement.verifyDuplicationAndOrder(int length, TypeBinding[] argumentTypes, boolean containsUnionTypes) static TypeBinding[]NullAnnotationMatching.weakerTypes(TypeBinding[] parameters1, TypeBinding[] parameters2, LookupEnvironment environment) Method parameters in org.aspectj.org.eclipse.jdt.internal.compiler.ast with type arguments of type TypeBindingModifier and TypeMethodDescriptionvoidBinaryExpression.buildStringForConcatation(BlockScope blockScope, CodeStream codeStream, int typeID, StringBuilder recipe, List<TypeBinding> argTypes) voidCombinedBinaryExpression.buildStringForConcatation(BlockScope blockScope, CodeStream codeStream, int typeID, StringBuilder recipe, List<TypeBinding> argTypes) voidExpression.buildStringForConcatation(BlockScope blockScope, CodeStream codeStream, int typeID, StringBuilder recipe, List<TypeBinding> argTypes) -
Uses of TypeBinding in org.aspectj.org.eclipse.jdt.internal.compiler.codegen
Fields in org.aspectj.org.eclipse.jdt.internal.compiler.codegen declared as TypeBindingMethods in org.aspectj.org.eclipse.jdt.internal.compiler.codegen that return TypeBindingModifier and TypeMethodDescriptionOperandStack.get(int index) OperandStack.NullStack.get(int index) StackMapFrameCodeStream.ExceptionMarker.getBinding()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 typeOperandStack.NullStack.peek()OperandStack.NullStack.peek(TypeBinding top) OperandStack.peek()OperandStack.peek(TypeBinding top) OperandStack.NullStack.pop()OperandStack.NullStack.pop(org.aspectj.org.eclipse.jdt.internal.compiler.codegen.OperandStack.OperandCategory category) OperandStack.NullStack.pop(TypeBinding top) OperandStack.pop()OperandStack.pop(org.aspectj.org.eclipse.jdt.internal.compiler.codegen.OperandStack.OperandCategory category) OperandStack.pop(TypeBinding top) CodeStream.retrieveLocalType(int currentPC, int resolvedPosition) Methods in org.aspectj.org.eclipse.jdt.internal.compiler.codegen with parameters of type TypeBindingModifier and TypeMethodDescriptionvoidStackMapFrameCodeStream.addExceptionMarker(int pc, TypeBinding typeBinding) voidCodeStream.anewarray(TypeBinding typeBinding) voidCodeStream.checkcast(TypeReference typeReference, TypeBinding typeBinding, int currentPosition) voidCodeStream.checkcast(TypeBinding typeBinding) voidTypeAnnotationCodeStream.checkcast(TypeReference typeReference, TypeBinding typeBinding, int currentPosition) voidCodeStream.dup(TypeBinding type) voidCodeStream.fieldAccess(byte opcode, FieldBinding fieldBinding, TypeBinding declaringClass) voidCodeStream.generateClassLiteralAccessForType(Scope scope, TypeBinding accessedType) Macro for building a class descriptor objectvoidCodeStream.getClass(TypeBinding baseType) 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 typevoidCodeStream.instance_of(TypeReference typeReference, TypeBinding typeBinding) voidCodeStream.instance_of(TypeBinding typeBinding) voidTypeAnnotationCodeStream.instance_of(TypeReference typeReference, TypeBinding typeBinding) protected voidCodeStream.invoke(byte opcode, int receiverAndArgsSize, int returnTypeSize, char[] declaringClass, char[] selector, char[] signature, int typeId, TypeBinding returnType) protected voidCodeStream.invoke(byte opcode, int receiverAndArgsSize, int returnTypeSize, char[] declaringClass, char[] selector, char[] signature, TypeBinding type) voidCodeStream.invoke(byte opcode, MethodBinding methodBinding, TypeBinding declaringClass) voidCodeStream.invoke(byte opcode, MethodBinding methodBinding, TypeBinding declaringClass, TypeReference[] typeArguments) voidTypeAnnotationCodeStream.invoke(byte opcode, MethodBinding methodBinding, TypeBinding declaringClass, TypeReference[] typeArguments) voidCodeStream.invokeAutoCloseableClose(TypeBinding resourceType) voidCodeStream.invokeDynamic(int bootStrapIndex, int argsSize, int returnTypeSize, char[] selector, char[] signature, boolean isConstructorReference, TypeReference lhsTypeReference, TypeReference[] typeArguments, TypeBinding type) voidCodeStream.invokeDynamic(int bootStrapIndex, int argsSize, int returnTypeSize, char[] selector, char[] signature, TypeBinding type) voidTypeAnnotationCodeStream.invokeDynamic(int bootStrapIndex, int argsSize, int returnTypeSize, char[] selector, char[] signature, boolean isConstructorReference, TypeReference lhsTypeReference, TypeReference[] typeArguments, TypeBinding type) voidCodeStream.invokeIterableIterator(TypeBinding iterableReceiverType) voidCodeStream.invokeJavaLangEnumValues(TypeBinding enumBinding, ArrayBinding arrayBinding) protected voidCodeStream.invokeJavaLangReflectFieldGetter(TypeBinding type) protected voidCodeStream.invokeJavaLangReflectFieldSetter(TypeBinding type) voidCodeStream.ldc(TypeBinding typeBinding) intConstantPool.literalIndex(TypeBinding binding) intConstantPool.literalIndexForMethod(TypeBinding declaringClass, char[] selector, char[] signature, boolean isInterface) intConstantPool.literalIndexForMethodHandle(int referenceKind, TypeBinding declaringClass, char[] selector, char[] signature, boolean isInterface) intConstantPool.literalIndexForType(TypeBinding binding) final voidCodeStream.load(TypeBinding typeBinding, int resolvedPosition) voidCodeStream.multianewarray(TypeReference typeReference, TypeBinding typeBinding, int dimensions, ArrayAllocationExpression allocationExpression) voidTypeAnnotationCodeStream.multianewarray(TypeReference typeReference, TypeBinding typeBinding, int dimensions, ArrayAllocationExpression allocationExpression) voidCodeStream.new_(TypeReference typeReference, TypeBinding typeBinding) voidCodeStream.new_(TypeBinding typeBinding) voidTypeAnnotationCodeStream.new_(TypeReference typeReference, TypeBinding typeBinding) OperandStack.NullStack.peek(TypeBinding top) OperandStack.peek(TypeBinding top) voidCodeStream.pop(TypeBinding type) OperandStack.NullStack.pop(TypeBinding top) OperandStack.pop(TypeBinding top) voidOperandStack.NullStack.push(TypeBinding typeBinding) voidOperandStack.push(TypeBinding typeBinding) voidCodeStream.pushExceptionOnStack(TypeBinding binding) voidStackMapFrameCodeStream.pushExceptionOnStack(TypeBinding binding) voidCodeStream.pushOnStack(TypeBinding binding) voidVerificationTypeInfo.setBinding(TypeBinding binding) Method parameters in org.aspectj.org.eclipse.jdt.internal.compiler.codegen with type arguments of type TypeBindingModifier and TypeMethodDescriptionvoidCodeStream.invokeDynamicForStringConcat(StringBuilder recipe, List<TypeBinding> arguments) Constructors in org.aspectj.org.eclipse.jdt.internal.compiler.codegen with parameters of type TypeBindingModifierConstructorDescriptionExceptionLabel(CodeStream codeStream, TypeBinding exceptionType) ExceptionLabel(CodeStream codeStream, TypeBinding exceptionType, TypeReference exceptionTypeReference, Annotation[] se7Annotations) ExceptionMarker(int pc, TypeBinding typeBinding) MultiCatchExceptionLabel(CodeStream codeStream, TypeBinding exceptionType) VerificationTypeInfo(int tag, TypeBinding binding) VerificationTypeInfo(TypeBinding binding) -
Uses of TypeBinding in org.aspectj.org.eclipse.jdt.internal.compiler.flow
Fields in org.aspectj.org.eclipse.jdt.internal.compiler.flow declared as TypeBindingModifier and TypeFieldDescriptionTypeBinding[][]FlowContext.providedExpectedTypesInitializationFlowContext.thrownExceptionsFields in org.aspectj.org.eclipse.jdt.internal.compiler.flow with type parameters of type TypeBindingMethods in org.aspectj.org.eclipse.jdt.internal.compiler.flow with parameters of type TypeBindingModifier and TypeMethodDescriptionvoidFlowContext.checkExceptionHandlers(TypeBinding[] raisedExceptions, ASTNode location, FlowInfo flowInfo, BlockScope scope) voidFlowContext.checkExceptionHandlers(TypeBinding raisedException, ASTNode location, FlowInfo flowInfo, BlockScope scope) voidFlowContext.checkExceptionHandlers(TypeBinding raisedException, ASTNode location, FlowInfo flowInfo, BlockScope scope, boolean isExceptionOnAutoClose) FlowContext.getInitsForFinalBlankInitializationCheck(TypeBinding declaringType, FlowInfo flowInfo) protected booleanFinallyFlowContext.internalRecordNullityMismatch(Expression expression, TypeBinding providedType, FlowInfo flowInfo, int nullStatus, NullAnnotationMatching nullAnnotationStatus, TypeBinding expectedType, int checkType) protected booleanFlowContext.internalRecordNullityMismatch(Expression expression, TypeBinding providedType, FlowInfo flowInfo, int nullStatus, NullAnnotationMatching nullAnnotationStatus, TypeBinding expectedType, int checkType) protected booleanLoopingFlowContext.internalRecordNullityMismatch(Expression expression, TypeBinding providedType, FlowInfo flowInfo, int nullStatus, NullAnnotationMatching nullAnnotationStatus, TypeBinding expectedType, int checkType) voidExceptionHandlingFlowContext.mergeUnhandledException(TypeBinding newException) voidExceptionHandlingFlowContext.recordHandlingException(ReferenceBinding exceptionType, UnconditionalFlowInfo flowInfo, TypeBinding raisedException, TypeBinding caughtException, ASTNode invocationSite, boolean wasAlreadyDefinitelyCaught) voidInitializationFlowContext.recordHandlingException(ReferenceBinding exceptionType, UnconditionalFlowInfo flowInfo, TypeBinding raisedException, TypeBinding caughtException, ASTNode invocationSite, boolean wasMasked) voidFlowContext.recordNullityMismatch(BlockScope currentScope, Expression expression, TypeBinding providedType, TypeBinding expectedType, FlowInfo flowInfo, int nullStatus, NullAnnotationMatching annotationStatus) Record that a nullity mismatch was detected against an annotated type reference.protected voidFlowContext.recordProvidedExpectedTypes(TypeBinding providedType, TypeBinding expectedType, int nullCount) -
Uses of TypeBinding in org.aspectj.org.eclipse.jdt.internal.compiler.lookup
Subclasses of TypeBinding in org.aspectj.org.eclipse.jdt.internal.compiler.lookupModifier and TypeClassDescriptionfinal classclassclassclassclassCapture-like type variable introduced during 1.8 type inference.classImplementation of 18.1.1 in JLS8classAbstraction used for intersection casts in Java 8 + and inferred types: type inference at 1.8+ lub at 1.8+ projections for 'var' at 10+final classclassclassclassclassclassA parameterized type encapsulates a type with type arguments,classclassclassDenote a raw type, i.e.classclassclassBinding for a type parameter, held by source/binary type or method.classclassclassFields in org.aspectj.org.eclipse.jdt.internal.compiler.lookup declared as TypeBindingModifier and TypeFieldDescriptionParameterizedTypeBinding.argumentsWildcardBinding.boundTypeVariableBinding.firstBoundDenote the first explicit (binding) bound amongst the supertypes (from declaration in source) If no superclass was specified, then it denotes the first superinterface, or null if none was specified.ArrayBinding.leafComponentTypeCaptureBinding.lowerBoundProblemMethodBinding.missingTypestatic final TypeBinding[]Binding.NO_PARAMETERSstatic final TypeBinding[]Binding.NO_TYPESstatic final TypeBinding[]TypeBinding.NUMERIC_TYPESWildcardBinding.otherBoundsMethodBinding.parametersMethodBinding.receiverMethodBinding.returnTypeprotected TypeBindingReductionResult.rightprotected TypeBinding[]ModuleBinding.servicesSyntheticMethodBinding.targetEnumTypeParameterizedGenericMethodBinding.targetTypeVariableBinding.typeParameterizedGenericMethodBinding.typeArgumentsprotected TypeBinding[]ModuleBinding.usesFields in org.aspectj.org.eclipse.jdt.internal.compiler.lookup with type parameters of type TypeBindingMethods in org.aspectj.org.eclipse.jdt.internal.compiler.lookup that return TypeBindingModifier and TypeMethodDescriptionWildcardBinding.allBounds()TypeVariableBinding.allUpperBounds()Scope.boxing(TypeBinding type) protected TypeBindingTypeSystem.cacheDerivedType(TypeBinding keyType, TypeBinding derivedType) protected final TypeBindingTypeSystem.cacheDerivedType(TypeBinding keyType, TypeBinding nakedType, TypeBinding derivedType) Perform capture conversion on a given type (only effective on parameterized type with wildcards)BaseTypeBinding.clone(TypeBinding enclosingType) BinaryTypeBinding.clone(TypeBinding outerType) CaptureBinding.clone(TypeBinding enclosingType) CaptureBinding18.clone(TypeBinding enclosingType) InferenceVariable.clone(TypeBinding enclosingType) IntersectionTypeBinding18.clone(TypeBinding enclosingType) LocalTypeBinding.clone(TypeBinding outerType) MemberTypeBinding.clone(TypeBinding outerType) MissingTypeBinding.clone(TypeBinding outerType) NullTypeBinding.clone(TypeBinding enclosingType) ParameterizedTypeBinding.clone(TypeBinding outerType) ProblemReferenceBinding.clone(TypeBinding enclosingType) RawTypeBinding.clone(TypeBinding outerType) SourceTypeBinding.clone(TypeBinding immaterial) TypeBinding.clone(TypeBinding enclosingType) Virtual copy constructor: a copy is made of the receiver's entire instance state and then suitably parameterized by the arguments to the clone operation as seen fit by each type.TypeVariableBinding.clone(TypeBinding enclosingType) UnresolvedReferenceBinding.clone(TypeBinding outerType) VoidTypeBinding.clone(TypeBinding enclosingType) WildcardBinding.clone(TypeBinding immaterial) ArrayBinding.closestMatch()ProblemReferenceBinding.closestMatch()TypeBinding.closestMatch()In case of problems, returns the closest match found.TypeVariableBinding.combineTypeAnnotations(TypeBinding substitute) LookupEnvironment.computeBoxingType(TypeBinding type) PolyTypeBinding.computeBoxingType()static TypeBindingScope.convertEliminatingTypeVariables(TypeBinding originalType, ReferenceBinding genericType, int rank, Set<TypeBinding> eliminatedVariables) Returns a type where either all variables or specific ones got discarded.LookupEnvironment.convertToRawType(TypeBinding type, boolean forceRawEnclosingType) Returns the given binding's raw type binding.LookupEnvironment.convertUnresolvedBinaryToRawType(TypeBinding type) LookupEnvironment.createAnnotatedType(TypeBinding type, AnnotationBinding[] newbies) LookupEnvironment.createAnnotatedType(TypeBinding type, AnnotationBinding[][] annotations) LookupEnvironment.createIntersectionType18(ReferenceBinding[] intersectingTypes) LookupEnvironment.createNonNullAnnotatedType(TypeBinding type) CaptureBinding.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) ArrayBinding.elementsType()ArrayBinding.erasure()CaptureBinding18.erasure()InferenceVariable.erasure()IntersectionTypeBinding18.erasure()ParameterizedTypeBinding.erasure()TypeBinding.erasure()TypeVariableBinding.erasure()WildcardBinding.erasure()CaptureBinding18.findSuperTypeOriginatingFrom(TypeBinding otherType) TypeBinding.findSuperTypeOriginatingFrom(TypeBinding otherType) Find supertype which originates from a given type, or null if not foundTypeBinding.genericCast(TypeBinding targetType) Returns the type to use for generic cast, or null if none requiredInvocationSite.EmptyWithAstNode.genericTypeArguments()InvocationSite.genericTypeArguments()AnnotatableTypeSystem.getAnnotatedType(TypeBinding type, AnnotationBinding[][] annotations) TypeSystem.getAnnotatedType(TypeBinding type, AnnotationBinding[][] annotations) AnnotatableTypeSystem.getAnnotatedTypes(TypeBinding type) LookupEnvironment.getAnnotatedTypes(TypeBinding type) TypeSystem.getAnnotatedTypes(TypeBinding type) static TypeBindingScope.getBaseType(char[] name) protected final TypeBinding[]TypeSystem.getDerivedTypes(TypeBinding keyType) protected TypeBinding[]CaptureBinding.getDerivedTypesForDeferredInitialization()protected TypeBinding[]TypeVariableBinding.getDerivedTypesForDeferredInitialization()TypeBinding.getErasureCompatibleType(TypeBinding declaringClass) Return the supertype which would erase as a subtype of a given declaring class.InferenceContext18.getFunctionInterfaceArgumentSolutions(TypeBinding[] a) From 18.5.3: If B contains an instantiation (§18.1.3) for αi, T, then A'i = T.BinaryModuleBinding.getImplementations(TypeBinding binding) ModuleBinding.getImplementations(TypeBinding binding) SourceModuleBinding.getImplementations(TypeBinding binding) final TypeBindingTypeSystem.getIntersectionType18(ReferenceBinding[] intersectingTypes) Scope.getMatchingUninitializedType(TypeBinding targetClass, boolean considerEnclosings) ParameterizedTypeBinding.getNonWildcardParameters(Scope scope) protected TypeBindingInferenceSubstitution.getP(int i) Get the type corresponding to the ith inference variable.static TypeBindingInferenceContext18.getParameter(TypeBinding[] parameters, int rank, boolean isVarArgs) Retrieve the rank'th parameter, possibly respecting varargs invocation, see 15.12.2.4.CatchParameterBinding.getPreciseTypes()IntersectionTypeBinding18.getSAMType(Scope scope) BinaryModuleBinding.getServices()ModuleBinding.getServices()SourceModuleBinding.getServices()InferenceContext18.getSolutions(TypeVariableBinding[] typeParameters, InvocationSite site, org.aspectj.org.eclipse.jdt.internal.compiler.lookup.BoundSet boundSet) Retrieve the resolved solutions for all given type variables.InferenceContext.getSubstitutes(TypeVariableBinding typeVariable, int constraint) final TypeBindingScope.getType(char[] name) final TypeBindingScope.getType(char[][] compoundName, int typeNameLength) final TypeBindingScope.getType(char[] name, PackageBinding packageBinding) LookupEnvironment.getTypeFromTypeSignature(SignatureWrapper wrapper, TypeVariableBinding[] staticVariables, ReferenceBinding enclosingType, char[][][] missingTypeNames, ITypeAnnotationWalker walker) LookupEnvironment.getUnannotatedType(TypeBinding typeBinding) final TypeBindingTypeSystem.getUnannotatedType(TypeBinding type) BinaryModuleBinding.getUses()ModuleBinding.getUses()SourceModuleBinding.getUses()static TypeBinding[]Scope.greaterLowerBound(TypeBinding[] types, Scope scope, LookupEnvironment environment) InvocationSite.EmptyWithAstNode.invocationTargetType()InvocationSite.invocationTargetType()ArrayBinding.leafComponentType()TypeBinding.leafComponentType()Scope.lowerUpperBound(TypeBinding[] types) Returns VoidBinding if types have no intersection (e.g.protected TypeBinding[]Scope.minimalErasedCandidates(TypeBinding[] types, Map<TypeBinding, Object> allInvocations) Returns the most specific set of types compatible with all given types.TypeBinding.original()Returns the orignal generic type instantiated by the receiver type, or itself if not.TypeVariableBinding.otherUpperBounds()BinaryTypeBinding.prototype()SourceTypeBinding.prototype()TypeBinding.prototype()Return the primordial type from which the receiver was cloned.UnresolvedReferenceBinding.prototype()static TypeBindingBinaryTypeBinding.resolveType(TypeBinding type, LookupEnvironment environment, boolean convertGenericToRawType) TypeVariableBinding.setFirstBound(TypeBinding firstBound) InferenceContext18.substitute(TypeBinding type) Substitute any type variables mentioned in 'type' by the corresponding inference variable, if one exists.InferenceSubstitution.substitute(Substitution substitution, TypeBinding originalType) Override methodScope.Substitutor.substitute(Substitution, TypeBinding), to add substitution of types other than type variables.InferenceSubstitution.substitute(TypeVariableBinding typeVariable) ParameterizedGenericMethodBinding.substitute(TypeVariableBinding originalVariable) ParameterizedTypeBinding.substitute(TypeVariableBinding originalVariable) static TypeBindingScope.substitute(Substitution substitution, TypeBinding originalType) Returns a type, where original type was substituted using the receiver parameterized type.static TypeBinding[]Scope.substitute(Substitution substitution, TypeBinding[] originalTypes) Returns an array of types, where original types got substituted given a substitution.Scope.Substitutor.substitute(Substitution substitution, TypeBinding originalType) Returns a type, where original type was substituted using the receiver parameterized type.Scope.Substitutor.substitute(Substitution substitution, TypeBinding[] originalTypes) Returns an array of types, where original types got substituted given a substitution.Substitution.NullSubstitution.substitute(TypeVariableBinding typeVariable) Substitution.substitute(TypeVariableBinding typeVariable) Returns the type substitute for a given type variable, or itself if no substitution got performed.ParameterizedTypeBinding.typeArguments()ArrayBinding.unannotated()BaseTypeBinding.unannotated()BinaryTypeBinding.unannotated()NullTypeBinding.unannotated()ParameterizedTypeBinding.unannotated()SourceTypeBinding.unannotated()TypeBinding.unannotated()Return this type minus its type annotationsTypeVariableBinding.unannotated()VoidTypeBinding.unannotated()WildcardBinding.unannotated()TypeBinding.unboxedType()Perform capture deconversion for a parameterized type with captured wildcard argumentsPerform capture "deconversion" on a given typeTypeVariableBinding.upperBound()Upper bound doesn't perform erasureCaptureBinding.upperBoundForProjection()CaptureBinding.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.wellKnownBaseType(int id) static final TypeBindingTypeBinding.wellKnownType(Scope scope, int id) Match a well-known type id to its bindingArrayBinding.withoutToplevelNullAnnotation()BinaryTypeBinding.withoutToplevelNullAnnotation()CaptureBinding.withoutToplevelNullAnnotation()ParameterizedTypeBinding.withoutToplevelNullAnnotation()RawTypeBinding.withoutToplevelNullAnnotation()SourceTypeBinding.withoutToplevelNullAnnotation()TypeBinding.withoutToplevelNullAnnotation()Return this type minus its toplevel null annotations.TypeVariableBinding.withoutToplevelNullAnnotation()WildcardBinding.withoutToplevelNullAnnotation()Methods in org.aspectj.org.eclipse.jdt.internal.compiler.lookup that return types with arguments of type TypeBindingModifier and TypeMethodDescriptionArrayBinding.collectMissingTypes(List<TypeBinding> missingTypes) MethodBinding.collectMissingTypes(List<TypeBinding> missingTypes, boolean considerReturnType) MissingTypeBinding.collectMissingTypes(List<TypeBinding> missingTypes) ParameterizedTypeBinding.collectMissingTypes(List<TypeBinding> missingTypes) ProblemMethodBinding.collectMissingTypes(List<TypeBinding> missingTypes, boolean considerReturnType) TypeBinding.collectMissingTypes(List<TypeBinding> missingTypes) Iterate through the type components to collect instances of leaf missing typesTypeVariableBinding.collectMissingTypes(List<TypeBinding> missingTypes) WildcardBinding.collectMissingTypes(List<TypeBinding> missingTypes) Methods in org.aspectj.org.eclipse.jdt.internal.compiler.lookup with parameters of type TypeBindingModifier and TypeMethodDescriptionSourceTypeBinding.addSyntheticFactoryMethod(MethodBinding privateConstructor, MethodBinding publicConstructor, TypeBinding[] enclosingInstances, char[] selector) SourceTypeBinding.addSyntheticMethodForSwitchEnum(TypeBinding enumBinding, SwitchStatement switchStatement) voidInferenceContext18.addThrowsContraints(TypeBinding[] parameters, InferenceVariable[] variables, ReferenceBinding[] thrownExceptions) JLS 18.1.3 Bounds: throws α: the inference variable α appears in a throws clauseInferenceContext18.addTypeVariableSubstitutions(TypeBinding[] typeArguments, boolean capturesOnly) Add new inference variables for the given type arguments.SyntheticFactoryMethodBinding.applyTypeArgumentsOnConstructor(TypeBinding[] typeArguments, TypeBinding[] constructorTypeArguments, boolean inferredWithUncheckedConversion, TypeBinding targetType) Apply the given type arguments on the (declaring class of the) actual constructor being represented by this factory method and if method type arguments is not empty materialize the parameterized generic constructorfinal booleanMethodBinding.areParametersCompatibleWith(TypeBinding[] arguments) TypeVariableBinding.boundCheck(Substitution substitution, TypeBinding argumentType, Scope scope, ASTNode location) Returns true if the argument type satisfies all bounds of the type parameterbooleanWildcardBinding.boundCheck(TypeBinding argumentType) Returns true if the argument type satisfies the wildcard bound(s)Scope.boxing(TypeBinding type) protected TypeBindingTypeSystem.cacheDerivedType(TypeBinding keyType, TypeBinding derivedType) protected final TypeBindingTypeSystem.cacheDerivedType(TypeBinding keyType, TypeBinding nakedType, TypeBinding derivedType) booleanFieldBinding.canBeSeenBy(TypeBinding receiverType, 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) voidBlockScope.checkAppropriateMethodAgainstSupers(char[] selector, MethodBinding compileTimeMethod, TypeBinding[] parameters, InvocationSite site) 15.12.3 (Java 8) "Compile-Time Step 3: Is the Chosen Method Appropriate?"longLookupEnvironment.checkForMissingAnalysisAnnotation(TypeBinding resolvedType) Check if the given type is a missing type that could be relevant for static analysis.BaseTypeBinding.clone(TypeBinding enclosingType) BinaryTypeBinding.clone(TypeBinding outerType) CaptureBinding.clone(TypeBinding enclosingType) CaptureBinding18.clone(TypeBinding enclosingType) InferenceVariable.clone(TypeBinding enclosingType) IntersectionTypeBinding18.clone(TypeBinding enclosingType) LocalTypeBinding.clone(TypeBinding outerType) MemberTypeBinding.clone(TypeBinding outerType) MissingTypeBinding.clone(TypeBinding outerType) NullTypeBinding.clone(TypeBinding enclosingType) ParameterizedTypeBinding.clone(TypeBinding outerType) ProblemReferenceBinding.clone(TypeBinding enclosingType) RawTypeBinding.clone(TypeBinding outerType) SourceTypeBinding.clone(TypeBinding immaterial) TypeBinding.clone(TypeBinding enclosingType) Virtual copy constructor: a copy is made of the receiver's entire instance state and then suitably parameterized by the arguments to the clone operation as seen fit by each type.TypeVariableBinding.clone(TypeBinding enclosingType) UnresolvedReferenceBinding.clone(TypeBinding outerType) VoidTypeBinding.clone(TypeBinding enclosingType) WildcardBinding.clone(TypeBinding immaterial) 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.TypeVariableBinding.combineTypeAnnotations(TypeBinding substitute) static intScope.compareTypes(TypeBinding left, TypeBinding right) LookupEnvironment.computeBoxingType(TypeBinding type) static MethodBindingParameterizedGenericMethodBinding.computeCompatibleMethod(MethodBinding originalMethod, TypeBinding[] arguments, Scope scope, InvocationSite invocationSite) Perform inference of generic method type parameters and/or expected typeprotected final MethodBindingScope.computeCompatibleMethod(MethodBinding method, TypeBinding[] arguments, InvocationSite invocationSite) Internal use only Given a method, returns null if arguments cannot be converted to parameters.protected final MethodBindingScope.computeCompatibleMethod(MethodBinding method, TypeBinding[] arguments, InvocationSite invocationSite, boolean tiebreakingVarargsMethods) Internal use only Given a method, returns null if arguments cannot be converted to parameters.static MethodBindingParameterizedGenericMethodBinding.computeCompatibleMethod18(MethodBinding originalMethod, TypeBinding[] arguments, Scope scope, InvocationSite invocationSite) static TypeBindingScope.convertEliminatingTypeVariables(TypeBinding originalType, ReferenceBinding genericType, int rank, Set<TypeBinding> eliminatedVariables) Returns a type where either all variables or specific ones got discarded.LookupEnvironment.convertToRawType(TypeBinding type, boolean forceRawEnclosingType) Returns the given binding's raw type binding.LookupEnvironment.convertUnresolvedBinaryToRawType(TypeBinding type) LookupEnvironment.createAnnotatedType(TypeBinding type, AnnotationBinding[] newbies) LookupEnvironment.createAnnotatedType(TypeBinding type, AnnotationBinding[][] annotations) LookupEnvironment.createArrayType(TypeBinding leafComponentType, int dimensionCount) LookupEnvironment.createArrayType(TypeBinding leafComponentType, int dimensionCount, AnnotationBinding[] annotations) Scope.createArrayType(TypeBinding type, int dimension) Scope.createArrayType(TypeBinding type, int dimension, AnnotationBinding[] annotations) LookupEnvironment.createGetClassMethod(TypeBinding receiverType, MethodBinding originalMethod, Scope scope) voidInferenceContext18.createInitialConstraintsForParameters(TypeBinding[] parameters, boolean checkVararg, TypeBinding varArgsType, MethodBinding method) JLS 18.5.1: compute bounds from formal and actual parameters.LookupEnvironment.createNonNullAnnotatedType(TypeBinding type) LookupEnvironment.createParameterizedGenericMethod(MethodBinding genericMethod, TypeBinding[] typeArguments) LookupEnvironment.createParameterizedGenericMethod(MethodBinding genericMethod, TypeBinding[] typeArguments, boolean inferredWithUncheckedConversion, boolean hasReturnProblem, TypeBinding targetType) LookupEnvironment.createParameterizedGenericMethod(MethodBinding genericMethod, TypeBinding[] typeArguments, TypeBinding targetType) LookupEnvironment.createParameterizedType(ReferenceBinding genericType, TypeBinding[] typeArguments, ReferenceBinding enclosingType) LookupEnvironment.createParameterizedType(ReferenceBinding genericType, TypeBinding[] typeArguments, ReferenceBinding enclosingType, AnnotationBinding[] annotations) LookupEnvironment.createPolymorphicMethod(MethodBinding originalPolymorphicMethod, TypeBinding[] parameters, Scope scope) LookupEnvironment.createWildcard(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind) LookupEnvironment.createWildcard(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind, AnnotationBinding[] annotations) voidMethodScope.detectAPILeaks(ASTNode typeNode, TypeBinding type) booleanClassScope.detectHierarchyCycle(TypeBinding superType, TypeReference reference) 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 booleanTypeBinding.equalsEquals(TypeBinding that, TypeBinding other) protected MethodBindingScope.findDefaultAbstractMethod(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite, ReferenceBinding classHierarchyStart, ObjectVector found, MethodBinding[] concreteMatches) Scope.findExactMethod(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite) MethodScope.findField(TypeBinding receiverType, char[] fieldName, InvocationSite invocationSite, boolean needResolve) Overridden to detect the error case inside an explicit constructor call: class X { int i; X myX; X(X x) { this(i, myX.i, x.i); // same for super calls...Scope.findField(TypeBinding receiverType, char[] fieldName, InvocationSite invocationSite, boolean needResolve) Scope.findField(TypeBinding receiverType, char[] fieldName, InvocationSite invocationSite, boolean needResolve, boolean invisibleFieldsOk) Scope.findMethod(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite, boolean inStaticContext) Scope.findMethod0(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite, boolean inStaticContext) Scope.findMethodForArray(ArrayBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite) CaptureBinding18.findSuperTypeOriginatingFrom(TypeBinding otherType) TypeBinding.findSuperTypeOriginatingFrom(TypeBinding otherType) Find supertype which originates from a given type, or null if not foundvoidInferenceContext18.forwardResults(org.aspectj.org.eclipse.jdt.internal.compiler.lookup.BoundSet result, Invocation invocation, ParameterizedMethodBinding pmb, TypeBinding targetType) TypeBinding.genericCast(TypeBinding targetType) Returns the type to use for generic cast, or null if none requiredstatic InferenceVariableInferenceVariable.get(TypeBinding typeParameter, int rank, InvocationSite site, Scope scope, ReferenceBinding object, boolean initial) Create or retrieve the inference variable representing the given typeParameter.LookupEnvironment.getAccessRestriction(TypeBinding type) Returns the access restriction associated to a given type, or null if noneAnnotatableTypeSystem.getAnnotatedType(TypeBinding type, AnnotationBinding[][] annotations) TypeSystem.getAnnotatedType(TypeBinding type, AnnotationBinding[][] annotations) AnnotatableTypeSystem.getAnnotatedTypes(TypeBinding type) LookupEnvironment.getAnnotatedTypes(TypeBinding type) TypeSystem.getAnnotatedTypes(TypeBinding type) AnnotatableTypeSystem.getArrayType(TypeBinding leaftType, int dimensions) AnnotatableTypeSystem.getArrayType(TypeBinding leafType, int dimensions, AnnotationBinding[] annotations) TypeSystem.getArrayType(TypeBinding leafType, int dimensions) TypeSystem.getArrayType(TypeBinding leafComponentType, int dimensions, AnnotationBinding[] annotations) Scope.getConstructor(ReferenceBinding receiverType, TypeBinding[] argumentTypes, InvocationSite invocationSite) Scope.getConstructor0(ReferenceBinding receiverType, TypeBinding[] argumentTypes, InvocationSite invocationSite) protected final TypeBinding[]TypeSystem.getDerivedTypes(TypeBinding keyType) TypeBinding.getErasureCompatibleType(TypeBinding declaringClass) Return the supertype which would erase as a subtype of a given declaring class.BinaryTypeBinding.getExactConstructor(TypeBinding[] argumentTypes) ParameterizedTypeBinding.getExactConstructor(TypeBinding[] argumentTypes) ReferenceBinding.getExactConstructor(TypeBinding[] argumentTypes) Scope.getExactConstructor(TypeBinding receiverType, InvocationSite invocationSite) SourceTypeBinding.getExactConstructor(TypeBinding[] argumentTypes) BinaryTypeBinding.getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope) IMemberFinder.getExactMethod(SourceTypeBinding sourceTypeBinding, char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope) ParameterizedTypeBinding.getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope) ReferenceBinding.getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope) Scope.getExactMethod(TypeBinding receiverType, char[] selector, InvocationSite invocationSite) SourceTypeBinding.getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope) ParameterizedTypeBinding.getExactMethodBase(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope) SourceTypeBinding.getExactMethodBase(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope) Scope.getField(TypeBinding receiverType, char[] fieldName, InvocationSite invocationSite) InferenceContext18.getFunctionInterfaceArgumentSolutions(TypeBinding[] a) From 18.5.3: If B contains an instantiation (§18.1.3) for αi, T, then A'i = T.BinaryModuleBinding.getImplementations(TypeBinding binding) ModuleBinding.getImplementations(TypeBinding binding) SourceModuleBinding.getImplementations(TypeBinding binding) Scope.getImplicitMethod(char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite) protected intInferenceContext18.getInferenceKind(MethodBinding nonGenericMethod, TypeBinding[] argumentTypes) Scope.getMatchingUninitializedType(TypeBinding targetClass, boolean considerEnclosings) Scope.getMethod(TypeBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite) static TypeBindingInferenceContext18.getParameter(TypeBinding[] parameters, int rank, boolean isVarArgs) Retrieve the rank'th parameter, possibly respecting varargs invocation, see 15.12.2.4.AnnotatableTypeSystem.getParameterizedType(ReferenceBinding genericType, TypeBinding[] typeArguments, ReferenceBinding enclosingType) AnnotatableTypeSystem.getParameterizedType(ReferenceBinding genericType, TypeBinding[] typeArguments, ReferenceBinding enclosingType, AnnotationBinding[] annotations) TypeSystem.getParameterizedType(ReferenceBinding genericType, TypeBinding[] typeArguments, ReferenceBinding enclosingType) TypeSystem.getParameterizedType(ReferenceBinding genericType, TypeBinding[] typeArguments, ReferenceBinding enclosingType, AnnotationBinding[] annotations) InferenceContext18.getReturnProblemMethodIfNeeded(TypeBinding expectedType, MethodBinding method) Create a problem method signaling failure of invocation type inference, unless the given candidate is tolerable to be compatible with buggy javac.Scope.getStaticFactory(ParameterizedTypeBinding allocationType, ReferenceBinding originalEnclosingType, TypeBinding[] argumentTypes, InvocationSite allocationSite) LookupEnvironment.getUnannotatedType(TypeBinding typeBinding) final TypeBindingTypeSystem.getUnannotatedType(TypeBinding type) FieldBinding.getVisibleBinding(TypeBinding receiverType, InvocationSite invocationSite, Scope scope) MethodBinding.getVisibleBinding(TypeBinding receiverType, InvocationSite invocationSite, Scope scope) AnnotatableTypeSystem.getWildcard(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind) AnnotatableTypeSystem.getWildcard(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind, AnnotationBinding[] annotations) TypeSystem.getWildcard(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind) TypeSystem.getWildcard(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind, AnnotationBinding[] annotations) static TypeBinding[]Scope.greaterLowerBound(TypeBinding[] types, Scope scope, LookupEnvironment environment) booleanScope.hasDefaultNullnessForType(TypeBinding type, int location, int sourceStart) booleanScope.hasErasedCandidatesCollisions(TypeBinding one, TypeBinding two, Map<TypeBinding, Object> invocations, ReferenceBinding type, ASTNode typeRef) voidInferenceContext18.inferInvocationApplicability(MethodBinding method, TypeBinding[] arguments, boolean isDiamond) JLS 18.5.1 Invocation Applicability Inference.org.aspectj.org.eclipse.jdt.internal.compiler.lookup.BoundSetInferenceContext18.inferInvocationType(TypeBinding expectedType, InvocationSite invocationSite, MethodBinding method) JLS 18.5.2 Invocation Type InferenceInferenceContext18.inferRecordPatternParameterization(RecordPattern recordPattern, BlockScope scope2, TypeBinding candidateT) 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)>static booleanArrayBinding.isArrayClone(TypeBinding receiverType, MethodBinding binding) booleanScope.isBoxingCompatibleWith(TypeBinding expressionType, TypeBinding targetType) 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)booleanTypeBinding.isCompatibleWith(TypeBinding right) abstract booleanTypeBinding.isCompatibleWith(TypeBinding right, Scope scope) static booleanReferenceBinding.isConsistentIntersection(TypeBinding[] intersectingTypes) booleanBinaryTypeBinding.isEquivalentTo(TypeBinding otherType) Returns true if a type is identical to another one, or for generic types, true if compared to its raw type.booleanCaptureBinding.isEquivalentTo(TypeBinding otherType) booleanCaptureBinding18.isEquivalentTo(TypeBinding otherType) booleanParameterizedTypeBinding.isEquivalentTo(TypeBinding otherType) booleanRawTypeBinding.isEquivalentTo(TypeBinding otherType) booleanSourceTypeBinding.isEquivalentTo(TypeBinding otherType) Returns true if a type is identical to another one, or for generic types, true if compared to its raw type.booleanTypeBinding.isEquivalentTo(TypeBinding otherType) Returns true if a type is identical to another one, or for generic types, true if compared to its raw type.booleanTypeVariableBinding.isErasureBoundTo(TypeBinding type) Returns true if the type variable is directly bound to a given typebooleanScope.isInsideEarlyConstructionContext(TypeBinding targetClass, boolean considerEnclosings) Is an instance of targetClass currently being constructed in this scope?booleanPolyTypeBinding.isPotentiallyCompatibleWith(TypeBinding targetType, Scope scope) booleanTypeBinding.isPotentiallyCompatibleWith(TypeBinding right, Scope scope) booleanRawTypeBinding.isProvablyDistinct(TypeBinding otherType) booleanTypeBinding.isProvablyDistinct(TypeBinding otherType) Returns true if a type is provably distinct from another one,protected booleanInferenceSubstitution.isSameParameter(TypeBinding p1, TypeBinding originalType) booleanArrayBinding.isSubtypeOf(TypeBinding otherType, boolean simulatingBugJDK8026527) booleanIntersectionTypeBinding18.isSubtypeOf(TypeBinding other, boolean simulatingBugJDK8026527) booleanRawTypeBinding.isSubtypeOf(TypeBinding right, boolean simulatingBugJDK8026527) booleanReferenceBinding.isSubtypeOf(TypeBinding other, boolean simulatingBugJDK8026527) booleanTypeBinding.isSubtypeOf(TypeBinding right, boolean simulatingBugJDK8026527) booleanTypeVariableBinding.isSubtypeOf(TypeBinding other, boolean simulatingBugJDK8026527) booleanScope.isSubtypeOfRawType(TypeBinding paramType) protected booleanReferenceBinding.isSubTypeOfRTL(TypeBinding other) booleanTypeBinding.isTypeArgumentContainedBy(TypeBinding otherType) Scope.lowerUpperBound(TypeBinding[] types) Returns VoidBinding if types have no intersection (e.g.booleanPolymorphicMethodBinding.matches(TypeBinding[] matchingParameters, TypeBinding matchingReturnType) booleanArrayBinding.mentionsAny(TypeBinding[] parameters, int idx) booleanIntersectionTypeBinding18.mentionsAny(TypeBinding[] parameters, int idx) booleanParameterizedTypeBinding.mentionsAny(TypeBinding[] parameters, int idx) booleanRawTypeBinding.mentionsAny(TypeBinding[] parameters, int idx) booleanTypeBinding.mentionsAny(TypeBinding[] parameters, int idx) Does this type mention any of the given type parameters, except the one at position 'idx'?booleanTypeVariableBinding.mentionsAny(TypeBinding[] parameters, int idx) booleanWildcardBinding.mentionsAny(TypeBinding[] parameters, int idx) protected TypeBinding[]Scope.minimalErasedCandidates(TypeBinding[] types, Map<TypeBinding, Object> allInvocations) Returns the most specific set of types compatible with all given types.protected final MethodBindingScope.mostSpecificMethodBinding(MethodBinding[] visible, int visibleSize, TypeBinding[] argumentTypes, InvocationSite invocationSite, ReferenceBinding receiverType) booleanTypeBinding.needsUncheckedConversion(TypeBinding targetType) Meant to be invoked on compatible types, to figure if unchecked conversion is necessarystatic booleanTypeBinding.notEquals(TypeBinding that, TypeBinding other) intScope.parameterCompatibilityLevel(MethodBinding method, TypeBinding[] arguments) intScope.parameterCompatibilityLevel(MethodBinding method, TypeBinding[] arguments, boolean tiebreakingVarargsMethods) intScope.parameterCompatibilityLevel(MethodBinding method, TypeBinding[] arguments, InvocationSite site) intScope.parameterCompatibilityLevel(TypeBinding arg, TypeBinding param) static ParameterizedTypeBindingInferenceContext18.parameterizedWithWildcard(TypeBinding type) If 'type' is a parameterized type and one of its arguments is a wildcard answer the casted type, else null.voidIQualifiedTypeResolutionListener.recordResolution(QualifiedTypeReference typeReference, TypeBinding resolution) Notifies that the given resolution has been found for the given type reference.voidInferenceContext.recordSubstitute(TypeVariableBinding typeVariable, TypeBinding actualType, int constraint) voidCompilationUnitScope.recordTypeConversion(TypeBinding superType, TypeBinding subType) voidCompilationUnitScope.recordTypeReference(TypeBinding type) booleanInferenceContext18.reduceWithEqualityConstraints(TypeBinding[] p, TypeBinding[] q) from 18.5.3: Otherwise, a set of constraint formulas is formed with, for all i (1 ≤ i ≤ n), ‹Pi = Qi›.static TypeBindingBinaryTypeBinding.resolveType(TypeBinding type, LookupEnvironment environment, boolean convertGenericToRawType) TypeVariableBinding.setFirstBound(TypeBinding firstBound) voidSourceModuleBinding.setImplementations(TypeBinding infBinding, Collection<TypeBinding> resolvedImplementations) voidCatchParameterBinding.setPreciseType(TypeBinding raisedException) voidSourceModuleBinding.setServices(TypeBinding[] services) booleanCaptureBinding18.setUpperBounds(TypeBinding[] upperBounds, ReferenceBinding javaLangObject) voidSourceModuleBinding.setUses(TypeBinding[] uses) booleanPolyTypeBinding.sIsMoreSpecific(TypeBinding s, TypeBinding t, Scope scope) booleanTypeBinding.sIsMoreSpecific(TypeBinding s, TypeBinding t, Scope scope) InferenceContext18.substitute(TypeBinding type) Substitute any type variables mentioned in 'type' by the corresponding inference variable, if one exists.InferenceSubstitution.substitute(Substitution substitution, TypeBinding originalType) Override methodScope.Substitutor.substitute(Substitution, TypeBinding), to add substitution of types other than type variables.static TypeBindingScope.substitute(Substitution substitution, TypeBinding originalType) Returns a type, where original type was substituted using the receiver parameterized type.static TypeBinding[]Scope.substitute(Substitution substitution, TypeBinding[] originalTypes) Returns an array of types, where original types got substituted given a substitution.Scope.Substitutor.substitute(Substitution substitution, TypeBinding originalType) Returns a type, where original type was substituted using the receiver parameterized type.Scope.Substitutor.substitute(Substitution substitution, TypeBinding[] originalTypes) Returns an array of types, where original types got substituted given a substitution.voidLocalTypeBinding.transferConstantPoolNameTo(TypeBinding substType) LookupEnvironment.updatePolymorphicMethodReturnType(PolymorphicMethodBinding binding, TypeBinding typeBinding) ArrayBinding.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, TypeBinding[] mentionedTypeVariables) Perform an upwards type projection as per JLS 4.10.5TypeVariableBinding.upwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) static voidTypeBindingVisitor.visit(TypeBindingVisitor visitor, TypeBinding type) static voidTypeBindingVisitor.visit(TypeBindingVisitor visitor, TypeBinding[] types) Method parameters in org.aspectj.org.eclipse.jdt.internal.compiler.lookup with type arguments of type TypeBindingModifier and TypeMethodDescriptionArrayBinding.collectMissingTypes(List<TypeBinding> missingTypes) MethodBinding.collectMissingTypes(List<TypeBinding> missingTypes, boolean considerReturnType) MissingTypeBinding.collectMissingTypes(List<TypeBinding> missingTypes) ParameterizedTypeBinding.collectMissingTypes(List<TypeBinding> missingTypes) ProblemMethodBinding.collectMissingTypes(List<TypeBinding> missingTypes, boolean considerReturnType) TypeBinding.collectMissingTypes(List<TypeBinding> missingTypes) Iterate through the type components to collect instances of leaf missing typesTypeVariableBinding.collectMissingTypes(List<TypeBinding> missingTypes) WildcardBinding.collectMissingTypes(List<TypeBinding> missingTypes) static TypeBindingScope.convertEliminatingTypeVariables(TypeBinding originalType, ReferenceBinding genericType, int rank, Set<TypeBinding> eliminatedVariables) Returns a type where either all variables or specific ones got discarded.protected voidScope.findMethodInSuperInterfaces(ReferenceBinding receiverType, char[] selector, ObjectVector found, List<TypeBinding> visitedTypes, InvocationSite invocationSite) booleanScope.hasErasedCandidatesCollisions(TypeBinding one, TypeBinding two, Map<TypeBinding, Object> invocations, ReferenceBinding type, ASTNode typeRef) protected TypeBinding[]Scope.minimalErasedCandidates(TypeBinding[] types, Map<TypeBinding, Object> allInvocations) Returns the most specific set of types compatible with all given types.voidSourceModuleBinding.setImplementations(TypeBinding infBinding, Collection<TypeBinding> resolvedImplementations) Constructors in org.aspectj.org.eclipse.jdt.internal.compiler.lookup with parameters of type TypeBindingModifierConstructorDescriptionAptBinaryLocalVariableBinding(char[] name, TypeBinding type, int modifiers, AnnotationBinding[] annotationBindings, MethodBinding methodBinding) ArrayBinding(TypeBinding type, int dimensions, LookupEnvironment environment) CatchParameterBinding(LocalDeclaration declaration, TypeBinding type, int modifiers, boolean isArgument) FieldBinding(char[] name, TypeBinding type, int modifiers, ReferenceBinding declaringClass, Constant constant) FieldBinding(FieldDeclaration field, TypeBinding type, int modifiers, ReferenceBinding declaringClass) LocalVariableBinding(char[] name, TypeBinding type, int modifiers, boolean isArgument) LocalVariableBinding(LocalDeclaration declaration, TypeBinding type, int modifiers, boolean isArgument) LocalVariableBinding(LocalDeclaration declaration, TypeBinding type, int modifiers, MethodScope declaringScope) MethodBinding(int modifiers, char[] selector, TypeBinding returnType, TypeBinding[] parameters, ReferenceBinding[] thrownExceptions, ReferenceBinding declaringClass) MethodBinding(int modifiers, TypeBinding[] parameters, ReferenceBinding[] thrownExceptions, ReferenceBinding declaringClass) ParameterizedGenericMethodBinding(MethodBinding originalMethod, TypeBinding[] typeArguments, LookupEnvironment environment, boolean inferredWithUncheckConversion, boolean hasReturnProblem, TypeBinding targetType) Create method of parameterized type, substituting original parameters with type arguments.ParameterizedTypeBinding(ReferenceBinding type, TypeBinding[] arguments, ReferenceBinding enclosingType, LookupEnvironment environment) PolymorphicMethodBinding(MethodBinding polymorphicMethod, TypeBinding[] parameterTypes) PolymorphicMethodBinding(MethodBinding polymorphicMethod, TypeBinding returnType, TypeBinding[] parameterTypes) ProblemMethodBinding(char[] selector, TypeBinding[] args, int problemReason) ProblemMethodBinding(char[] selector, TypeBinding[] args, ReferenceBinding declaringClass, int problemReason) ProblemMethodBinding(MethodBinding closestMatch, char[] selector, TypeBinding[] args, int problemReason) RecordComponentBinding(char[] name, TypeBinding type, int modifiers, ReferenceBinding declaringClass) RecordComponentBinding(ReferenceBinding declaringRecord, RecordComponent declaration, TypeBinding type, int modifiers) SyntheticFieldBinding(char[] name, TypeBinding type, int modifiers, ReferenceBinding declaringClass, Constant constant, int index) SyntheticMethodBinding(FieldBinding targetField, ReferenceBinding declaringClass, TypeBinding enumBinding, char[] selector, SwitchStatement switchStatement) SyntheticMethodBinding(MethodBinding privateConstructor, MethodBinding publicConstructor, char[] selector, TypeBinding[] enclosingInstances, SourceTypeBinding declaringClass) TypeBinding(TypeBinding prototype) VariableBinding(char[] name, TypeBinding type, int modifiers, Constant constant) WildcardBinding(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind, LookupEnvironment environment) When unbound, the bound denotes the corresponding type variable (so as to retrieve its bound lazily) -
Uses of TypeBinding in org.aspectj.org.eclipse.jdt.internal.compiler.problem
Methods in org.aspectj.org.eclipse.jdt.internal.compiler.problem with parameters of type TypeBindingModifier and TypeMethodDescriptionvoidProblemReporter.allocationInEarlyConstructionContext(Expression expr, TypeBinding allocatedType, TypeBinding uninitializedType) voidProblemReporter.annotationCircularity(TypeBinding sourceType, TypeBinding otherType, TypeReference reference) voidProblemReporter.annotationValueMustBeAnnotation(TypeBinding annotationType, char[] name, Expression value, TypeBinding expectedType) voidProblemReporter.annotationValueMustBeArrayInitializer(TypeBinding annotationType, char[] name, Expression value) voidProblemReporter.annotationValueMustBeClassLiteral(TypeBinding annotationType, char[] name, Expression value) voidProblemReporter.annotationValueMustBeConstant(TypeBinding annotationType, char[] name, Expression value, boolean isEnum) voidProblemReporter.anonymousClassCannotExtendFinalClass(TypeReference reference, TypeBinding type) voidProblemReporter.anonymousClassCannotExtendSealedType(TypeReference reference, TypeBinding type) voidProblemReporter.anonymousDiamondWithNonDenotableTypeArguments(TypeReference type, TypeBinding tb) voidProblemReporter.attemptToReturnNonVoidExpression(ReturnStatement returnStatement, TypeBinding expectedType) voidProblemReporter.autoboxing(Expression expression, TypeBinding originalType, TypeBinding convertedType) voidProblemReporter.boundCannotBeArray(ASTNode location, TypeBinding type) voidProblemReporter.boundMustBeAnInterface(ASTNode location, TypeBinding type) voidProblemReporter.cannotExtendEnum(SourceTypeBinding type, TypeReference superclass, TypeBinding superTypeBinding) voidProblemReporter.cannotInstantiate(Expression typeRef, TypeBinding type) voidProblemReporter.cannotRedefineTypeArgumentNullity(TypeBinding typeVariable, Binding superElement, ASTNode location) voidProblemReporter.cannotThrowType(ASTNode exception, TypeBinding expectedType) voidProblemReporter.caseConstantIncompatible(TypeBinding resolvedType, TypeBinding switchType, Expression expression) voidProblemReporter.caseExpressionWrongType(Expression expression, TypeBinding switchBinding, TypeBinding selectorBinding) voidProblemReporter.classExtendFinalClass(SourceTypeBinding type, TypeReference superclass, TypeBinding superTypeBinding) voidProblemReporter.classExtendFinalRecord(SourceTypeBinding type, TypeReference superclass, TypeBinding superTypeBinding) voidProblemReporter.conditionalArgumentsIncompatibleTypes(ConditionalExpression expression, TypeBinding trueType, TypeBinding falseType) voidProblemReporter.constantOutOfRange(Literal literal, TypeBinding literalType) voidProblemReporter.constructedArrayIncompatible(ReferenceExpression expression, TypeBinding receiverType, TypeBinding returnType) voidProblemReporter.containerAnnotationTypeHasWrongValueType(ASTNode markerNode, ReferenceBinding containerAnnotationType, ReferenceBinding annotationType, TypeBinding returnType) voidProblemReporter.corruptedSignature(TypeBinding enclosingType, char[] signature, int position) voidProblemReporter.danglingReference(ReferenceExpression expression, TypeBinding receiverType, char[] selector, TypeBinding[] descriptorParameters) voidProblemReporter.deprecatedType(TypeBinding type, ASTNode location) voidProblemReporter.deprecatedType(TypeBinding type, ASTNode location, int index) voidProblemReporter.disallowedTargetForContainerAnnotation(Annotation annotation, TypeBinding containerAnnotationType) voidProblemReporter.discouragedValueBasedTypeToSynchronize(Expression expression, TypeBinding type) voidProblemReporter.duplicateAnnotationValue(TypeBinding annotationType, MemberValuePair memberValuePair) voidProblemReporter.duplicateBounds(ASTNode location, TypeBinding type) voidProblemReporter.duplicateTargetInTargetAnnotation(TypeBinding annotationType, NameReference reference) voidProblemReporter.errorNoMethodFor(Expression expression, TypeBinding recType, char[] selector, TypeBinding[] params) voidProblemReporter.errorNoMethodFor(MessageSend messageSend, TypeBinding recType, TypeBinding[] params) voidProblemReporter.forbiddenReference(TypeBinding type, ASTNode location, byte classpathEntryType, String classpathEntryName, int problemId) voidProblemReporter.illegalAnnotationForBaseType(Annotation annotation, TypeBinding type) voidProblemReporter.illegalGenericArray(TypeBinding leafComponentType, ASTNode location) voidProblemReporter.illegalInstanceOfGenericType(TypeBinding checkedType, ASTNode location) voidProblemReporter.illegalParameterRedefinition(Argument argument, ReferenceBinding declaringClass, TypeBinding inheritedParameter) voidProblemReporter.illegalPrimitiveOrArrayTypeForEnclosingInstance(TypeBinding enclosingType, ASTNode location) voidProblemReporter.illegalQualifiedParameterizedTypeAllocation(TypeReference qualifiedTypeReference, TypeBinding allocatedType) voidProblemReporter.illegalQualifierForExplicitThis(Receiver receiver, TypeBinding expectedType) voidProblemReporter.illegalReturnRedefinition(ASTNode location, MethodBinding descriptorMethod, boolean isUnchecked, TypeBinding providedType) voidProblemReporter.illegalSuperAccess(TypeBinding superType, TypeBinding directSuperType, ASTNode location) voidProblemReporter.illegalTypeForExplicitThis(Receiver receiver, TypeBinding expectedType) voidProblemReporter.incompatibleReturnType(ReferenceExpression expression, MethodBinding method, TypeBinding returnType) voidProblemReporter.incorrectArityForParameterizedType(ASTNode location, TypeBinding type, TypeBinding[] argumentTypes) voidProblemReporter.incorrectArityForParameterizedType(ASTNode location, TypeBinding type, TypeBinding[] argumentTypes, int index) voidProblemReporter.incorrectSwitchType(Expression expression, TypeBinding testType) voidProblemReporter.invalidArrayConstructorReference(ReferenceExpression expression, TypeBinding lhsType, TypeBinding[] parameters) voidProblemReporter.invalidEnclosingType(Expression expression, TypeBinding type, ReferenceBinding enclosingType) voidProblemReporter.invalidField(FieldReference fieldRef, TypeBinding searchedType) voidProblemReporter.invalidField(QualifiedNameReference nameRef, FieldBinding field, int index, TypeBinding searchedType) voidProblemReporter.invalidOperator(BinaryExpression expression, TypeBinding leftType, TypeBinding rightType) voidProblemReporter.invalidOperator(CompoundAssignment assign, TypeBinding leftType, TypeBinding rightType) voidProblemReporter.invalidOperator(UnaryExpression expression, TypeBinding type) voidProblemReporter.invalidParameterizedExceptionType(TypeBinding exceptionType, ASTNode location) voidProblemReporter.invalidType(ASTNode location, TypeBinding type) voidProblemReporter.invalidTypeToSynchronize(Expression expression, TypeBinding type) voidProblemReporter.invalidTypeVariableAsException(TypeBinding exceptionType, ASTNode location) voidProblemReporter.javadocDeprecatedType(TypeBinding type, ASTNode location, int modifiers) voidProblemReporter.javadocDeprecatedType(TypeBinding type, ASTNode location, int modifiers, int index) voidProblemReporter.javadocErrorNoMethodFor(MessageSend messageSend, TypeBinding recType, TypeBinding[] params, int modifiers) voidProblemReporter.javadocInvalidField(FieldReference fieldRef, Binding fieldBinding, TypeBinding searchedType, int modifiers) voidProblemReporter.javadocInvalidType(ASTNode location, TypeBinding type, int modifiers) voidProblemReporter.lambdaParameterTypeMismatched(Argument argument, TypeReference type, TypeBinding expectedParameterType) voidProblemReporter.localTypeMayNotBePermittedType(SourceTypeBinding type, TypeReference superclass, TypeBinding superTypeBinding) voidProblemReporter.missingDefaultCase(SwitchStatement switchStatement, boolean isEnumSwitch, TypeBinding expressionType) voidProblemReporter.missingValueFromLambda(LambdaExpression lambda, TypeBinding returnType) voidProblemReporter.nonGenericTypeCannotBeParameterized(int index, ASTNode location, TypeBinding type, TypeBinding[] argumentTypes) voidProblemReporter.nonNullArrayContentNotInitialized(Expression dimension, LookupEnvironment lookupEnvironment, TypeBinding elementType) voidProblemReporter.nonPublicTypeInAPI(TypeBinding type, int sourceStart, int sourceEnd) voidProblemReporter.noSuchEnclosingInstance(TypeBinding targetType, ASTNode location, boolean isConstructorCall) voidProblemReporter.notAnnotationType(TypeBinding actualType, ASTNode location) voidProblemReporter.notCompatibleTypesError(ASTNode location, TypeBinding leftType, TypeBinding rightType) voidProblemReporter.notCompatibleTypesErrorInForeach(Expression expression, TypeBinding leftType, TypeBinding rightType) voidProblemReporter.notExportedTypeInAPI(TypeBinding type, int sourceStart, int sourceEnd) voidProblemReporter.nullityMismatch(Expression expression, TypeBinding providedType, TypeBinding requiredType, int nullStatus, char[][] annotationName) voidProblemReporter.nullityMismatchingTypeAnnotation(Expression expression, TypeBinding providedType, TypeBinding requiredType, NullAnnotationMatching status) voidProblemReporter.nullityMismatchIsNull(Expression expression, TypeBinding requiredType) voidProblemReporter.nullityMismatchIsUnknown(Expression expression, TypeBinding providedType, TypeBinding requiredType, char[][] annotationName) voidProblemReporter.nullityMismatchPotentiallyNull(Expression expression, TypeBinding requiredType, char[][] annotationName) voidProblemReporter.nullityMismatchSpecdNullable(Expression expression, TypeBinding requiredType, char[][] annotationName) voidProblemReporter.nullityMismatchTypeArgument(TypeBinding typeVariable, TypeBinding typeArgument, ASTNode location) voidProblemReporter.nullUnboxing(ASTNode expression, TypeBinding boxType) voidProblemReporter.operatorOnlyValidOnNumericType(CompoundAssignment assignment, TypeBinding leftType, TypeBinding rightType) voidProblemReporter.parameterizedMemberTypeMissingArguments(ASTNode location, TypeBinding type, int index) voidProblemReporter.permittedTypeNeedsModifier(SourceTypeBinding type, TypeDeclaration typeDecl, TypeBinding superTypeBinding) voidProblemReporter.potentialNullUnboxing(ASTNode expression, TypeBinding boxType) voidProblemReporter.rawMemberTypeCannotBeParameterized(ASTNode location, ReferenceBinding type, TypeBinding[] argumentTypes) voidProblemReporter.rawTypeReference(ASTNode location, TypeBinding type) voidProblemReporter.recordCannotExtendRecord(SourceTypeBinding type, TypeReference superclass, TypeBinding superTypeBinding) voidProblemReporter.recordIllegalAccessorReturnType(ASTNode returnType, TypeBinding type) voidProblemReporter.recordPatternSignatureMismatch(TypeBinding type, ASTNode element) voidProblemReporter.redundantSpecificationOfTypeArguments(ASTNode location, TypeBinding[] argumentTypes) voidProblemReporter.referenceExpressionArgumentNullityMismatch(ReferenceExpression location, TypeBinding requiredType, TypeBinding providedType, MethodBinding descriptorMethod, int idx, NullAnnotationMatching status) voidProblemReporter.referenceMustBeArrayTypeAt(TypeBinding arrayType, ArrayReference arrayRef) voidProblemReporter.resourceHasToImplementAutoCloseable(TypeBinding binding, ASTNode reference) voidProblemReporter.sealedSupertypeDoesNotPermit(SourceTypeBinding type, TypeReference superType, TypeBinding superTypeBinding) voidProblemReporter.shouldReturn(TypeBinding returnType, ASTNode location) voidProblemReporter.superinterfacesCollide(TypeBinding type, ASTNode decl, TypeBinding superType, TypeBinding inheritedSuperType) voidProblemReporter.superTypeCannotUseWildcard(SourceTypeBinding type, TypeReference superclass, TypeBinding superTypeBinding) voidProblemReporter.typeCastError(CastExpression expression, TypeBinding leftType, TypeBinding rightType) voidProblemReporter.typeHiding(TypeDeclaration typeDecl, TypeBinding hiddenType) voidProblemReporter.typeMismatchError(TypeBinding actualType, TypeBinding expectedType, ASTNode location, ASTNode expectingLocation) voidProblemReporter.typeMismatchError(TypeBinding typeArgument, TypeVariableBinding typeParameter, ReferenceBinding genericType, ASTNode location) voidProblemReporter.undefinedAnnotationValue(TypeBinding annotationType, MemberValuePair memberValuePair) voidProblemReporter.unexpectedTypeinSwitchPattern(TypeBinding type, ASTNode element) voidProblemReporter.unhandledException(TypeBinding exceptionType, ASTNode location) voidProblemReporter.unhandledException(TypeBinding exceptionType, ReferenceExpression location) voidProblemReporter.unhandledExceptionFromAutoClose(TypeBinding exceptionType, ASTNode location) voidProblemReporter.uninternedIdentityComparison(EqualExpression expr, TypeBinding lhs, TypeBinding rhs, CompilationUnitDeclaration unit) voidProblemReporter.unlikelyArgumentType(Expression argument, MethodBinding method, TypeBinding argumentType, TypeBinding receiverType, TypeConstants.DangerousMethod dangerousMethod) voidProblemReporter.unnecessaryInstanceof(InstanceOfExpression instanceofExpression, TypeBinding checkType) voidProblemReporter.unnecessaryTypeArgumentsForMethodInvocation(MethodBinding method, TypeBinding[] genericTypeArguments, TypeReference[] typeArguments) voidProblemReporter.unsafeCastInTestingContext(ASTNode location, TypeBinding castType, TypeBinding expressionType) voidProblemReporter.unsafeElementTypeConversion(Expression expression, TypeBinding expressionType, TypeBinding expectedType) voidProblemReporter.unsafeGenericArrayForVarargs(TypeBinding leafComponentType, ASTNode location) voidProblemReporter.unsafeRawFieldAssignment(FieldBinding field, TypeBinding expressionType, ASTNode location) voidProblemReporter.unsafeRawGenericMethodInvocation(ASTNode location, MethodBinding rawMethod, TypeBinding[] argumentTypes) voidProblemReporter.unsafeTypeConversion(Expression expression, TypeBinding expressionType, TypeBinding expectedType) voidProblemReporter.varargsArgumentNeedCast(MethodBinding method, TypeBinding argumentType, InvocationSite location) voidProblemReporter.wildcardAssignment(TypeBinding variableType, TypeBinding expressionType, ASTNode location) voidProblemReporter.wildcardInvocation(ASTNode location, TypeBinding receiverType, MethodBinding method, TypeBinding[] arguments) voidProblemReporter.wrongSequenceOfExceptionTypes(TypeReference typeRef, TypeBinding exceptionType, TypeBinding hidingExceptionType) voidProblemReporter.wrongSequenceOfExceptionTypesError(TypeReference typeRef, TypeBinding exceptionType, TypeBinding hidingExceptionType) -
Uses of TypeBinding in org.aspectj.org.eclipse.jdt.internal.compiler.util
Methods in org.aspectj.org.eclipse.jdt.internal.compiler.util with parameters of type TypeBindingModifier and TypeMethodDescriptionstatic voidUtil.recordNestedType(ClassFile classFile, TypeBinding typeBinding) -
Uses of TypeBinding in org.aspectj.org.eclipse.jdt.internal.core
Methods in org.aspectj.org.eclipse.jdt.internal.core that return TypeBindingModifier and TypeMethodDescriptionLambdaExpression.findLambdaSuperType(LambdaExpression lambdaExpression) Methods in org.aspectj.org.eclipse.jdt.internal.core with parameters of type TypeBindingModifier and TypeMethodDescriptionvoidSelectionRequestor.acceptLocalType(TypeBinding typeBinding) -
Uses of TypeBinding in org.aspectj.org.eclipse.jdt.internal.core.hierarchy
Methods in org.aspectj.org.eclipse.jdt.internal.core.hierarchy with parameters of type TypeBindingModifier and TypeMethodDescriptionBindingMap.get(TypeBinding key) voidBindingMap.put(TypeBinding key, V value) -
Uses of TypeBinding in org.aspectj.org.eclipse.jdt.internal.core.search.matching
Methods in org.aspectj.org.eclipse.jdt.internal.core.search.matching that return TypeBindingModifier and TypeMethodDescriptionprotected TypeBindingMatchLocator.getType(char[] typeKey, char[] typeName) protected TypeBindingPatternLocator.getTypeNameBinding(int index) Methods in org.aspectj.org.eclipse.jdt.internal.core.search.matching with parameters of type TypeBindingModifier and TypeMethodDescriptionprotected char[]PatternLocator.getQualifiedSourceName(TypeBinding binding) static char[]PatternLocator.qualifiedSourceName(TypeBinding binding) voidAndLocator.recordResolution(QualifiedTypeReference typeReference, TypeBinding resolution) voidOrLocator.recordResolution(QualifiedTypeReference typeReference, TypeBinding resolution) voidPatternLocator.recordResolution(QualifiedTypeReference typeReference, TypeBinding resolution) voidTypeReferenceLocator.recordResolution(QualifiedTypeReference typeReference, TypeBinding resolution) protected intMethodLocator.resolveLevelAsSubtype(char[] simplePattern, char[] qualifiedPattern, ReferenceBinding type, char[] methodName, TypeBinding[] argumentTypes, char[] packageName, boolean isDefault) Returns whether the given reference type binding matches or is a subtype of a type that matches the given qualified pattern.protected intFieldLocator.resolveLevelForType(TypeBinding typeBinding) protected intPatternLocator.resolveLevelForType(char[] simpleNamePattern, char[] qualificationPattern, char[][][] patternTypeArguments, int depth, TypeBinding type) protected intPatternLocator.resolveLevelForType(char[] simpleNamePattern, char[] qualificationPattern, TypeBinding binding) Returns whether the given type binding matches the given simple name pattern and qualification pattern.protected intPatternLocator.resolveLevelForType(char[] qualifiedPattern, TypeBinding type) Returns whether the given type binding matches the given qualified pattern.protected intTypeDeclarationLocator.resolveLevelForType(char[] simpleNamePattern, char[] qualificationPattern, char[] enclosingNamePattern, TypeBinding type) Returns whether the given type binding matches the given simple name pattern qualification pattern and enclosing type name pattern.protected intTypeReferenceLocator.resolveLevelForType(TypeBinding typeBinding) protected intTypeReferenceLocator.resolveLevelForTypeOrEnclosingTypes(char[] simpleNamePattern, char[] qualificationPattern, TypeBinding binding) Returns whether the given type binding or one of its enclosing types matches the given simple name pattern and qualification pattern.protected voidPatternLocator.updateMatch(TypeBinding[] argumentsBinding, MatchLocator locator, char[][] patternArguments, boolean hasTypeParameters) -
Uses of TypeBinding in org.aspectj.org.eclipse.jdt.internal.core.util
Methods in org.aspectj.org.eclipse.jdt.internal.core.util with parameters of type TypeBindingModifier and TypeMethodDescriptionstatic JavaElementUtil.getUnresolvedJavaElement(TypeBinding typeBinding, WorkingCopyOwner workingCopyOwner, Util.BindingsToNodesMap bindingsToNodes) Return the java element corresponding to the given compiler binding. -
Uses of TypeBinding in org.aspectj.org.eclipse.jdt.internal.eval
Methods in org.aspectj.org.eclipse.jdt.internal.eval that return TypeBindingModifier and TypeMethodDescriptionCodeSnippetQualifiedNameReference.checkFieldAccess(BlockScope scope) Check and/or redirect the field access to the delegate receiver if anyCodeSnippetSingleNameReference.checkFieldAccess(BlockScope scope) Check and/or redirect the field access to the delegate receiver if anyCodeSnippetReturnStatement.genericTypeArguments()CodeSnippetSuperReference.genericTypeArguments()CodeSnippetThisReference.genericTypeArguments()CodeSnippetQualifiedNameReference.getOtherFieldBindings(BlockScope scope) CodeSnippetSingleNameReference.getReceiverType(BlockScope currentScope) Check and/or redirect the field access to the delegate receiver if anyCodeSnippetQualifiedNameReference.reportError(BlockScope scope) Normal field binding did not work, try to bind to a field of the delegate receiver.CodeSnippetSingleNameReference.reportError(BlockScope scope) Normal field binding did not work, try to bind to a field of the delegate receiver.CodeSnippetAllocationExpression.resolveType(BlockScope scope) CodeSnippetFieldReference.resolveType(BlockScope scope) CodeSnippetMessageSend.resolveType(BlockScope scope) CodeSnippetSuperReference.resolveType(BlockScope scope) CodeSnippetThisReference.resolveType(BlockScope scope) Methods in org.aspectj.org.eclipse.jdt.internal.eval with parameters of type TypeBindingModifier and TypeMethodDescriptionfinal booleanCodeSnippetScope.canBeSeenByForCodeSnippet(FieldBinding fieldBinding, TypeBinding receiverType, InvocationSite invocationSite, Scope scope) final booleanCodeSnippetScope.canBeSeenByForCodeSnippet(MethodBinding methodBinding, TypeBinding receiverType, InvocationSite invocationSite, Scope scope) CodeSnippetScope.findExactMethod(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite) CodeSnippetScope.findFieldForCodeSnippet(TypeBinding receiverType, char[] fieldName, InvocationSite invocationSite) CodeSnippetScope.findMethod(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite, boolean inStaticContext) CodeSnippetScope.findMethodForArray(ArrayBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite) CodeSnippetScope.getConstructor(ReferenceBinding receiverType, TypeBinding[] argumentTypes, InvocationSite invocationSite) CodeSnippetScope.getFieldForCodeSnippet(TypeBinding receiverType, char[] fieldName, InvocationSite invocationSite) CodeSnippetScope.getImplicitMethod(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite)