Verwendungen von Klasse
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
Packages, die TypeBinding verwenden
Package
Beschreibung
-
Verwendungen von TypeBinding in org.aspectj.ajdt.internal.compiler.ast
Methoden in org.aspectj.ajdt.internal.compiler.ast, die TypeBinding zurückgebenModifizierer und TypMethodeBeschreibungInterTypeFieldDeclaration.getRealFieldType()static TypeBinding[]AstUtil.insert(TypeBinding first, TypeBinding[] rest) InterSuperReference.resolveType(BlockScope scope) KnownFieldReference.resolveType(BlockScope scope) Proceed.resolveType(BlockScope scope) Methoden in org.aspectj.ajdt.internal.compiler.ast mit Parametern vom Typ TypeBindingModifizierer und TypMethodeBeschreibungstatic voidAstUtil.generateParameterLoads(TypeBinding[] parameters, 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) Konstruktoren in org.aspectj.ajdt.internal.compiler.ast mit Parametern vom Typ TypeBindingModifiziererKonstruktorBeschreibungInterSuperReference(SuperReference template, TypeBinding myType) -
Verwendungen von TypeBinding in org.aspectj.ajdt.internal.compiler.lookup
Unterklassen von TypeBinding in org.aspectj.ajdt.internal.compiler.lookupMethoden in org.aspectj.ajdt.internal.compiler.lookup, die TypeBinding zurückgebenModifizierer und TypMethodeBeschreibungEclipseFactory.makeTypeBinding(UnresolvedType typeX) EclipseFactory.makeTypeBindings(UnresolvedType[] types) Methoden in org.aspectj.ajdt.internal.compiler.lookup mit Parametern vom Typ TypeBindingModifizierer und TypMethodeBeschreibungvoidEclipseFactory.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. -
Verwendungen von TypeBinding in org.aspectj.ajdt.internal.compiler.problem
Methoden in org.aspectj.ajdt.internal.compiler.problem mit Parametern vom Typ TypeBindingModifizierer und TypMethodeBeschreibungvoidAjProblemReporter.unhandledException(TypeBinding exceptionType, ASTNode location) voidAjProblemReporter.unhandledExceptionFromAutoClose(TypeBinding exceptionType, ASTNode location) -
Verwendungen von TypeBinding in org.aspectj.org.eclipse.jdt.internal.codeassist
Methoden in org.aspectj.org.eclipse.jdt.internal.codeassist mit Parametern vom Typ TypeBindingModifizierer und TypMethodeBeschreibungvoidMissingTypesGuesser.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) -
Verwendungen von TypeBinding in org.aspectj.org.eclipse.jdt.internal.codeassist.complete
Methoden in org.aspectj.org.eclipse.jdt.internal.codeassist.complete, die TypeBinding zurückgebenModifizierer und TypMethodeBeschreibungCompletionOnArgumentName.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) Methoden in org.aspectj.org.eclipse.jdt.internal.codeassist.complete mit Parametern vom Typ TypeBindingModifizierer und TypMethodeBeschreibungCompletionOnArgumentName.bind(MethodScope scope, TypeBinding typeBinding, boolean used) -
Verwendungen von TypeBinding in org.aspectj.org.eclipse.jdt.internal.codeassist.impl
Methoden in org.aspectj.org.eclipse.jdt.internal.codeassist.impl mit Parametern vom Typ TypeBindingModifizierer und TypMethodeBeschreibungstatic char[]Engine.getSignature(TypeBinding typeBinding) static char[]Engine.getTypeSignature(TypeBinding typeBinding) -
Verwendungen von TypeBinding in org.aspectj.org.eclipse.jdt.internal.codeassist.select
Methoden in org.aspectj.org.eclipse.jdt.internal.codeassist.select, die TypeBinding zurückgebenModifizierer und TypMethodeBeschreibungSelectionOnArgumentName.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) Methoden in org.aspectj.org.eclipse.jdt.internal.codeassist.select mit Parametern vom Typ TypeBindingModifizierer und TypMethodeBeschreibungSelectionOnArgumentName.bind(MethodScope scope, TypeBinding typeBinding, boolean used) voidSelectionOnNameOfMemberValuePair.resolveTypeExpecting(BlockScope scope, TypeBinding requiredType) -
Verwendungen von TypeBinding in org.aspectj.org.eclipse.jdt.internal.compiler
Felder in org.aspectj.org.eclipse.jdt.internal.compiler mit Typparametern vom Typ TypeBindingModifizierer und TypFeldBeschreibungClassFile.innerClassesBindingsClassFile.missingTypesClassFile.visitedTypesMethoden in org.aspectj.org.eclipse.jdt.internal.compiler mit Parametern vom Typ TypeBindingModifizierer und TypMethodeBeschreibungvoidClassFile.recordInnerClasses(TypeBinding binding) voidClassFile.recordInnerClasses(TypeBinding binding, boolean onBottomForBug445231) -
Verwendungen von TypeBinding in org.aspectj.org.eclipse.jdt.internal.compiler.apt.model
Konstruktoren in org.aspectj.org.eclipse.jdt.internal.compiler.apt.model mit Parametern vom Typ TypeBindingModifiziererKonstruktorBeschreibungAnnotationValueImpl(BaseProcessingEnvImpl env, Object value, TypeBinding type) -
Verwendungen von TypeBinding in org.aspectj.org.eclipse.jdt.internal.compiler.ast
Felder in org.aspectj.org.eclipse.jdt.internal.compiler.ast, die deklariert sind als TypeBindingModifizierer und TypFeldBeschreibungFieldReference.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.otherGenericCastsReferenceExpression.receiverTypeExpression.resolvedTypeReferenceExpression.resolvedTypeArgumentsfinal TypeBindingNullAnnotationMatching.superTypeHintIf non-null this field holds the supertype of the provided type which was used for direct matching.CaseStatement.ResolvedCase.tClassLiteralAccess.targetTypeprotected TypeBindingAllocationExpression.typeExpectedfinal TypeBindingUnlikelyArgumentCheck.typeToCheckfinal TypeBindingUnlikelyArgumentCheck.typeToReportMessageSend.valueCastFelder in org.aspectj.org.eclipse.jdt.internal.compiler.ast mit Typparametern vom Typ TypeBindingModifizierer und TypFeldBeschreibungSwitchStatement.caseLabelElementTypesAllocationExpression.solutionsPerTargetTypeMethoden in org.aspectj.org.eclipse.jdt.internal.compiler.ast, die TypeBinding zurückgebenModifizierer und TypMethodeBeschreibungLambdaExpression.argumentTypes()Argument.bind(MethodScope scope, TypeBinding typeBinding, boolean used) SingleNameReference.checkFieldAccess(BlockScope scope) Argument.createBinding(MethodScope scope, TypeBinding typeBinding) LambdaExpression.expectedResultType()FunctionalExpression.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. the return type of the previous binding)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) 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.GuardedPattern.resolveAtType(BlockScope scope, TypeBinding u) Pattern.resolveAtType(BlockScope scope, TypeBinding type) RecordPattern.resolveAtType(BlockScope scope, TypeBinding u) TypePattern.resolveAtType(BlockScope scope, TypeBinding u) Expression.resolveExpressionType(BlockScope scope) Statement.resolveExpressionType(BlockScope scope) Returns the resolved expression if any associated to this statement - used parameter statement has to be either a SwitchStatement or a SwitchExpressionYieldStatement.resolveExpressionType(BlockScope scope1) 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) 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) Pattern.resolveType(BlockScope scope) Pattern.resolveType(BlockScope scope, boolean isPatternVariable) QualifiedAllocationExpression.resolveType(BlockScope scope) QualifiedNameReference.resolveType(BlockScope scope) QualifiedSuperReference.resolveType(BlockScope scope) QualifiedThisReference.resolveType(BlockScope scope) RecordPattern.resolveType(BlockScope scope, boolean isPatternVariable) ReferenceExpression.resolveType(BlockScope scope) SingleNameReference.resolveType(BlockScope scope) SuperReference.resolveType(BlockScope scope) SwitchExpression.resolveType(BlockScope upperScope) ThisReference.resolveType(BlockScope scope) TypePattern.resolveType(BlockScope scope, boolean isPatternVariable) 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) SwitchExpression.resolveTypeInternal(BlockScope upperScope) static TypeBindingNullAnnotationMatching.strongerType(TypeBinding type1, TypeBinding type2, LookupEnvironment environment) static TypeBinding[]NullAnnotationMatching.weakerTypes(TypeBinding[] parameters1, TypeBinding[] parameters2, LookupEnvironment environment) Methoden in org.aspectj.org.eclipse.jdt.internal.compiler.ast, die Typen mit Argumenten vom Typ TypeBinding zurückgebenModifizierer und TypMethodeBeschreibungProvidesStatement.getResolvedImplementations()LambdaExpression.getThrownExceptions()Methoden in org.aspectj.org.eclipse.jdt.internal.compiler.ast mit Parametern vom Typ TypeBindingModifizierer und TypMethodeBeschreibungstatic 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?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) 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) booleanRecordPattern.checkUnsafeCast(Scope scope, TypeBinding castType, TypeBinding expressionType, TypeBinding match, boolean isNarrowing) booleanTypePattern.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) protected booleanSwitchExpression.computeConversions(BlockScope blockScope, TypeBinding targetType) Argument.createBinding(MethodScope scope, TypeBinding typeBinding) ReferenceExpression.createPseudoExpressions(TypeBinding[] p) 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'.static TypeBindingForeachStatement.getCollectionElementType(BlockScope scope, TypeBinding collectionType) 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.booleanStatement.isBoxingCompatible(TypeBinding expressionType, TypeBinding targetType, Expression expression, Scope scope) booleanAllocationExpression.isBoxingCompatibleWith(TypeBinding targetType, Scope scope) booleanConditionalExpression.isBoxingCompatibleWith(TypeBinding targetType, Scope scope) booleanExpression.isBoxingCompatibleWith(TypeBinding left, Scope scope) booleanFunctionalExpression.isBoxingCompatibleWith(TypeBinding targetType, Scope scope) booleanIPolyExpression.isBoxingCompatibleWith(TypeBinding targetType, Scope scope) booleanMessageSend.isBoxingCompatibleWith(TypeBinding targetType, Scope scope) booleanSwitchExpression.isBoxingCompatibleWith(TypeBinding targetType, Scope skope) booleanAllocationExpression.isCompatibleWith(TypeBinding targetType, Scope scope) booleanConditionalExpression.isCompatibleWith(TypeBinding left, Scope scope) booleanExpression.isCompatibleWith(TypeBinding left, Scope scope) booleanIPolyExpression.isCompatibleWith(TypeBinding targetType, Scope scope) booleanLambdaExpression.isCompatibleWith(TypeBinding targetType, Scope skope) booleanMessageSend.isCompatibleWith(TypeBinding targetType, Scope scope) booleanReferenceExpression.isCompatibleWith(TypeBinding targetType, Scope scope) booleanSwitchExpression.isCompatibleWith(TypeBinding left, Scope skope) booleanExpression.isConstantValueOfTypeAssignableToType(TypeBinding constantType, TypeBinding targetType) protected booleanGuardedPattern.isPatternTypeCompatible(TypeBinding other, BlockScope scope) protected abstract booleanPattern.isPatternTypeCompatible(TypeBinding other, BlockScope scope) protected booleanTypePattern.isPatternTypeCompatible(TypeBinding other, BlockScope scope) 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) booleanGuardedPattern.isTotalForType(TypeBinding type) booleanPattern.isTotalForType(TypeBinding type) booleanRecordPattern.isTotalForType(TypeBinding t) booleanTypePattern.isTotalForType(TypeBinding type) final booleanASTNode.isTypeUseDeprecated(TypeBinding type, Scope 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.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.GuardedPattern.resolveAtType(BlockScope scope, TypeBinding u) Pattern.resolveAtType(BlockScope scope, TypeBinding type) RecordPattern.resolveAtType(BlockScope scope, TypeBinding u) TypePattern.resolveAtType(BlockScope scope, TypeBinding u) CaseStatement.resolveCase(BlockScope scope, TypeBinding switchExpressionType, SwitchStatement switchStatement) Returns the constant intValue or ordinal for enum constants.CaseStatement.resolveConstantExpression(BlockScope scope, TypeBinding caseType, TypeBinding switchType, SwitchStatement switchStatement, Expression expression) 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) CaseStatement.resolveWithPatternVariablesInScope(LocalVariableBinding[] patternVariablesInScope, BlockScope scope, TypeBinding switchExpressionType, SwitchStatement switchStatement) 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) 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 voidTryStatement.verifyDuplicationAndOrder(int length, TypeBinding[] argumentTypes, boolean containsUnionTypes) static TypeBinding[]NullAnnotationMatching.weakerTypes(TypeBinding[] parameters1, TypeBinding[] parameters2, LookupEnvironment environment) -
Verwendungen von TypeBinding in org.aspectj.org.eclipse.jdt.internal.compiler.codegen
Felder in org.aspectj.org.eclipse.jdt.internal.compiler.codegen, die deklariert sind als TypeBindingFelder in org.aspectj.org.eclipse.jdt.internal.compiler.codegen mit Typparametern vom Typ TypeBindingMethoden in org.aspectj.org.eclipse.jdt.internal.compiler.codegen, die TypeBinding zurückgebenModifizierer und TypMethodeBeschreibungStackMapFrameCodeStream.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 typeMethoden in org.aspectj.org.eclipse.jdt.internal.compiler.codegen mit Parametern vom Typ TypeBindingModifizierer und TypMethodeBeschreibungvoidStackMapFrameCodeStream.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.fieldAccess(byte opcode, FieldBinding fieldBinding, TypeBinding declaringClass) voidCodeStream.generateClassLiteralAccessForType(Scope scope, TypeBinding accessedType, FieldBinding syntheticFieldBinding) Macro for building a class descriptor objectvoidStackMapFrameCodeStream.generateClassLiteralAccessForType(Scope scope, TypeBinding accessedType, FieldBinding syntheticFieldBinding) Macro for building a class descriptor objectstatic 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) We didn't call it instanceof because there is a conflict with the instanceof keywordvoidCodeStream.instance_of(TypeBinding typeBinding) We didn't call it instanceof because there is a conflict with the instanceof keywordvoidTypeAnnotationCodeStream.instance_of(TypeReference typeReference, TypeBinding typeBinding) protected voidCodeStream.invoke(byte opcode, int receiverAndArgsSize, int returnTypeSize, char[] declaringClass, char[] selector, char[] signature, int typeId, TypeBinding type) 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, int typeId, TypeBinding type) voidCodeStream.invokeDynamic(int bootStrapIndex, int argsSize, int returnTypeSize, char[] selector, char[] signature, int typeId, TypeBinding type) voidTypeAnnotationCodeStream.invokeDynamic(int bootStrapIndex, int argsSize, int returnTypeSize, char[] selector, char[] signature, boolean isConstructorReference, TypeReference lhsTypeReference, TypeReference[] typeArguments, int typeId, 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) voidCodeStream.pushExceptionOnStack(TypeBinding binding) voidStackMapFrameCodeStream.pushExceptionOnStack(TypeBinding binding) voidCodeStream.pushOnStack(TypeBinding binding) voidCodeStream.recordExpressionType(TypeBinding typeBinding) voidCodeStream.recordExpressionType(TypeBinding typeBinding, int delta, boolean adjustStackDepth) voidStackMapFrameCodeStream.recordExpressionType(TypeBinding typeBinding, int delta, boolean adjustStackDepth) voidVerificationTypeInfo.setBinding(TypeBinding binding) Konstruktoren in org.aspectj.org.eclipse.jdt.internal.compiler.codegen mit Parametern vom Typ TypeBindingModifiziererKonstruktorBeschreibungExceptionLabel(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) -
Verwendungen von TypeBinding in org.aspectj.org.eclipse.jdt.internal.compiler.flow
Felder in org.aspectj.org.eclipse.jdt.internal.compiler.flow, die deklariert sind als TypeBindingModifizierer und TypFeldBeschreibungTypeBinding[][]FlowContext.providedExpectedTypesInitializationFlowContext.thrownExceptionsMethoden in org.aspectj.org.eclipse.jdt.internal.compiler.flow mit Parametern vom Typ TypeBindingModifizierer und TypMethodeBeschreibungvoidFlowContext.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) -
Verwendungen von TypeBinding in org.aspectj.org.eclipse.jdt.internal.compiler.lookup
Unterklassen von TypeBinding in org.aspectj.org.eclipse.jdt.internal.compiler.lookupModifizierer und TypKlasseBeschreibungfinal 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. a generic type referenced without any type arguments.classclassclassBinding for a type parameter, held by source/binary type or method.classclassclassFelder in org.aspectj.org.eclipse.jdt.internal.compiler.lookup, die deklariert sind als TypeBindingModifizierer und TypFeldBeschreibungParameterizedTypeBinding.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.lowerBoundstatic final TypeBinding[]Binding.NO_PARAMETERSstatic final TypeBinding[]Binding.NO_TYPESWildcardBinding.otherBoundsMethodBinding.parametersMethodBinding.receiverMethodBinding.returnTypeprotected TypeBindingReductionResult.rightprotected TypeBinding[]ModuleBinding.servicesSyntheticMethodBinding.targetEnumTypeParameterizedGenericMethodBinding.targetTypeVariableBinding.typeParameterizedGenericMethodBinding.typeArgumentsprotected TypeBinding[]ModuleBinding.usesFelder in org.aspectj.org.eclipse.jdt.internal.compiler.lookup mit Typparametern vom Typ TypeBindingMethoden in org.aspectj.org.eclipse.jdt.internal.compiler.lookup, die TypeBinding zurückgebenModifizierer und TypMethodeBeschreibungWildcardBinding.allBounds()TypeVariableBinding.allUpperBounds()Scope.boxing(TypeBinding type) 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 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) TypeBinding.downwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) Perform a downwards type projection as per JLS 4.10.5ArrayBinding.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) BinaryModuleBinding.getImplementations(TypeBinding binding) ModuleBinding.getImplementations(TypeBinding binding) SourceModuleBinding.getImplementations(TypeBinding binding) final TypeBindingTypeSystem.getIntersectionType18(ReferenceBinding[] intersectingTypes) ParameterizedTypeBinding.getNonWildcardParameterization(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. 2 unrelated interfaces), or null if no common supertype (e.g.protected TypeBinding[]Scope.minimalErasedCandidates(TypeBinding[] types, Map 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()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()TypeBinding.upwardsProjection(Scope scope, TypeBinding[] mentionedTypeVariables) Perform an upwards type projection as per JLS 4.10.5static 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()Methoden in org.aspectj.org.eclipse.jdt.internal.compiler.lookup, die Typen mit Argumenten vom Typ TypeBinding zurückgebenModifizierer und TypMethodeBeschreibungArrayBinding.collectMissingTypes(List<TypeBinding> missingTypes) MethodBinding.collectMissingTypes(List<TypeBinding> missingTypes) MissingTypeBinding.collectMissingTypes(List<TypeBinding> missingTypes) ParameterizedTypeBinding.collectMissingTypes(List<TypeBinding> missingTypes) TypeBinding.collectMissingTypes(List<TypeBinding> missingTypes) Iterate through the type components to collect instances of leaf missing typesWildcardBinding.collectMissingTypes(List<TypeBinding> missingTypes) Methoden in org.aspectj.org.eclipse.jdt.internal.compiler.lookup mit Parametern vom Typ TypeBindingModifizierer und TypMethodeBeschreibungSourceTypeBinding.addSyntheticFactoryMethod(MethodBinding privateConstructor, MethodBinding publicConstructor, TypeBinding[] enclosingInstances, char[] selector) SourceTypeBinding.addSyntheticFieldForClassLiteral(TypeBinding targetType, BlockScope blockScope) 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[] typeVariables) Add new inference variables for the given type variables.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 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?"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 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.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... only the first 2 field accesses are errors } }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 foundvoidTypeSystem.forceRegisterAsDerived(TypeBinding derived) Forcefully register the given type as a derived type.voidInferenceContext18.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) 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.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.hasErasedCandidatesCollisions(TypeBinding one, TypeBinding two, Map 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 Inferencestatic ParameterizedMethodBindingParameterizedMethodBinding.instantiateGetClass(TypeBinding receiverType, MethodBinding originalMethod, Scope scope) The type of x.getClass() is substituted from 'ClassUngültige Eingabe: "<"?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 typebooleanPolyTypeBinding.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. 2 unrelated interfaces), or null if no common supertype (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 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) 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) Methodenparameter in org.aspectj.org.eclipse.jdt.internal.compiler.lookup mit Typargumenten vom Typ TypeBindingModifizierer und TypMethodeBeschreibungArrayBinding.collectMissingTypes(List<TypeBinding> missingTypes) MethodBinding.collectMissingTypes(List<TypeBinding> missingTypes) MissingTypeBinding.collectMissingTypes(List<TypeBinding> missingTypes) ParameterizedTypeBinding.collectMissingTypes(List<TypeBinding> missingTypes) TypeBinding.collectMissingTypes(List<TypeBinding> missingTypes) Iterate through the type components to collect instances of leaf missing typesWildcardBinding.collectMissingTypes(List<TypeBinding> missingTypes) protected voidScope.findMethodInSuperInterfaces(ReferenceBinding receiverType, char[] selector, ObjectVector found, List<TypeBinding> visitedTypes, InvocationSite invocationSite) voidSourceModuleBinding.setImplementations(TypeBinding infBinding, Collection<TypeBinding> resolvedImplementations) Konstruktoren in org.aspectj.org.eclipse.jdt.internal.compiler.lookup mit Parametern vom Typ TypeBindingModifiziererKonstruktorBeschreibungAptBinaryLocalVariableBinding(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) -
Verwendungen von TypeBinding in org.aspectj.org.eclipse.jdt.internal.compiler.problem
Methoden in org.aspectj.org.eclipse.jdt.internal.compiler.problem mit Parametern vom Typ TypeBindingModifizierer und TypMethodeBeschreibungvoidProblemReporter.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.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.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.incompatiblePatternType(ASTNode element, TypeBinding type, TypeBinding expected) 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.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(EqualExpression expression, TypeBinding leftType, TypeBinding rightType) voidProblemReporter.notCompatibleTypesError(Expression expression, 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.potentialNullUnboxing(ASTNode expression, TypeBinding boxType) voidProblemReporter.rawMemberTypeCannotBeParameterized(ASTNode location, ReferenceBinding type, TypeBinding[] argumentTypes) voidProblemReporter.rawTypeInRecordPattern(TypeBinding type, ASTNode element) 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.sealedAnonymousClassCannotExtendSealedType(TypeReference reference, TypeBinding type) voidProblemReporter.sealedLocalDirectSuperTypeSealed(SourceTypeBinding type, TypeReference superclass, TypeBinding superTypeBinding) voidProblemReporter.sealedMissingClassModifier(SourceTypeBinding type, TypeDeclaration typeDecl, TypeBinding superTypeBinding) voidProblemReporter.sealedMissingInterfaceModifier(SourceTypeBinding type, TypeDeclaration typeDecl, TypeBinding superTypeBinding) voidProblemReporter.sealedSuperClassDisallowed(SourceTypeBinding type, TypeReference curType, TypeBinding superTypeBinding) voidProblemReporter.sealedSuperClassDoesNotPermit(SourceTypeBinding type, TypeReference superType, TypeBinding superTypeBinding) voidProblemReporter.sealedSuperClassInDifferentPackage(SourceTypeBinding type, TypeReference curType, TypeBinding superTypeBinding, PackageBinding superPackageBinding) voidProblemReporter.sealedSuperInterfaceDisallowed(SourceTypeBinding type, TypeReference curType, TypeBinding superTypeBinding) voidProblemReporter.sealedSuperInterfaceDoesNotPermit(SourceTypeBinding type, TypeReference superType, TypeBinding superTypeBinding) voidProblemReporter.sealedSuperInterfaceInDifferentPackage(SourceTypeBinding type, TypeReference curType, TypeBinding superTypeBinding, PackageBinding superPackageBinding) voidProblemReporter.sealedSuperTypeDisallowed(int problem, SourceTypeBinding type, TypeReference curType, TypeBinding superTypeBinding) voidProblemReporter.sealedSuperTypeInDifferentPackage(int problem, SourceTypeBinding type, TypeReference curType, TypeBinding superTypeBinding, PackageBinding superPackageBinding) 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.unexpectedTypeinRecordPattern(TypeBinding type, ASTNode element) 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.unsafeCastInInstanceof(Expression expression, TypeBinding leftType, TypeBinding rightType) 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) -
Verwendungen von TypeBinding in org.aspectj.org.eclipse.jdt.internal.compiler.util
Methoden in org.aspectj.org.eclipse.jdt.internal.compiler.util mit Parametern vom Typ TypeBindingModifizierer und TypMethodeBeschreibungstatic voidUtil.recordNestedType(ClassFile classFile, TypeBinding typeBinding) -
Verwendungen von TypeBinding in org.aspectj.org.eclipse.jdt.internal.core
Methoden in org.aspectj.org.eclipse.jdt.internal.core, die TypeBinding zurückgebenModifizierer und TypMethodeBeschreibungLambdaExpression.findLambdaSuperType(LambdaExpression lambdaExpression) Methoden in org.aspectj.org.eclipse.jdt.internal.core mit Parametern vom Typ TypeBindingModifizierer und TypMethodeBeschreibungvoidSelectionRequestor.acceptLocalType(TypeBinding typeBinding) -
Verwendungen von TypeBinding in org.aspectj.org.eclipse.jdt.internal.core.hierarchy
Methoden in org.aspectj.org.eclipse.jdt.internal.core.hierarchy mit Parametern vom Typ TypeBindingModifizierer und TypMethodeBeschreibungBindingMap.get(TypeBinding key) voidBindingMap.put(TypeBinding key, V value) -
Verwendungen von TypeBinding in org.aspectj.org.eclipse.jdt.internal.core.search.matching
Methoden in org.aspectj.org.eclipse.jdt.internal.core.search.matching, die TypeBinding zurückgebenModifizierer und TypMethodeBeschreibungprotected TypeBindingprotected TypeBindingPatternLocator.getTypeNameBinding(int index) Methoden in org.aspectj.org.eclipse.jdt.internal.core.search.matching mit Parametern vom Typ TypeBindingModifizierer und TypMethodeBeschreibungprotected 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) -
Verwendungen von TypeBinding in org.aspectj.org.eclipse.jdt.internal.core.util
Methoden in org.aspectj.org.eclipse.jdt.internal.core.util mit Parametern vom Typ TypeBindingModifizierer und TypMethodeBeschreibungstatic JavaElementUtil.getUnresolvedJavaElement(TypeBinding typeBinding, WorkingCopyOwner workingCopyOwner, Util.BindingsToNodesMap bindingsToNodes) Return the java element corresponding to the given compiler binding. -
Verwendungen von TypeBinding in org.aspectj.org.eclipse.jdt.internal.eval
Methoden in org.aspectj.org.eclipse.jdt.internal.eval, die TypeBinding zurückgebenModifizierer und TypMethodeBeschreibungCodeSnippetQualifiedNameReference.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) Methoden in org.aspectj.org.eclipse.jdt.internal.eval mit Parametern vom Typ TypeBindingModifizierer und TypMethodeBeschreibungfinal 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)