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

Packages that use TypeBinding
org.eclipse.jdt.internal.compiler   
org.eclipse.jdt.internal.compiler.ast   
org.eclipse.jdt.internal.compiler.codegen   
org.eclipse.jdt.internal.compiler.flow   
org.eclipse.jdt.internal.compiler.lookup   
org.eclipse.jdt.internal.compiler.problem   
org.eclipse.jdt.internal.compiler.util   
org.eclipse.jdt.internal.core.util   
 

Uses of TypeBinding in org.eclipse.jdt.internal.compiler
 

Methods in org.eclipse.jdt.internal.compiler with parameters of type TypeBinding
 void ClassFile.recordInnerClasses(TypeBinding binding)
           
 

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

Fields in org.eclipse.jdt.internal.compiler.ast declared as TypeBinding
 TypeBinding FieldReference.actualReceiverType
           
 TypeBinding NameReference.actualReceiverType
           
 TypeBinding MessageSend.actualReceiverType
           
 TypeBinding ThrowStatement.exceptionType
           
protected  TypeBinding FunctionalExpression.expectedType
           
 TypeBinding CastExpression.expectedType
           
 TypeBinding MessageSend.expectedType
           
 TypeBinding FieldReference.genericCast
           
 TypeBinding SingleNameReference.genericCast
           
 TypeBinding QualifiedNameReference.genericCast
           
 TypeBinding[] ExplicitConstructorCall.genericTypeArguments
           
 TypeBinding[] AllocationExpression.genericTypeArguments
           
 TypeBinding[] MessageSend.genericTypeArguments
           
 TypeBinding[] QualifiedNameReference.otherGenericCasts
           
 TypeBinding ReferenceExpression.receiverType
           
 TypeBinding Expression.resolvedType
           
 TypeBinding[] ReferenceExpression.resolvedTypeArguments
           
 TypeBinding NullAnnotationMatching.superTypeHint
          If non-null this field holds the supertype of the provided type which was used for direct matching.
 TypeBinding ClassLiteralAccess.targetType
           
protected  TypeBinding AllocationExpression.typeExpected
           
 TypeBinding MessageSend.valueCast
           
 

Methods in org.eclipse.jdt.internal.compiler.ast that return TypeBinding
 TypeBinding[] LambdaExpression.argumentTypes()
           
 TypeBinding Argument.bind(MethodScope scope, TypeBinding typeBinding, boolean used)
           
 TypeBinding Expression.checkAgainstFinalTargetType(TypeBinding targetType, Scope scope)
          Once outer contexts have finalized the target type for this expression, perform any checks that might have been delayed previously.
 TypeBinding ConditionalExpression.checkAgainstFinalTargetType(TypeBinding targetType, Scope scope)
           
 TypeBinding FunctionalExpression.checkAgainstFinalTargetType(TypeBinding targetType, Scope scope)
           
 TypeBinding AllocationExpression.checkAgainstFinalTargetType(TypeBinding targetType, Scope scope)
           
 TypeBinding MessageSend.checkAgainstFinalTargetType(TypeBinding targetType, Scope scope)
           
 TypeBinding SingleNameReference.checkFieldAccess(BlockScope scope)
           
 TypeBinding Argument.createBinding(MethodScope scope, TypeBinding typeBinding)
           
 TypeBinding LambdaExpression.expectedResultType()
           
 TypeBinding Statement.expectedType()
          Simpler notion of expected type, suitable for code assist purposes.
 TypeBinding FunctionalExpression.expectedType()
           
protected  TypeBinding QualifiedTypeReference.findNextTypeBinding(int tokenIndex, Scope scope, PackageBinding packageBinding)
           
 TypeBinding[] FieldReference.genericTypeArguments()
           
 TypeBinding[] ExplicitConstructorCall.genericTypeArguments()
           
 TypeBinding[] AbstractVariableDeclaration.genericTypeArguments()
           
 TypeBinding[] SingleNameReference.genericTypeArguments()
           
 TypeBinding[] QualifiedNameReference.genericTypeArguments()
           
 TypeBinding[] AllocationExpression.genericTypeArguments()
           
 TypeBinding[] ReferenceExpression.genericTypeArguments()
           
 TypeBinding[] MessageSend.genericTypeArguments()
           
 TypeBinding[] InnerInferenceHelper.getArgumentTypesForCandidate(MethodBinding candidate, TypeBinding[] plainArgTypes)
           
protected  TypeBinding QualifiedNameReference.getFinalReceiverType()
          Returns the receiver type for the final field in sequence (i.e.
protected  TypeBinding QualifiedNameReference.getGenericCast(int index)
           
 TypeBinding[] LambdaExpression.getMarkerInterfaces()
           
 TypeBinding QualifiedNameReference.getOtherFieldBindings(BlockScope scope)
           
protected  TypeBinding UnionTypeReference.getTypeBinding(Scope scope)
           
protected  TypeBinding ArrayQualifiedTypeReference.getTypeBinding(Scope scope)
           
protected abstract  TypeBinding TypeReference.getTypeBinding(Scope scope)
           
protected  TypeBinding JavadocImplicitTypeReference.getTypeBinding(Scope scope)
           
protected  TypeBinding SingleTypeReference.getTypeBinding(Scope scope)
           
protected  TypeBinding IntersectionCastTypeReference.getTypeBinding(Scope scope)
           
protected  TypeBinding ParameterizedQualifiedTypeReference.getTypeBinding(Scope scope)
           
protected  TypeBinding QualifiedTypeReference.getTypeBinding(Scope scope)
           
protected  TypeBinding ArrayTypeReference.getTypeBinding(Scope scope)
           
protected  TypeBinding ParameterizedSingleTypeReference.getTypeBinding(Scope scope)
           
 TypeBinding[] AllocationExpression.inferElidedTypes(ParameterizedTypeBinding allocationType, ReferenceBinding enclosingType, TypeBinding[] argumentTypes, BlockScope scope)
           
protected  TypeBinding JavadocFieldReference.internalResolveType(Scope scope)
           
protected  TypeBinding ArrayQualifiedTypeReference.internalResolveType(Scope scope, int location)
           
protected  TypeBinding TypeReference.internalResolveType(Scope scope, int location)
           
protected  TypeBinding JavadocImplicitTypeReference.internalResolveType(Scope scope, int location)
           
protected  TypeBinding JavadocSingleTypeReference.internalResolveType(Scope scope, int location)
           
protected  TypeBinding ArrayTypeReference.internalResolveType(Scope scope, int location)
           
 TypeBinding Statement.invocationTargetType()
          Implementation of InvocationSite.invocationTargetType() suitable at this level.
 TypeBinding FunctionalExpression.invocationTargetType()
           
 TypeBinding AllocationExpression.invocationTargetType()
           
 TypeBinding MessageSend.invocationTargetType()
           
 TypeBinding DoubleLiteral.literalType(BlockScope scope)
           
 TypeBinding FloatLiteral.literalType(BlockScope scope)
           
 TypeBinding StringLiteral.literalType(BlockScope scope)
           
 TypeBinding CharLiteral.literalType(BlockScope scope)
           
 TypeBinding FalseLiteral.literalType(BlockScope scope)
           
abstract  TypeBinding Literal.literalType(BlockScope scope)
           
 TypeBinding IntLiteral.literalType(BlockScope scope)
           
 TypeBinding NullLiteral.literalType(BlockScope scope)
           
 TypeBinding TrueLiteral.literalType(BlockScope scope)
           
 TypeBinding LongLiteral.literalType(BlockScope scope)
           
static TypeBinding NullAnnotationMatching.moreDangerousType(TypeBinding one, TypeBinding two)
          Provided that both types are equalsEquals(org.eclipse.jdt.internal.compiler.lookup.TypeBinding, org.eclipse.jdt.internal.compiler.lookup.TypeBinding), return the one that is more likely to show null at runtime.
 TypeBinding FieldReference.postConversionType(Scope scope)
           
 TypeBinding Expression.postConversionType(Scope scope)
          Returns the type of the expression after required implicit conversions.
 TypeBinding SingleNameReference.postConversionType(Scope scope)
           
 TypeBinding QualifiedNameReference.postConversionType(Scope scope)
           
 TypeBinding MessageSend.postConversionType(Scope scope)
           
 TypeBinding SingleNameReference.reportError(BlockScope scope)
           
 TypeBinding QualifiedNameReference.reportError(BlockScope scope)
          Normal field binding did not work, try to bind to a field of the delegate receiver.
protected  TypeBinding FunctionalExpression.reportSamProblem(BlockScope blockScope, MethodBinding sam)
           
static TypeBinding ASTNode.resolveAnnotations(BlockScope scope, Annotation[][] sourceAnnotations, TypeBinding type)
          Resolve JSR308 annotations on a type reference, array creation expression or a wildcard.
 TypeBinding Argument.resolveForCatch(BlockScope scope)
           
 TypeBinding TypeReference.resolveSuperType(ClassScope scope)
           
 TypeBinding SuperReference.resolveType(BlockScope scope)
           
 TypeBinding FieldReference.resolveType(BlockScope scope)
           
 TypeBinding Expression.resolveType(BlockScope scope)
          Resolve the type of this expression in the context of a blockScope
 TypeBinding OR_OR_Expression.resolveType(BlockScope scope)
           
 TypeBinding Assignment.resolveType(BlockScope scope)
           
 TypeBinding CombinedBinaryExpression.resolveType(BlockScope scope)
           
 TypeBinding ConditionalExpression.resolveType(BlockScope scope)
           
 TypeBinding FunctionalExpression.resolveType(BlockScope blockScope)
           
 TypeBinding JavadocArgumentExpression.resolveType(BlockScope scope)
           
 TypeBinding JavadocMessageSend.resolveType(BlockScope scope)
           
 TypeBinding TypeReference.resolveType(BlockScope blockScope)
           
 TypeBinding SingleNameReference.resolveType(BlockScope scope)
           
 TypeBinding AND_AND_Expression.resolveType(BlockScope scope)
           
 TypeBinding QualifiedSuperReference.resolveType(BlockScope scope)
           
 TypeBinding JavadocFieldReference.resolveType(BlockScope scope)
           
 TypeBinding JavadocAllocationExpression.resolveType(BlockScope scope)
           
 TypeBinding QualifiedAllocationExpression.resolveType(BlockScope scope)
           
 TypeBinding Annotation.resolveType(BlockScope scope)
           
 TypeBinding LambdaExpression.resolveType(BlockScope blockScope)
           
 TypeBinding QualifiedNameReference.resolveType(BlockScope scope)
           
 TypeBinding ArrayReference.resolveType(BlockScope scope)
           
 TypeBinding AllocationExpression.resolveType(BlockScope scope)
           
 TypeBinding CompoundAssignment.resolveType(BlockScope scope)
           
 TypeBinding InstanceOfExpression.resolveType(BlockScope scope)
           
 TypeBinding UnaryExpression.resolveType(BlockScope scope)
           
 TypeBinding QualifiedThisReference.resolveType(BlockScope scope)
           
 TypeBinding ReferenceExpression.resolveType(BlockScope scope)
           
 TypeBinding ClassLiteralAccess.resolveType(BlockScope scope)
           
 TypeBinding ArrayAllocationExpression.resolveType(BlockScope scope)
           
 TypeBinding EqualExpression.resolveType(BlockScope scope)
           
 TypeBinding BinaryExpression.resolveType(BlockScope scope)
           
 TypeBinding ContainerAnnotation.resolveType(BlockScope scope)
           
 TypeBinding ThisReference.resolveType(BlockScope scope)
           
 TypeBinding Literal.resolveType(BlockScope scope)
           
 TypeBinding CastExpression.resolveType(BlockScope scope)
           
 TypeBinding MessageSend.resolveType(BlockScope scope)
           
 TypeBinding TypeReference.resolveType(BlockScope scope, boolean checkBounds)
           
 TypeBinding UnionTypeReference.resolveType(BlockScope scope, boolean checkBounds, int location)
           
 TypeBinding JavadocQualifiedTypeReference.resolveType(BlockScope blockScope, boolean checkBounds, int location)
           
 TypeBinding TypeReference.resolveType(BlockScope scope, boolean checkBounds, int location)
           
 TypeBinding Wildcard.resolveType(BlockScope scope, boolean checkBounds, int location)
           
 TypeBinding IntersectionCastTypeReference.resolveType(BlockScope scope, boolean checkBounds, int location)
           
 TypeBinding ParameterizedQualifiedTypeReference.resolveType(BlockScope scope, boolean checkBounds, int location)
           
 TypeBinding ParameterizedSingleTypeReference.resolveType(BlockScope scope, boolean checkBounds, int location)
           
 TypeBinding Expression.resolveType(ClassScope scope)
          Resolve the type of this expression in the context of a classScope
 TypeBinding JavadocArgumentExpression.resolveType(ClassScope scope)
           
 TypeBinding JavadocMessageSend.resolveType(ClassScope scope)
           
 TypeBinding TypeReference.resolveType(ClassScope scope)
           
 TypeBinding JavadocFieldReference.resolveType(ClassScope scope)
           
 TypeBinding JavadocAllocationExpression.resolveType(ClassScope scope)
           
 TypeBinding JavadocQualifiedTypeReference.resolveType(ClassScope classScope, int location)
           
 TypeBinding TypeReference.resolveType(ClassScope scope, int location)
           
 TypeBinding Wildcard.resolveType(ClassScope scope, int location)
           
 TypeBinding ParameterizedQualifiedTypeReference.resolveType(ClassScope scope, int location)
           
 TypeBinding ParameterizedSingleTypeReference.resolveType(ClassScope scope, int location)
           
 TypeBinding TypeReference.resolveTypeArgument(BlockScope blockScope, ReferenceBinding genericType, int rank)
           
 TypeBinding Wildcard.resolveTypeArgument(BlockScope blockScope, ReferenceBinding genericType, int rank)
           
 TypeBinding TypeReference.resolveTypeArgument(ClassScope classScope, ReferenceBinding genericType, int rank)
           
 TypeBinding Wildcard.resolveTypeArgument(ClassScope classScope, ReferenceBinding genericType, int rank)
           
 TypeBinding SingleTypeReference.resolveTypeEnclosing(BlockScope scope, ReferenceBinding enclosingType)
           
 TypeBinding ParameterizedSingleTypeReference.resolveTypeEnclosing(BlockScope scope, ReferenceBinding enclosingType)
           
 TypeBinding Expression.resolveTypeExpecting(BlockScope scope, TypeBinding expectedType)
           
 TypeBinding Assignment.resolveTypeExpecting(BlockScope scope, TypeBinding expectedType)
           
 TypeBinding ArrayInitializer.resolveTypeExpecting(BlockScope scope, TypeBinding expectedType)
           
 

Methods in org.eclipse.jdt.internal.compiler.ast that return types with arguments of type TypeBinding
 java.util.Set<TypeBinding> LambdaExpression.getThrownExceptions()
           
 

Methods in org.eclipse.jdt.internal.compiler.ast with parameters of type TypeBinding
static NullAnnotationMatching NullAnnotationMatching.analyse(TypeBinding requiredType, TypeBinding providedType, int nullStatus)
          Find any mismatches between the two given types, which are caused by null type annotations.
static NullAnnotationMatching NullAnnotationMatching.analyse(TypeBinding requiredType, TypeBinding providedType, TypeBinding providedSubstitute, int nullStatus, NullAnnotationMatching.CheckMode mode)
          Find any mismatches between the two given types, which are caused by null type annotations.
protected static boolean NullAnnotationMatching.areSameTypes(TypeBinding requiredType, TypeBinding providedType, TypeBinding providedSubstitute)
          Are both types identical wrt the unannotated type and any null type annotations? Only unstructured types and captures are considered.
 TypeBinding Argument.bind(MethodScope scope, TypeBinding typeBinding, boolean used)
           
 MethodBinding ExplicitConstructorCall.binding(TypeBinding targetType, boolean reportErrors, Scope scope)
           
 MethodBinding AllocationExpression.binding(TypeBinding targetType, boolean reportErrors, Scope scope)
           
 MethodBinding Invocation.binding(TypeBinding targetType, boolean reportErrors, Scope scope)
          Answer the resolved method binding of this invocation.
 MethodBinding MessageSend.binding(TypeBinding targetType, boolean reportErrors, Scope scope)
           
 TypeBinding Expression.checkAgainstFinalTargetType(TypeBinding targetType, Scope scope)
          Once outer contexts have finalized the target type for this expression, perform any checks that might have been delayed previously.
 TypeBinding ConditionalExpression.checkAgainstFinalTargetType(TypeBinding targetType, Scope scope)
           
 TypeBinding FunctionalExpression.checkAgainstFinalTargetType(TypeBinding targetType, Scope scope)
           
 TypeBinding AllocationExpression.checkAgainstFinalTargetType(TypeBinding targetType, Scope scope)
           
 TypeBinding MessageSend.checkAgainstFinalTargetType(TypeBinding targetType, Scope scope)
           
protected  void Statement.checkAgainstNullTypeAnnotation(BlockScope scope, TypeBinding requiredType, Expression expression, FlowContext flowContext, FlowInfo flowInfo)
           
static int NullAnnotationMatching.checkAssignment(BlockScope currentScope, FlowContext flowContext, VariableBinding var, int nullStatus, Expression expression, TypeBinding providedType)
          Check null-ness of 'var' against a possible null annotation
 boolean Expression.checkCastTypesCompatibility(Scope scope, TypeBinding castType, TypeBinding expressionType, Expression expression)
          Returns false if cast is not legal.
static void Annotation.checkContainingAnnotationTargetAtUse(Annotation repeatingAnnotation, BlockScope scope, TypeBinding containerAnnotationType, TypeBinding repeatingAnnotationType)
           
static boolean ASTNode.checkInvocationArguments(BlockScope scope, Expression receiver, TypeBinding receiverType, MethodBinding method, Expression[] arguments, TypeBinding[] argumentTypes, boolean argsContainCast, InvocationSite invocationSite)
           
static boolean ASTNode.checkInvocationArguments(BlockScope scope, Expression receiver, TypeBinding receiverType, MethodBinding method, Expression[] arguments, TypeBinding[] argumentTypes, boolean argsContainCast, InvocationSite invocationSite)
           
static void CastExpression.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 void CastExpression.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 void CastExpression.checkNeedForAssignedCast(BlockScope scope, TypeBinding expectedType, CastExpression rhs)
          Complain if assigned expression is cast, but not actually used as such, e.g.
static void CastExpression.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 type
protected  void TypeReference.checkNullConstraints(Scope scope, TypeBinding[] variables, int rank)
          Check whether this type reference conforms to all null constraints defined for any of the given type variables.
 void AllocationExpression.checkTypeArgumentRedundancy(ParameterizedTypeBinding allocationType, ReferenceBinding enclosingType, TypeBinding[] argumentTypes, BlockScope scope)
           
 boolean Expression.checkUnsafeCast(Scope scope, TypeBinding castType, TypeBinding expressionType, TypeBinding match, boolean isNarrowing)
           
 boolean CastExpression.checkUnsafeCast(Scope scope, TypeBinding castType, TypeBinding expressionType, TypeBinding match, boolean isNarrowing)
           
 void EqualExpression.computeConstant(TypeBinding leftType, TypeBinding rightType)
           
 void FieldReference.computeConversion(Scope scope, TypeBinding runtimeTimeType, TypeBinding compileTimeType)
           
 void Expression.computeConversion(Scope scope, TypeBinding runtimeType, TypeBinding compileTimeType)
          Base types need that the widening is explicitly done by the compiler using some bytecode like i2f.
 void SingleNameReference.computeConversion(Scope scope, TypeBinding runtimeTimeType, TypeBinding compileTimeType)
           
 void QualifiedNameReference.computeConversion(Scope scope, TypeBinding runtimeTimeType, TypeBinding compileTimeType)
           
 void MessageSend.computeConversion(Scope scope, TypeBinding runtimeTimeType, TypeBinding compileTimeType)
           
protected  void ConditionalExpression.computeConversions(BlockScope scope, TypeBinding targetType)
           
 TypeBinding Argument.createBinding(MethodScope scope, TypeBinding typeBinding)
           
 Expression[] ReferenceExpression.createPseudoExpressions(TypeBinding[] p)
           
 void Reference.fieldStore(Scope currentScope, CodeStream codeStream, FieldBinding fieldBinding, MethodBinding syntheticWriteAccessor, TypeBinding receiverType, boolean isImplicitThisReceiver, boolean valueRequired)
           
 MethodBinding ReferenceExpression.findCompileTimeMethodTargeting(TypeBinding targetType, Scope scope)
          During inference: Try to find an applicable method binding without causing undesired side-effects.
protected  MethodBinding Statement.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'.
protected  void MessageSend.findMethodBinding(BlockScope scope, TypeBinding[] argumentTypes)
          Find the method binding; if this.innersNeedUpdate allow for two attempts where the first round may stop after applicability checking (18.5.1) to include more information into the final invocation type inference (18.5.2).
 TypeBinding[] InnerInferenceHelper.getArgumentTypesForCandidate(MethodBinding candidate, TypeBinding[] plainArgTypes)
           
 LambdaExpression LambdaExpression.getResolvedCopyForInferenceTargeting(TypeBinding targetType)
          Get a resolved copy of this lambda for use by type inference, as to avoid spilling any premature type results into the original lambda.
 TypeBinding[] AllocationExpression.inferElidedTypes(ParameterizedTypeBinding allocationType, ReferenceBinding enclosingType, TypeBinding[] argumentTypes, BlockScope scope)
           
static boolean FakedTrackingVariable.isAnyCloseable(TypeBinding typeBinding)
          Answer wither the given type binding is a subtype of java.lang.AutoCloseable.
 boolean Expression.isAssignmentCompatible(TypeBinding left, Scope scope)
           
 boolean Statement.isBoxingCompatible(TypeBinding expressionType, TypeBinding targetType, Expression expression, Scope scope)
           
 boolean Expression.isBoxingCompatibleWith(TypeBinding left, Scope scope)
           
 boolean ConditionalExpression.isBoxingCompatibleWith(TypeBinding targetType, Scope scope)
           
 boolean FunctionalExpression.isBoxingCompatibleWith(TypeBinding targetType, Scope scope)
           
 boolean Expression.isCompatibleWith(TypeBinding left, Scope scope)
           
 boolean ConditionalExpression.isCompatibleWith(TypeBinding left, Scope scope)
           
 boolean LambdaExpression.isCompatibleWith(TypeBinding left, Scope someScope)
           
 boolean ReferenceExpression.isCompatibleWith(TypeBinding left, Scope scope)
           
 boolean Expression.isConstantValueOfTypeAssignableToType(TypeBinding constantType, TypeBinding targetType)
           
 boolean Expression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method)
           
 boolean ConditionalExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method)
           
 boolean FunctionalExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method)
           
 boolean LambdaExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method)
           
 boolean ReferenceExpression.isPertinentToApplicability(TypeBinding targetType, MethodBinding method)
           
 boolean ASTNode.isTypeUseDeprecated(TypeBinding type, Scope scope)
           
static TypeBinding NullAnnotationMatching.moreDangerousType(TypeBinding one, TypeBinding two)
          Provided that both types are equalsEquals(org.eclipse.jdt.internal.compiler.lookup.TypeBinding, org.eclipse.jdt.internal.compiler.lookup.TypeBinding), return the one that is more likely to show null at runtime.
protected  void Statement.recordExceptionsForEnclosingLambda(BlockScope scope, TypeBinding... thrownExceptions)
          If an exception-throwing statement is resolved within the scope of a lambda, record the exception type(s).
 void InnerInferenceHelper.registerInnerResult(MethodBinding method, TypeBinding resolvedType, int argCount, int argIdx)
           
protected  void JavadocArrayQualifiedTypeReference.reportDeprecatedType(TypeBinding type, Scope scope)
           
protected  void JavadocQualifiedTypeReference.reportDeprecatedType(TypeBinding type, Scope scope)
           
protected  void TypeReference.reportDeprecatedType(TypeBinding type, Scope scope)
           
protected  void JavadocImplicitTypeReference.reportDeprecatedType(TypeBinding type, Scope scope)
           
protected  void JavadocSingleTypeReference.reportDeprecatedType(TypeBinding type, Scope scope)
           
protected  void JavadocArraySingleTypeReference.reportDeprecatedType(TypeBinding type, Scope scope)
           
protected  void JavadocQualifiedTypeReference.reportDeprecatedType(TypeBinding type, Scope scope, int index)
           
protected  void TypeReference.reportDeprecatedType(TypeBinding type, Scope scope, int index)
           
static TypeBinding ASTNode.resolveAnnotations(BlockScope scope, Annotation[][] sourceAnnotations, TypeBinding type)
          Resolve JSR308 annotations on a type reference, array creation expression or a wildcard.
 Constant Statement.resolveCase(BlockScope scope, TypeBinding testType, SwitchStatement switchStatement)
          Returns case constant associated to this statement (NotAConstant if none)
 Constant CaseStatement.resolveCase(BlockScope scope, TypeBinding switchExpressionType, SwitchStatement switchStatement)
          Returns the constant intValue or ordinal for enum constants.
static void ASTNode.resolvePolyExpressionArguments(Invocation invocation, MethodBinding methodBinding, TypeBinding[] argumentTypes, Scope 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.
 TypeBinding Expression.resolveTypeExpecting(BlockScope scope, TypeBinding expectedType)
           
 TypeBinding Assignment.resolveTypeExpecting(BlockScope scope, TypeBinding expectedType)
           
 TypeBinding ArrayInitializer.resolveTypeExpecting(BlockScope scope, TypeBinding expectedType)
           
 void MemberValuePair.resolveTypeExpecting(BlockScope scope, TypeBinding requiredType)
           
 void LambdaExpression.returnsExpression(Expression expression, TypeBinding resultType)
           
 void Expression.setExpectedType(TypeBinding expectedType)
          Record the type expectation before this expression is typechecked.
 void ConditionalExpression.setExpectedType(TypeBinding expectedType)
           
 void FunctionalExpression.setExpectedType(TypeBinding expectedType)
           
 void AllocationExpression.setExpectedType(TypeBinding expectedType)
           
 void CastExpression.setExpectedType(TypeBinding expectedType)
           
 void MessageSend.setExpectedType(TypeBinding expectedType)
           
protected  void QualifiedNameReference.setGenericCast(int index, TypeBinding someGenericCast)
           
 boolean Expression.sIsMoreSpecific(TypeBinding s, TypeBinding t, Scope scope)
           
 boolean ConditionalExpression.sIsMoreSpecific(TypeBinding s, TypeBinding t, Scope scope)
           
 boolean LambdaExpression.sIsMoreSpecific(TypeBinding s, TypeBinding t, Scope skope)
           
 boolean ReferenceExpression.sIsMoreSpecific(TypeBinding s, TypeBinding t, Scope scope)
           
 boolean MessageSend.sIsMoreSpecific(TypeBinding s, TypeBinding t, Scope scope)
           
 void Expression.tagAsUnnecessaryCast(Scope scope, TypeBinding castType)
          Record the fact a cast expression got detected as being unnecessary.
 void InstanceOfExpression.tagAsUnnecessaryCast(Scope scope, TypeBinding castType)
           
 void CastExpression.tagAsUnnecessaryCast(Scope scope, TypeBinding castType)
           
 void LambdaExpression.throwsException(TypeBinding exceptionType)
           
 boolean ExplicitConstructorCall.updateBindings(MethodBinding updatedBinding, TypeBinding targetType)
           
 boolean AllocationExpression.updateBindings(MethodBinding updatedBinding, TypeBinding targetType)
           
 boolean Invocation.updateBindings(MethodBinding updatedBinding, TypeBinding targetType)
          Where the AST node may hold references to the results of Invocation Applicability Inference, this method allows to update those references to the result of Invocation Type Inference.
 boolean MessageSend.updateBindings(MethodBinding updatedBinding, TypeBinding targetType)
           
protected  void TryStatement.verifyDuplicationAndOrder(int length, TypeBinding[] argumentTypes, boolean containsUnionTypes)
           
 

Constructors in org.eclipse.jdt.internal.compiler.ast with parameters of type TypeBinding
NullAnnotationMatching(int severity, int nullStatus, TypeBinding superTypeHint)
           
 

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

Fields in org.eclipse.jdt.internal.compiler.codegen declared as TypeBinding
 TypeBinding ExceptionLabel.exceptionType
           
 TypeBinding StackMapFrameCodeStream.StackDepthMarker.typeBinding
           
 

Methods in org.eclipse.jdt.internal.compiler.codegen that return TypeBinding
static TypeBinding CodeStream.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 type
static TypeBinding CodeStream.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 type
 

Methods in org.eclipse.jdt.internal.compiler.codegen with parameters of type TypeBinding
 void StackMapFrameCodeStream.addExceptionMarker(int pc, TypeBinding typeBinding)
           
 void StackMapFrame.addStackItem(TypeBinding binding)
           
 void CodeStream.anewarray(TypeBinding typeBinding)
           
 void CodeStream.checkcast(TypeBinding typeBinding)
           
 void TypeAnnotationCodeStream.checkcast(TypeReference typeReference, TypeBinding typeBinding)
           
 void CodeStream.checkcast(TypeReference typeReference, TypeBinding typeBinding)
           
 void CodeStream.fieldAccess(byte opcode, FieldBinding fieldBinding, TypeBinding declaringClass)
           
 void StackMapFrameCodeStream.generateClassLiteralAccessForType(TypeBinding accessedType, FieldBinding syntheticFieldBinding)
          Macro for building a class descriptor object
 void CodeStream.generateClassLiteralAccessForType(TypeBinding accessedType, FieldBinding syntheticFieldBinding)
          Macro for building a class descriptor object
static TypeBinding CodeStream.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 type
static TypeBinding CodeStream.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 type
 void CodeStream.instance_of(TypeBinding typeBinding)
          We didn't call it instanceof because there is a conflict with the instanceof keyword
 void TypeAnnotationCodeStream.instance_of(TypeReference typeReference, TypeBinding typeBinding)
           
 void CodeStream.instance_of(TypeReference typeReference, TypeBinding typeBinding)
          We didn't call it instanceof because there is a conflict with the instanceof keyword
 void CodeStream.invoke(byte opcode, MethodBinding methodBinding, TypeBinding declaringClass)
           
 void TypeAnnotationCodeStream.invoke(byte opcode, MethodBinding methodBinding, TypeBinding declaringClass, TypeReference[] typeArguments)
           
 void CodeStream.invoke(byte opcode, MethodBinding methodBinding, TypeBinding declaringClass, TypeReference[] typeArguments)
           
 void CodeStream.invokeAutoCloseableClose(TypeBinding resourceType)
           
 void CodeStream.invokeIterableIterator(TypeBinding iterableReceiverType)
           
 void CodeStream.invokeJavaLangEnumValues(TypeBinding enumBinding, ArrayBinding arrayBinding)
           
 void CodeStream.ldc(TypeBinding typeBinding)
           
 int ConstantPool.literalIndex(TypeBinding binding)
           
 int ConstantPool.literalIndexForMethod(TypeBinding declaringClass, char[] selector, char[] signature, boolean isInterface)
           
 int ConstantPool.literalIndexForMethodHandle(int referenceKind, TypeBinding declaringClass, char[] selector, char[] signature, boolean isInterface)
           
 int ConstantPool.literalIndexForType(TypeBinding binding)
           
protected  void CodeStream.load(TypeBinding typeBinding, int resolvedPosition)
           
 void TypeAnnotationCodeStream.multianewarray(TypeReference typeReference, TypeBinding typeBinding, int dimensions, ArrayAllocationExpression allocationExpression)
           
 void CodeStream.multianewarray(TypeReference typeReference, TypeBinding typeBinding, int dimensions, ArrayAllocationExpression allocationExpression)
           
 void CodeStream.new_(TypeBinding typeBinding)
           
 void TypeAnnotationCodeStream.new_(TypeReference typeReference, TypeBinding typeBinding)
           
 void CodeStream.new_(TypeReference typeReference, TypeBinding typeBinding)
           
 void StackMapFrameCodeStream.pushExceptionOnStack(TypeBinding binding)
           
 void CodeStream.pushExceptionOnStack(TypeBinding binding)
           
 void StackMapFrameCodeStream.pushOnStack(TypeBinding binding)
           
 void CodeStream.pushOnStack(TypeBinding binding)
           
 void StackMapFrameCodeStream.recordExpressionType(TypeBinding typeBinding)
           
 void CodeStream.recordExpressionType(TypeBinding typeBinding)
           
 void VerificationTypeInfo.setBinding(TypeBinding binding)
           
 

Constructors in org.eclipse.jdt.internal.compiler.codegen with parameters of type TypeBinding
ExceptionLabel(CodeStream codeStream, TypeBinding exceptionType)
           
ExceptionLabel(CodeStream codeStream, TypeBinding exceptionType, TypeReference exceptionTypeReference, Annotation[] se7Annotations)
           
MultiCatchExceptionLabel(CodeStream codeStream, TypeBinding exceptionType)
           
StackMapFrameCodeStream.StackDepthMarker(int pc, int delta, TypeBinding typeBinding)
           
VerificationTypeInfo(int tag, TypeBinding binding)
           
VerificationTypeInfo(TypeBinding binding)
           
 

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

Fields in org.eclipse.jdt.internal.compiler.flow declared as TypeBinding
 TypeBinding[][] FlowContext.providedExpectedTypes
           
 TypeBinding[] InitializationFlowContext.thrownExceptions
           
 

Methods in org.eclipse.jdt.internal.compiler.flow with parameters of type TypeBinding
 void FlowContext.checkExceptionHandlers(TypeBinding[] raisedExceptions, ASTNode location, FlowInfo flowInfo, BlockScope scope)
           
 void FlowContext.checkExceptionHandlers(TypeBinding raisedException, ASTNode location, FlowInfo flowInfo, BlockScope scope)
           
 void FlowContext.checkExceptionHandlers(TypeBinding raisedException, ASTNode location, FlowInfo flowInfo, BlockScope scope, boolean isExceptionOnAutoClose)
           
 FlowInfo FlowContext.getInitsForFinalBlankInitializationCheck(TypeBinding declaringType, FlowInfo flowInfo)
           
protected  boolean FinallyFlowContext.internalRecordNullityMismatch(Expression expression, TypeBinding providedType, int nullStatus, TypeBinding expectedType, int checkType)
           
protected  boolean FlowContext.internalRecordNullityMismatch(Expression expression, TypeBinding providedType, int nullStatus, TypeBinding expectedType, int checkType)
           
protected  boolean LoopingFlowContext.internalRecordNullityMismatch(Expression expression, TypeBinding providedType, int nullStatus, TypeBinding expectedType, int checkType)
           
 void ExceptionHandlingFlowContext.mergeUnhandledException(TypeBinding newException)
           
 void ExceptionHandlingFlowContext.recordHandlingException(ReferenceBinding exceptionType, UnconditionalFlowInfo flowInfo, TypeBinding raisedException, TypeBinding caughtException, ASTNode invocationSite, boolean wasAlreadyDefinitelyCaught)
           
 void InitializationFlowContext.recordHandlingException(ReferenceBinding exceptionType, UnconditionalFlowInfo flowInfo, TypeBinding raisedException, TypeBinding caughtException, ASTNode invocationSite, boolean wasMasked)
           
 void FlowContext.recordNullityMismatch(BlockScope currentScope, Expression expression, TypeBinding providedType, TypeBinding expectedType, int nullStatus)
          Record that a nullity mismatch was detected against an annotated type reference.
protected  void FlowContext.recordProvidedExpectedTypes(TypeBinding providedType, TypeBinding expectedType, int nullCount)
           
 

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

Subclasses of TypeBinding in org.eclipse.jdt.internal.compiler.lookup
 class ArrayBinding
           
 class BaseTypeBinding
           
 class BinaryTypeBinding
           
 class CaptureBinding
           
 class CaptureBinding18
          Capture-like type variable introduced during 1.8 type inference.
 class InferenceVariable
          Implementation of 18.1.1 in JLS8
 class IntersectionCastTypeBinding
           
 class LocalTypeBinding
           
 class MemberTypeBinding
           
 class MissingTypeBinding
           
 class NestedTypeBinding
           
 class NullTypeBinding
           
 class ParameterizedTypeBinding
          A parameterized type encapsulates a type with type arguments,
 class PolyTypeBinding
           
 class ProblemReferenceBinding
           
 class RawTypeBinding
          Denote a raw type, i.e.
 class ReferenceBinding
           
 class SourceTypeBinding
           
 class TypeVariableBinding
          Binding for a type parameter, held by source/binary type or method.
 class UnresolvedReferenceBinding
           
 class VoidTypeBinding
           
 class WildcardBinding
           
 

Fields in org.eclipse.jdt.internal.compiler.lookup declared as TypeBinding
 TypeBinding[] ParameterizedTypeBinding.arguments
           
 TypeBinding WildcardBinding.bound
           
 TypeBinding TypeVariableBinding.firstBound
          Denote 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.
 TypeBinding ArrayBinding.leafComponentType
           
 TypeBinding CaptureBinding.lowerBound
           
static TypeBinding[] Binding.NO_PARAMETERS
           
static TypeBinding[] Binding.NO_TYPES
           
 TypeBinding[] WildcardBinding.otherBounds
           
 TypeBinding[] MethodBinding.parameters
           
 TypeBinding MethodBinding.receiver
           
 TypeBinding MethodBinding.returnType
           
protected  TypeBinding ReductionResult.right
           
 TypeBinding SyntheticMethodBinding.targetEnumType
           
 TypeBinding VariableBinding.type
           
 TypeBinding[] ParameterizedGenericMethodBinding.typeArguments
           
 

Methods in org.eclipse.jdt.internal.compiler.lookup that return TypeBinding
 TypeBinding WildcardBinding.allBounds()
           
 TypeBinding Scope.boxing(TypeBinding type)
           
protected  TypeBinding TypeSystem.cacheDerivedType(TypeBinding keyType, TypeBinding nakedType, TypeBinding derivedType)
           
 TypeBinding TypeBinding.capture(Scope scope, int position)
          Perform capture conversion on a given type (only effective on parameterized type with wildcards)
 TypeBinding ParameterizedTypeBinding.capture(Scope scope, int position)
          Perform capture conversion for a parameterized type with wildcard arguments
 TypeBinding LocalTypeBinding.clone(TypeBinding outerType)
           
 TypeBinding VoidTypeBinding.clone(TypeBinding enclosingType)
           
 TypeBinding NullTypeBinding.clone(TypeBinding enclosingType)
           
 TypeBinding CaptureBinding18.clone(TypeBinding enclosingType)
           
 TypeBinding RawTypeBinding.clone(TypeBinding outerType)
           
 TypeBinding TypeVariableBinding.clone(TypeBinding enclosingType)
           
 TypeBinding UnresolvedReferenceBinding.clone(TypeBinding outerType)
           
 TypeBinding 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.
 TypeBinding CaptureBinding.clone(TypeBinding enclosingType)
           
 TypeBinding MissingTypeBinding.clone(TypeBinding outerType)
           
 TypeBinding ProblemReferenceBinding.clone(TypeBinding enclosingType)
           
 TypeBinding SourceTypeBinding.clone(TypeBinding immaterial)
           
 TypeBinding MemberTypeBinding.clone(TypeBinding outerType)
           
 TypeBinding WildcardBinding.clone(TypeBinding immaterial)
           
 TypeBinding BinaryTypeBinding.clone(TypeBinding outerType)
           
 TypeBinding ParameterizedTypeBinding.clone(TypeBinding outerType)
           
 TypeBinding BaseTypeBinding.clone(TypeBinding enclosingType)
           
 TypeBinding TypeBinding.closestMatch()
          In case of problems, returns the closest match found.
 TypeBinding ArrayBinding.closestMatch()
           
 TypeBinding ProblemReferenceBinding.closestMatch()
           
 TypeBinding PolyTypeBinding.computeBoxingType()
           
 TypeBinding LookupEnvironment.computeBoxingType(TypeBinding type)
           
static TypeBinding Scope.convertEliminatingTypeVariables(TypeBinding originalType, ReferenceBinding genericType, int rank, java.util.Set eliminatedVariables)
          Returns a type where either all variables or specific ones got discarded.
 TypeBinding LookupEnvironment.convertToRawType(TypeBinding type, boolean forceRawEnclosingType)
          Returns the given binding's raw type binding.
 TypeBinding LookupEnvironment.convertUnresolvedBinaryToRawType(TypeBinding type)
           
 TypeBinding LookupEnvironment.createAnnotatedType(TypeBinding type, AnnotationBinding[] newbies)
           
 TypeBinding LookupEnvironment.createAnnotatedType(TypeBinding type, AnnotationBinding[][] annotations)
           
 TypeBinding LookupEnvironment.createIntersectionCastType(ReferenceBinding[] intersectingTypes)
           
 TypeBinding ArrayBinding.elementsType()
           
 TypeBinding CaptureBinding18.erasure()
           
 TypeBinding TypeVariableBinding.erasure()
           
 TypeBinding TypeBinding.erasure()
           
 TypeBinding ArrayBinding.erasure()
           
 TypeBinding InferenceVariable.erasure()
           
 TypeBinding WildcardBinding.erasure()
           
 TypeBinding ParameterizedTypeBinding.erasure()
           
 TypeBinding CaptureBinding18.findSuperTypeOriginatingFrom(TypeBinding otherType)
           
 TypeBinding TypeBinding.findSuperTypeOriginatingFrom(TypeBinding otherType)
          Find supertype which originates from a given type, or null if not found
 TypeBinding TypeBinding.genericCast(TypeBinding targetType)
          Returns the type to use for generic cast, or null if none required
 TypeBinding[] InvocationSite.genericTypeArguments()
           
 TypeBinding[] InvocationSite.EmptyWithAstNode.genericTypeArguments()
           
 TypeBinding TypeSystem.getAnnotatedType(TypeBinding type, AnnotationBinding[][] annotations)
           
 TypeBinding AnnotatableTypeSystem.getAnnotatedType(TypeBinding type, AnnotationBinding[][] annotations)
           
 TypeBinding[] TypeSystem.getAnnotatedTypes(TypeBinding type)
           
 TypeBinding[] AnnotatableTypeSystem.getAnnotatedTypes(TypeBinding type)
           
 TypeBinding[] LookupEnvironment.getAnnotatedTypes(TypeBinding type)
           
static TypeBinding Scope.getBaseType(char[] name)
           
protected  TypeBinding[] TypeSystem.getDerivedTypes(TypeBinding keyType)
           
 TypeBinding TypeBinding.getErasureCompatibleType(TypeBinding declaringClass)
          Return the supertype which would erase as a subtype of a given declaring class.
 TypeBinding[] InferenceContext18.getFunctionInterfaceArgumentSolutions(TypeBinding[] a)
           
 TypeBinding TypeSystem.getIntersectionCastType(ReferenceBinding[] intersectingTypes)
           
 TypeBinding[] ParameterizedTypeBinding.getNonWildcardParameterization(Scope scope)
           
protected  TypeBinding InferenceSubstitution.getP(int i)
          Get the type corresponding to the ith inference variable.
static TypeBinding InferenceContext18.getParameter(TypeBinding[] parameters, int rank, boolean isVarArgs)
          Retrieve the rank'th parameter, possibly respecting varargs invocation, see 15.12.2.4.
 TypeBinding[] CatchParameterBinding.getPreciseTypes()
           
 TypeBinding IntersectionCastTypeBinding.getSAMType(Scope scope)
           
 TypeBinding[] InferenceContext18.getSolutions(TypeVariableBinding[] typeParameters, InvocationSite site, org.eclipse.jdt.internal.compiler.lookup.BoundSet boundSet)
          Retrieve the resolved solutions for all given type variables.
 TypeBinding[] InferenceContext.getSubstitutes(TypeVariableBinding typeVariable, int constraint)
           
 TypeBinding Scope.getType(char[] name)
           
 TypeBinding Scope.getType(char[][] compoundName, int typeNameLength)
           
 TypeBinding Scope.getType(char[] name, PackageBinding packageBinding)
           
 TypeBinding LookupEnvironment.getTypeFromTypeSignature(SignatureWrapper wrapper, TypeVariableBinding[] staticVariables, ReferenceBinding enclosingType, char[][][] missingTypeNames, TypeAnnotationWalker walker)
           
 TypeBinding TypeSystem.getUnannotatedType(TypeBinding type)
           
 TypeBinding LookupEnvironment.getUnannotatedType(TypeBinding typeBinding)
           
static TypeBinding[] Scope.greaterLowerBound(TypeBinding[] types, Scope scope, LookupEnvironment environment)
           
 TypeBinding InvocationSite.invocationTargetType()
           
 TypeBinding InvocationSite.EmptyWithAstNode.invocationTargetType()
           
 TypeBinding TypeBinding.leafComponentType()
           
 TypeBinding ArrayBinding.leafComponentType()
           
 TypeBinding Scope.lowerUpperBound(TypeBinding[] types)
          Returns VoidBinding if types have no intersection (e.g.
protected  TypeBinding[] Scope.minimalErasedCandidates(TypeBinding[] types, java.util.Map allInvocations)
          Returns the most specific set of types compatible with all given types.
 TypeBinding TypeBinding.original()
          Returns the orignal generic type instantiated by the receiver type, or itself if not.
 TypeBinding[] TypeVariableBinding.otherUpperBounds()
           
 TypeBinding UnresolvedReferenceBinding.prototype()
           
 TypeBinding TypeBinding.prototype()
          Return the primordial type from which the receiver was cloned.
 TypeBinding SourceTypeBinding.prototype()
           
 TypeBinding BinaryTypeBinding.prototype()
           
static TypeBinding BinaryTypeBinding.resolveType(TypeBinding type, LookupEnvironment environment, boolean convertGenericToRawType)
           
 TypeBinding TypeVariableBinding.setFirstBound(TypeBinding firstBound)
           
static TypeBinding Scope.substitute(Substitution substitution, TypeBinding originalType)
          Returns a type, where original type was substituted using the receiver parameterized type.
 TypeBinding Scope.Substitutor.substitute(Substitution substitution, TypeBinding originalType)
          Returns a type, where original type was substituted using the receiver parameterized type.
 TypeBinding InferenceSubstitution.substitute(Substitution substitution, TypeBinding originalType)
          Override method Scope.Substitutor.substitute(Substitution, TypeBinding), to add substitution of types other than type variables.
static TypeBinding[] Scope.substitute(Substitution substitution, TypeBinding[] originalTypes)
          Returns an array of types, where original types got substituted given a substitution.
 TypeBinding[] Scope.Substitutor.substitute(Substitution substitution, TypeBinding[] originalTypes)
          Returns an array of types, where original types got substituted given a substitution.
 TypeBinding InferenceContext18.substitute(TypeBinding type)
          Substitute any type variables mentioned in 'type' by the corresponding inference variable, if one exists.
 TypeBinding ParameterizedGenericMethodBinding.substitute(TypeVariableBinding originalVariable)
           
 TypeBinding Substitution.substitute(TypeVariableBinding typeVariable)
          Returns the type substitute for a given type variable, or itself if no substitution got performed.
 TypeBinding InferenceSubstitution.substitute(TypeVariableBinding typeVariable)
           
 TypeBinding ParameterizedTypeBinding.substitute(TypeVariableBinding originalVariable)
           
 TypeBinding[] ParameterizedTypeBinding.typeArguments()
           
 TypeBinding VoidTypeBinding.unannotated()
           
 TypeBinding NullTypeBinding.unannotated()
           
 TypeBinding TypeVariableBinding.unannotated()
           
 TypeBinding TypeBinding.unannotated()
          Return this type minus its type annotations
 TypeBinding ArrayBinding.unannotated()
           
 TypeBinding SourceTypeBinding.unannotated()
           
 TypeBinding WildcardBinding.unannotated()
           
 TypeBinding BinaryTypeBinding.unannotated()
           
 TypeBinding ParameterizedTypeBinding.unannotated()
           
 TypeBinding BaseTypeBinding.unannotated()
           
 TypeBinding CaptureBinding18.uncapture(Scope scope)
           
 TypeBinding TypeBinding.uncapture(Scope scope)
          Perform capture "deconversion" on a given type
 TypeBinding CaptureBinding.uncapture(Scope scope)
           
 TypeBinding ArrayBinding.uncapture(Scope scope)
           
 TypeBinding WildcardBinding.uncapture(Scope scope)
           
 TypeBinding ParameterizedTypeBinding.uncapture(Scope scope)
          Perform capture deconversion for a parameterized type with captured wildcard arguments
 TypeBinding TypeVariableBinding.upperBound()
          Upper bound doesn't perform erasure
static TypeBinding TypeBinding.wellKnownType(Scope scope, int id)
          Match a well-known type id to its binding
 

Methods in org.eclipse.jdt.internal.compiler.lookup with parameters of type TypeBinding
 SyntheticMethodBinding SourceTypeBinding.addSyntheticFactoryMethod(MethodBinding privateConstructor, MethodBinding publicConstructor, TypeBinding[] enclosingInstances)
           
 FieldBinding SourceTypeBinding.addSyntheticFieldForClassLiteral(TypeBinding targetType, BlockScope blockScope)
           
 SyntheticMethodBinding SourceTypeBinding.addSyntheticMethodForSwitchEnum(TypeBinding enumBinding)
           
 void InferenceContext18.addThrowsContraints(TypeBinding[] parameters, InferenceVariable[] variables, ReferenceBinding[] thrownExceptions)
          JLS 18.1.3 Bounds: throws α: the inference variable α appears in a throws clause
 InferenceVariable[] InferenceContext18.addTypeVariableSubstitutions(TypeBinding[] typeVariables)
          Add new inference variables for the given type variables.
 ParameterizedMethodBinding SyntheticFactoryMethodBinding.applyTypeArgumentsOnConstructor(TypeBinding[] typeArguments)
          Apply the given type arguments on the (declaring class of the) actual constructor being represented by this factory method.
 boolean MethodBinding.areParametersCompatibleWith(TypeBinding[] arguments)
           
 int TypeVariableBinding.boundCheck(Substitution substitution, TypeBinding argumentType, Scope scope)
          Returns true if the argument type satisfies all bounds of the type parameter
 boolean WildcardBinding.boundCheck(TypeBinding argumentType)
          Returns true if the argument type satisfies the wildcard bound(s)
 TypeBinding Scope.boxing(TypeBinding type)
           
protected  TypeBinding TypeSystem.cacheDerivedType(TypeBinding keyType, TypeBinding nakedType, TypeBinding derivedType)
           
 boolean MethodBinding.canBeSeenBy(TypeBinding receiverType, InvocationSite invocationSite, Scope scope)
           
 boolean FieldBinding.canBeSeenBy(TypeBinding receiverType, InvocationSite invocationSite, Scope scope)
           
 void BlockScope.checkAppropriateMethodAgainstSupers(char[] selector, MethodBinding compileTimeMethod, TypeBinding[] parameters, InvocationSite site)
          15.12.3 (Java 8) "Compile-Time Step 3: Is the Chosen Method Appropriate?"
 TypeBinding LocalTypeBinding.clone(TypeBinding outerType)
           
 TypeBinding VoidTypeBinding.clone(TypeBinding enclosingType)
           
 TypeBinding NullTypeBinding.clone(TypeBinding enclosingType)
           
 TypeBinding CaptureBinding18.clone(TypeBinding enclosingType)
           
 TypeBinding RawTypeBinding.clone(TypeBinding outerType)
           
 TypeBinding TypeVariableBinding.clone(TypeBinding enclosingType)
           
 TypeBinding UnresolvedReferenceBinding.clone(TypeBinding outerType)
           
 TypeBinding 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.
 TypeBinding CaptureBinding.clone(TypeBinding enclosingType)
           
 TypeBinding MissingTypeBinding.clone(TypeBinding outerType)
           
 TypeBinding ProblemReferenceBinding.clone(TypeBinding enclosingType)
           
 TypeBinding SourceTypeBinding.clone(TypeBinding immaterial)
           
 TypeBinding MemberTypeBinding.clone(TypeBinding outerType)
           
 TypeBinding WildcardBinding.clone(TypeBinding immaterial)
           
 TypeBinding BinaryTypeBinding.clone(TypeBinding outerType)
           
 TypeBinding ParameterizedTypeBinding.clone(TypeBinding outerType)
           
 TypeBinding BaseTypeBinding.clone(TypeBinding enclosingType)
           
 void TypeVariableBinding.collectSubstitutes(Scope scope, TypeBinding actualType, InferenceContext inferenceContext, int constraint)
          Collect the substitutes into a map for certain type variables inside the receiver type e.g.
 void TypeBinding.collectSubstitutes(Scope scope, TypeBinding actualType, InferenceContext inferenceContext, int constraint)
          Collect the substitutes into a map for certain type variables inside the receiver type e.g.
 void ArrayBinding.collectSubstitutes(Scope scope, TypeBinding actualType, InferenceContext inferenceContext, int constraint)
          Collect the substitutes into a map for certain type variables inside the receiver type e.g.
 void WildcardBinding.collectSubstitutes(Scope scope, TypeBinding actualType, InferenceContext inferenceContext, int constraint)
          Collect the substitutes into a map for certain type variables inside the receiver type e.g.
 void ParameterizedTypeBinding.collectSubstitutes(Scope scope, TypeBinding actualType, InferenceContext inferenceContext, int constraint)
          Collect the substitutes into a map for certain type variables inside the receiver type e.g.
static int Scope.compareTypes(TypeBinding left, TypeBinding right)
           
 TypeBinding LookupEnvironment.computeBoxingType(TypeBinding type)
           
protected  MethodBinding Scope.computeCompatibleMethod(MethodBinding method, TypeBinding[] arguments, InvocationSite invocationSite, int inferenceLevel)
          Internal use only Given a method, returns null if arguments cannot be converted to parameters.
protected  MethodBinding Scope.computeCompatibleMethod(MethodBinding method, TypeBinding[] arguments, InvocationSite invocationSite, int inferenceLevel, boolean tiebreakingVarargsMethods)
          Internal use only Given a method, returns null if arguments cannot be converted to parameters.
static MethodBinding ParameterizedGenericMethodBinding.computeCompatibleMethod(MethodBinding originalMethod, TypeBinding[] arguments, Scope scope, InvocationSite invocationSite, int inferenceLevel)
          Perform inference of generic method type parameters and/or expected type
static TypeBinding Scope.convertEliminatingTypeVariables(TypeBinding originalType, ReferenceBinding genericType, int rank, java.util.Set eliminatedVariables)
          Returns a type where either all variables or specific ones got discarded.
 TypeBinding LookupEnvironment.convertToRawType(TypeBinding type, boolean forceRawEnclosingType)
          Returns the given binding's raw type binding.
 TypeBinding LookupEnvironment.convertUnresolvedBinaryToRawType(TypeBinding type)
           
 TypeBinding LookupEnvironment.createAnnotatedType(TypeBinding type, AnnotationBinding[] newbies)
           
 TypeBinding LookupEnvironment.createAnnotatedType(TypeBinding type, AnnotationBinding[][] annotations)
           
 ArrayBinding Scope.createArrayType(TypeBinding type, int dimension)
           
 ArrayBinding LookupEnvironment.createArrayType(TypeBinding leafComponentType, int dimensionCount)
           
 ArrayBinding Scope.createArrayType(TypeBinding type, int dimension, AnnotationBinding[] annotations)
           
 ArrayBinding LookupEnvironment.createArrayType(TypeBinding leafComponentType, int dimensionCount, AnnotationBinding[] annotations)
           
 ParameterizedMethodBinding LookupEnvironment.createGetClassMethod(TypeBinding receiverType, MethodBinding originalMethod, Scope scope)
           
 void InferenceContext18.createInitialConstraintsForParameters(TypeBinding[] parameters, boolean checkVararg, TypeBinding varArgsType, MethodBinding method)
          JLS 18.5.1: compute bounds from formal and actual parameters.
 void InferenceContext18.createInitialConstraintsForParameters(TypeBinding[] parameters, boolean checkVararg, TypeBinding varArgsType, MethodBinding method)
          JLS 18.5.1: compute bounds from formal and actual parameters.
 ParameterizedGenericMethodBinding LookupEnvironment.createParameterizedGenericMethod(MethodBinding genericMethod, TypeBinding[] typeArguments)
           
 ParameterizedTypeBinding LookupEnvironment.createParameterizedType(ReferenceBinding genericType, TypeBinding[] typeArguments, ReferenceBinding enclosingType)
           
 ParameterizedTypeBinding LookupEnvironment.createParameterizedType(ReferenceBinding genericType, TypeBinding[] typeArguments, ReferenceBinding enclosingType, AnnotationBinding[] annotations)
           
 PolymorphicMethodBinding LookupEnvironment.createPolymorphicMethod(MethodBinding originalPolymorphicMethod, TypeBinding[] parameters)
           
 WildcardBinding LookupEnvironment.createWildcard(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind)
           
 WildcardBinding LookupEnvironment.createWildcard(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind)
           
 WildcardBinding LookupEnvironment.createWildcard(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind, AnnotationBinding[] annotations)
           
 WildcardBinding LookupEnvironment.createWildcard(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind, AnnotationBinding[] annotations)
           
 boolean ClassScope.detectHierarchyCycle(TypeBinding superType, TypeReference reference)
           
static boolean TypeBinding.equalsEquals(TypeBinding that, TypeBinding other)
           
protected  MethodBinding Scope.findDefaultAbstractMethod(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite, ReferenceBinding classHierarchyStart, ObjectVector found, MethodBinding concreteMatch)
           
 MethodBinding Scope.findExactMethod(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite)
           
 FieldBinding 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...
 FieldBinding Scope.findField(TypeBinding receiverType, char[] fieldName, InvocationSite invocationSite, boolean needResolve)
           
 FieldBinding Scope.findField(TypeBinding receiverType, char[] fieldName, InvocationSite invocationSite, boolean needResolve, boolean invisibleFieldsOk)
           
 MethodBinding Scope.findMethod(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite, boolean inStaticContext)
           
 MethodBinding Scope.findMethod0(ReferenceBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite, boolean inStaticContext)
           
 MethodBinding Scope.findMethodForArray(ArrayBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite)
           
 TypeBinding CaptureBinding18.findSuperTypeOriginatingFrom(TypeBinding otherType)
           
 TypeBinding TypeBinding.findSuperTypeOriginatingFrom(TypeBinding otherType)
          Find supertype which originates from a given type, or null if not found
 TypeBinding TypeBinding.genericCast(TypeBinding targetType)
          Returns the type to use for generic cast, or null if none required
 AccessRestriction LookupEnvironment.getAccessRestriction(TypeBinding type)
          Returns the access restriction associated to a given type, or null if none
 TypeBinding TypeSystem.getAnnotatedType(TypeBinding type, AnnotationBinding[][] annotations)
           
 TypeBinding AnnotatableTypeSystem.getAnnotatedType(TypeBinding type, AnnotationBinding[][] annotations)
           
 TypeBinding[] TypeSystem.getAnnotatedTypes(TypeBinding type)
           
 TypeBinding[] AnnotatableTypeSystem.getAnnotatedTypes(TypeBinding type)
           
 TypeBinding[] LookupEnvironment.getAnnotatedTypes(TypeBinding type)
           
 ArrayBinding TypeSystem.getArrayType(TypeBinding leafType, int dimensions)
           
 ArrayBinding AnnotatableTypeSystem.getArrayType(TypeBinding leaftType, int dimensions)
           
 ArrayBinding TypeSystem.getArrayType(TypeBinding leafComponentType, int dimensions, AnnotationBinding[] annotations)
           
 ArrayBinding AnnotatableTypeSystem.getArrayType(TypeBinding leafType, int dimensions, AnnotationBinding[] annotations)
           
 MethodBinding Scope.getConstructor(ReferenceBinding receiverType, TypeBinding[] argumentTypes, InvocationSite invocationSite)
           
 MethodBinding Scope.getConstructor0(ReferenceBinding receiverType, TypeBinding[] argumentTypes, InvocationSite invocationSite)
           
protected  TypeBinding[] TypeSystem.getDerivedTypes(TypeBinding keyType)
           
 TypeBinding TypeBinding.getErasureCompatibleType(TypeBinding declaringClass)
          Return the supertype which would erase as a subtype of a given declaring class.
 MethodBinding ReferenceBinding.getExactConstructor(TypeBinding[] argumentTypes)
           
 MethodBinding SourceTypeBinding.getExactConstructor(TypeBinding[] argumentTypes)
           
 MethodBinding BinaryTypeBinding.getExactConstructor(TypeBinding[] argumentTypes)
           
 MethodBinding ParameterizedTypeBinding.getExactConstructor(TypeBinding[] argumentTypes)
           
 MethodBinding Scope.getExactConstructor(TypeBinding receiverType, InvocationSite invocationSite)
           
 MethodBinding ReferenceBinding.getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope)
           
 MethodBinding SourceTypeBinding.getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope)
           
 MethodBinding BinaryTypeBinding.getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope)
           
 MethodBinding ParameterizedTypeBinding.getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope)
           
 MethodBinding Scope.getExactMethod(TypeBinding receiverType, char[] selector, InvocationSite invocationSite)
           
 FieldBinding Scope.getField(TypeBinding receiverType, char[] fieldName, InvocationSite invocationSite)
           
 TypeBinding[] InferenceContext18.getFunctionInterfaceArgumentSolutions(TypeBinding[] a)
           
 MethodBinding Scope.getImplicitMethod(char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite)
           
 MethodBinding Scope.getMethod(TypeBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite)
           
 MethodBinding Scope.getMethod(TypeBinding receiverType, char[] selector, TypeBinding[] argumentTypes, InvocationSite invocationSite)
           
static TypeBinding InferenceContext18.getParameter(TypeBinding[] parameters, int rank, boolean isVarArgs)
          Retrieve the rank'th parameter, possibly respecting varargs invocation, see 15.12.2.4.
 ParameterizedTypeBinding TypeSystem.getParameterizedType(ReferenceBinding genericType, TypeBinding[] typeArguments, ReferenceBinding enclosingType)
           
 ParameterizedTypeBinding AnnotatableTypeSystem.getParameterizedType(ReferenceBinding genericType, TypeBinding[] typeArguments, ReferenceBinding enclosingType)
           
 ParameterizedTypeBinding TypeSystem.getParameterizedType(ReferenceBinding genericType, TypeBinding[] typeArguments, ReferenceBinding enclosingType, AnnotationBinding[] annotations)
           
 ParameterizedTypeBinding AnnotatableTypeSystem.getParameterizedType(ReferenceBinding genericType, TypeBinding[] typeArguments, ReferenceBinding enclosingType, AnnotationBinding[] annotations)
           
 MethodBinding 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.
 MethodBinding Scope.getStaticFactory(ParameterizedTypeBinding allocationType, ReferenceBinding originalEnclosingType, TypeBinding[] argumentTypes, Invocation allocationSite)
           
 TypeBinding TypeSystem.getUnannotatedType(TypeBinding type)
           
 TypeBinding LookupEnvironment.getUnannotatedType(TypeBinding typeBinding)
           
 WildcardBinding TypeSystem.getWildcard(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind)
           
 WildcardBinding TypeSystem.getWildcard(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind)
           
 WildcardBinding AnnotatableTypeSystem.getWildcard(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind)
           
 WildcardBinding AnnotatableTypeSystem.getWildcard(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind)
           
 WildcardBinding TypeSystem.getWildcard(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind, AnnotationBinding[] annotations)
           
 WildcardBinding TypeSystem.getWildcard(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind, AnnotationBinding[] annotations)
           
 WildcardBinding AnnotatableTypeSystem.getWildcard(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind, AnnotationBinding[] annotations)
           
 WildcardBinding AnnotatableTypeSystem.getWildcard(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind, AnnotationBinding[] annotations)
           
static TypeBinding[] Scope.greaterLowerBound(TypeBinding[] types, Scope scope, LookupEnvironment environment)
           
 boolean Scope.hasErasedCandidatesCollisions(TypeBinding one, TypeBinding two, java.util.Map invocations, ReferenceBinding type, ASTNode typeRef)
           
 boolean InferenceContext18.hasResultFor(TypeBinding targetType)
           
 void InferenceContext18.inferInvocationApplicability(MethodBinding method, TypeBinding[] arguments, boolean isDiamond)
          JLS 18.5.1 Invocation Applicability Inference.
 org.eclipse.jdt.internal.compiler.lookup.BoundSet InferenceContext18.inferInvocationType(org.eclipse.jdt.internal.compiler.lookup.BoundSet b1, TypeBinding expectedType, InvocationSite invocationSite, MethodBinding method)
          JLS 18.5.2 Invocation Type Inference
protected  MethodBinding Scope.inferInvocationType(InvocationSite invocationSite, MethodBinding applicable, TypeBinding[] argumentTypes)
          Given a selected applibable method, check if it has an unfinished InferenceContext18 associated.
static ParameterizedMethodBinding ParameterizedMethodBinding.instantiateGetClass(TypeBinding receiverType, MethodBinding originalMethod, Scope scope)
          The type of x.getClass() is substituted from 'Class' into: 'Class
 boolean Scope.isBoxingCompatibleWith(TypeBinding expressionType, TypeBinding targetType)
           
 boolean TypeBinding.isCompatibleWith(TypeBinding right)
           
 boolean CaptureBinding18.isCompatibleWith(TypeBinding otherType, Scope captureScope)
           
abstract  boolean TypeBinding.isCompatibleWith(TypeBinding right, Scope scope)
           
 boolean ArrayBinding.isCompatibleWith(TypeBinding otherType, Scope captureScope)
           
 boolean ReferenceBinding.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)
 boolean InferenceVariable.isCompatibleWith(TypeBinding right, Scope scope)
           
 boolean IntersectionCastTypeBinding.isCompatibleWith(TypeBinding right, Scope scope)
           
 boolean PolyTypeBinding.isCompatibleWith(TypeBinding left, Scope scope)
           
 boolean BaseTypeBinding.isCompatibleWith(TypeBinding right, Scope captureScope)
           
static boolean ReferenceBinding.isConsistentIntersection(TypeBinding[] intersectingTypes)
           
 boolean CaptureBinding18.isEquivalentTo(TypeBinding otherType)
           
 boolean RawTypeBinding.isEquivalentTo(TypeBinding otherType)
           
 boolean TypeBinding.isEquivalentTo(TypeBinding otherType)
          Returns true if a type is identical to another one, or for generic types, true if compared to its raw type.
 boolean CaptureBinding.isEquivalentTo(TypeBinding otherType)
           
 boolean SourceTypeBinding.isEquivalentTo(TypeBinding otherType)
          Returns true if a type is identical to another one, or for generic types, true if compared to its raw type.
 boolean BinaryTypeBinding.isEquivalentTo(TypeBinding otherType)
          Returns true if a type is identical to another one, or for generic types, true if compared to its raw type.
 boolean ParameterizedTypeBinding.isEquivalentTo(TypeBinding otherType)
           
 boolean TypeVariableBinding.isErasureBoundTo(TypeBinding type)
          Returns true if the type variable is directly bound to a given type
 boolean Scope.isPossibleSubtypeOfRawType(TypeBinding paramType)
           
 boolean RawTypeBinding.isProvablyDistinct(TypeBinding otherType)
           
 boolean TypeBinding.isProvablyDistinct(TypeBinding otherType)
          Returns true if a type is provably distinct from another one,
 boolean TypeVariableBinding.isSubtypeOf(TypeBinding other)
           
 boolean TypeBinding.isSubtypeOf(TypeBinding right)
           
 boolean ArrayBinding.isSubtypeOf(TypeBinding otherType)
           
 boolean ReferenceBinding.isSubtypeOf(TypeBinding other)
           
 boolean IntersectionCastTypeBinding.isSubtypeOf(TypeBinding other)
           
protected  boolean ReferenceBinding.isSubTypeOfRTL(TypeBinding other)
           
 boolean TypeBinding.isTypeArgumentContainedBy(TypeBinding otherType)
           
 TypeBinding Scope.lowerUpperBound(TypeBinding[] types)
          Returns VoidBinding if types have no intersection (e.g.
 boolean PolymorphicMethodBinding.matches(TypeBinding[] matchingParameters, TypeBinding matchingReturnType)
           
 boolean PolymorphicMethodBinding.matches(TypeBinding[] matchingParameters, TypeBinding matchingReturnType)
           
 boolean TypeVariableBinding.mentionsAny(TypeBinding[] parameters, int idx)
           
 boolean TypeBinding.mentionsAny(TypeBinding[] parameters, int idx)
          Does this type mention any of the given type parameters, except the one at position 'idx'?
 boolean ArrayBinding.mentionsAny(TypeBinding[] parameters, int idx)
           
 boolean IntersectionCastTypeBinding.mentionsAny(TypeBinding[] parameters, int idx)
           
 boolean WildcardBinding.mentionsAny(TypeBinding[] parameters, int idx)
           
 boolean ParameterizedTypeBinding.mentionsAny(TypeBinding[] parameters, int idx)
           
protected  TypeBinding[] Scope.minimalErasedCandidates(TypeBinding[] types, java.util.Map allInvocations)
          Returns the most specific set of types compatible with all given types.
protected  MethodBinding Scope.mostSpecificMethodBinding(MethodBinding[] visible, int visibleSize, TypeBinding[] argumentTypes, InvocationSite invocationSite, ReferenceBinding receiverType)
           
 boolean TypeBinding.needsUncheckedConversion(TypeBinding targetType)
          Meant to be invoked on compatible types, to figure if unchecked conversion is necessary
static boolean TypeBinding.notEquals(TypeBinding that, TypeBinding other)
           
 int Scope.parameterCompatibilityLevel(MethodBinding method, TypeBinding[] arguments)
           
 int Scope.parameterCompatibilityLevel(MethodBinding method, TypeBinding[] arguments, boolean tiebreakingVarargsMethods)
           
 int Scope.parameterCompatibilityLevel(TypeBinding arg, TypeBinding param)
           
static ParameterizedTypeBinding InferenceContext18.parameterizedWithWildcard(TypeBinding type)
          If 'type' is a parameterized type and one of its arguments is a wildcard answer the casted type, else null.
 void InferenceContext18.rebindInnerPolies(org.eclipse.jdt.internal.compiler.lookup.BoundSet bounds, TypeBinding[] parameterTypes)
          After inference has finished, iterate all inner poly expressions (Invocations), that have been included in the inference.
 void IQualifiedTypeResolutionListener.recordResolution(QualifiedTypeReference typeReference, TypeBinding resolution)
          Notifies that the given resolution has been found for the given type reference.
 void InferenceContext.recordSubstitute(TypeVariableBinding typeVariable, TypeBinding actualType, int constraint)
           
 void CompilationUnitScope.recordTypeConversion(TypeBinding superType, TypeBinding subType)
           
 boolean InferenceContext18.reduceWithEqualityConstraints(TypeBinding[] p, TypeBinding[] q)
           
 boolean InferenceContext18.reduceWithEqualityConstraints(TypeBinding[] p, TypeBinding[] q)
           
 boolean InferenceContext18.registerSolution(TypeBinding targetType, MethodBinding updatedBinding)
           
static TypeBinding BinaryTypeBinding.resolveType(TypeBinding type, LookupEnvironment environment, boolean convertGenericToRawType)
           
 TypeBinding TypeVariableBinding.setFirstBound(TypeBinding firstBound)
           
 void CatchParameterBinding.setPreciseType(TypeBinding raisedException)
           
 boolean CaptureBinding18.setUpperBounds(TypeBinding[] upperBounds, ReferenceBinding javaLangObject)
           
 boolean TypeBinding.sIsMoreSpecific(TypeBinding s, TypeBinding t, Scope scope)
           
 boolean PolyTypeBinding.sIsMoreSpecific(TypeBinding s, TypeBinding t, Scope scope)
           
static TypeBinding Scope.substitute(Substitution substitution, TypeBinding originalType)
          Returns a type, where original type was substituted using the receiver parameterized type.
 TypeBinding Scope.Substitutor.substitute(Substitution substitution, TypeBinding originalType)
          Returns a type, where original type was substituted using the receiver parameterized type.
 TypeBinding InferenceSubstitution.substitute(Substitution substitution, TypeBinding originalType)
          Override method Scope.Substitutor.substitute(Substitution, TypeBinding), to add substitution of types other than type variables.
static TypeBinding[] Scope.substitute(Substitution substitution, TypeBinding[] originalTypes)
          Returns an array of types, where original types got substituted given a substitution.
 TypeBinding[] Scope.Substitutor.substitute(Substitution substitution, TypeBinding[] originalTypes)
          Returns an array of types, where original types got substituted given a substitution.
 TypeBinding InferenceContext18.substitute(TypeBinding type)
          Substitute any type variables mentioned in 'type' by the corresponding inference variable, if one exists.
 MethodBinding LookupEnvironment.updatePolymorphicMethodReturnType(PolymorphicMethodBinding binding, TypeBinding typeBinding)
           
static void TypeBindingVisitor.visit(TypeBindingVisitor visitor, TypeBinding type)
           
static void TypeBindingVisitor.visit(TypeBindingVisitor visitor, TypeBinding[] types)
           
 

Method parameters in org.eclipse.jdt.internal.compiler.lookup with type arguments of type TypeBinding
protected  void Scope.findMethodInSuperInterfaces(ReferenceBinding receiverType, char[] selector, ObjectVector found, java.util.List<TypeBinding> visitedTypes, InvocationSite invocationSite)
           
 

Constructors in org.eclipse.jdt.internal.compiler.lookup with parameters of type TypeBinding
ArrayBinding(TypeBinding type, int dimensions, LookupEnvironment environment)
           
CatchParameterBinding(LocalDeclaration declaration, TypeBinding type, int modifiers, boolean isArgument)
           
ConstraintExceptionFormula(FunctionalExpression left, TypeBinding type)
           
FieldBinding(char[] name, TypeBinding type, int modifiers, ReferenceBinding declaringClass, Constant constant)
           
FieldBinding(FieldDeclaration field, TypeBinding type, int modifiers, ReferenceBinding declaringClass)
           
InferenceVariable(TypeBinding typeParameter, int variableRank, InvocationSite site, LookupEnvironment environment, ReferenceBinding object)
           
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, 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)
          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)
           
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)
           
SyntheticFieldBinding(char[] name, TypeBinding type, int modifiers, ReferenceBinding declaringClass, Constant constant, int index)
           
SyntheticMethodBinding(FieldBinding targetField, ReferenceBinding declaringClass, TypeBinding enumBinding, char[] selector)
           
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)
WildcardBinding(ReferenceBinding genericType, int rank, TypeBinding bound, TypeBinding[] otherBounds, int boundKind, LookupEnvironment environment)
          When unbound, the bound denotes the corresponding type variable (so as to retrieve its bound lazily)
 

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

Methods in org.eclipse.jdt.internal.compiler.problem with parameters of type TypeBinding
 void ProblemReporter.annotationCircularity(TypeBinding sourceType, TypeBinding otherType, TypeReference reference)
           
 void ProblemReporter.annotationValueMustBeAnnotation(TypeBinding annotationType, char[] name, Expression value, TypeBinding expectedType)
           
 void ProblemReporter.annotationValueMustBeArrayInitializer(TypeBinding annotationType, char[] name, Expression value)
           
 void ProblemReporter.annotationValueMustBeClassLiteral(TypeBinding annotationType, char[] name, Expression value)
           
 void ProblemReporter.annotationValueMustBeConstant(TypeBinding annotationType, char[] name, Expression value, boolean isEnum)
           
 void ProblemReporter.anonymousClassCannotExtendFinalClass(TypeReference reference, TypeBinding type)
           
 void ProblemReporter.attemptToReturnNonVoidExpression(ReturnStatement returnStatement, TypeBinding expectedType)
           
 void ProblemReporter.autoboxing(Expression expression, TypeBinding originalType, TypeBinding convertedType)
           
 void ProblemReporter.boundCannotBeArray(ASTNode location, TypeBinding type)
           
 void ProblemReporter.boundMustBeAnInterface(ASTNode location, TypeBinding type)
           
 void ProblemReporter.cannotExtendEnum(SourceTypeBinding type, TypeReference superclass, TypeBinding superTypeBinding)
           
 void ProblemReporter.cannotInstantiate(Expression typeRef, TypeBinding type)
           
 void ProblemReporter.cannotThrowType(ASTNode exception, TypeBinding expectedType)
           
 void ProblemReporter.classExtendFinalClass(SourceTypeBinding type, TypeReference superclass, TypeBinding superTypeBinding)
           
 void ProblemReporter.conditionalArgumentsIncompatibleTypes(ConditionalExpression expression, TypeBinding trueType, TypeBinding falseType)
           
 void ProblemReporter.constantOutOfRange(Literal literal, TypeBinding literalType)
           
 void ProblemReporter.constructedArrayIncompatible(ReferenceExpression expression, TypeBinding receiverType, TypeBinding returnType)
           
 void ProblemReporter.containerAnnotationTypeHasWrongValueType(ASTNode markerNode, ReferenceBinding containerAnnotationType, ReferenceBinding annotationType, TypeBinding returnType)
           
 void ProblemReporter.corruptedSignature(TypeBinding enclosingType, char[] signature, int position)
           
 void ProblemReporter.danglingReference(ReferenceExpression expression, TypeBinding receiverType, char[] selector, TypeBinding[] descriptorParameters)
           
 void ProblemReporter.danglingReference(ReferenceExpression expression, TypeBinding receiverType, char[] selector, TypeBinding[] descriptorParameters)
           
 void ProblemReporter.deprecatedType(TypeBinding type, ASTNode location)
           
 void ProblemReporter.deprecatedType(TypeBinding type, ASTNode location, int index)
           
 void ProblemReporter.disallowedTargetForContainerAnnotation(Annotation annotation, TypeBinding containerAnnotationType)
           
 void ProblemReporter.duplicateAnnotationValue(TypeBinding annotationType, MemberValuePair memberValuePair)
           
 void ProblemReporter.duplicateBounds(ASTNode location, TypeBinding type)
           
 void ProblemReporter.duplicateTargetInTargetAnnotation(TypeBinding annotationType, NameReference reference)
           
 void ProblemReporter.errorNoMethodFor(Expression expression, TypeBinding recType, char[] selector, TypeBinding[] params)
           
 void ProblemReporter.errorNoMethodFor(Expression expression, TypeBinding recType, char[] selector, TypeBinding[] params)
           
 void ProblemReporter.errorNoMethodFor(MessageSend messageSend, TypeBinding recType, TypeBinding[] params)
           
 void ProblemReporter.errorNoMethodFor(MessageSend messageSend, TypeBinding recType, TypeBinding[] params)
           
 void ProblemReporter.forbiddenReference(TypeBinding type, ASTNode location, byte classpathEntryType, java.lang.String classpathEntryName, int problemId)
           
 void ProblemReporter.illegalAnnotationForBaseType(Annotation annotation, TypeBinding type)
           
 void ProblemReporter.illegalGenericArray(TypeBinding leafComponentType, ASTNode location)
           
 void ProblemReporter.illegalInstanceOfGenericType(TypeBinding checkedType, ASTNode location)
           
 void ProblemReporter.illegalPrimitiveOrArrayTypeForEnclosingInstance(TypeBinding enclosingType, ASTNode location)
           
 void ProblemReporter.illegalQualifiedParameterizedTypeAllocation(TypeReference qualifiedTypeReference, TypeBinding allocatedType)
           
 void ProblemReporter.illegalQualifierForExplicitThis(Receiver receiver, TypeBinding expectedType)
           
 void ProblemReporter.illegalReturnRedefinition(ASTNode location, MethodBinding descriptorMethod, char[][] nonNullAnnotationName, char[][] providedAnnotationName, TypeBinding providedType)
           
 void ProblemReporter.illegalSuperAccess(TypeBinding superType, TypeBinding directSuperType, ASTNode location)
           
 void ProblemReporter.illegalTypeForExplicitThis(Receiver receiver, TypeBinding expectedType)
           
 void ProblemReporter.incompatibleReturnType(ReferenceExpression expression, MethodBinding method, TypeBinding returnType)
           
 void ProblemReporter.incorrectArityForParameterizedType(ASTNode location, TypeBinding type, TypeBinding[] argumentTypes)
           
 void ProblemReporter.incorrectArityForParameterizedType(ASTNode location, TypeBinding type, TypeBinding[] argumentTypes)
           
 void ProblemReporter.incorrectArityForParameterizedType(ASTNode location, TypeBinding type, TypeBinding[] argumentTypes, int index)
           
 void ProblemReporter.incorrectArityForParameterizedType(ASTNode location, TypeBinding type, TypeBinding[] argumentTypes, int index)
           
 void ProblemReporter.incorrectSwitchType(Expression expression, TypeBinding testType)
           
 void ProblemReporter.invalidArrayConstructorReference(ReferenceExpression expression, TypeBinding lhsType, TypeBinding[] parameters)
           
 void ProblemReporter.invalidArrayConstructorReference(ReferenceExpression expression, TypeBinding lhsType, TypeBinding[] parameters)
           
 void ProblemReporter.invalidEnclosingType(Expression expression, TypeBinding type, ReferenceBinding enclosingType)
           
 void ProblemReporter.invalidField(FieldReference fieldRef, TypeBinding searchedType)
           
 void ProblemReporter.invalidField(QualifiedNameReference nameRef, FieldBinding field, int index, TypeBinding searchedType)
           
 void ProblemReporter.invalidOperator(BinaryExpression expression, TypeBinding leftType, TypeBinding rightType)
           
 void ProblemReporter.invalidOperator(CompoundAssignment assign, TypeBinding leftType, TypeBinding rightType)
           
 void ProblemReporter.invalidOperator(UnaryExpression expression, TypeBinding type)
           
 void ProblemReporter.invalidParameterizedExceptionType(TypeBinding exceptionType, ASTNode location)
           
 void ProblemReporter.invalidType(ASTNode location, TypeBinding type)
           
 void ProblemReporter.invalidTypeToSynchronize(Expression expression, TypeBinding type)
           
 void ProblemReporter.invalidTypeVariableAsException(TypeBinding exceptionType, ASTNode location)
           
 void ProblemReporter.javadocDeprecatedType(TypeBinding type, ASTNode location, int modifiers)
           
 void ProblemReporter.javadocDeprecatedType(TypeBinding type, ASTNode location, int modifiers, int index)
           
 void ProblemReporter.javadocErrorNoMethodFor(MessageSend messageSend, TypeBinding recType, TypeBinding[] params, int modifiers)
           
 void ProblemReporter.javadocErrorNoMethodFor(MessageSend messageSend, TypeBinding recType, TypeBinding[] params, int modifiers)
           
 void ProblemReporter.javadocInvalidField(FieldReference fieldRef, Binding fieldBinding, TypeBinding searchedType, int modifiers)
           
 void ProblemReporter.javadocInvalidType(ASTNode location, TypeBinding type, int modifiers)
           
 void ProblemReporter.lambdaParameterTypeMismatched(Argument argument, TypeReference type, TypeBinding expectedParameterType)
           
 void ProblemReporter.missingDefaultCase(SwitchStatement switchStatement, boolean isEnumSwitch, TypeBinding expressionType)
           
 void ProblemReporter.nonGenericTypeCannotBeParameterized(int index, ASTNode location, TypeBinding type, TypeBinding[] argumentTypes)
           
 void ProblemReporter.nonGenericTypeCannotBeParameterized(int index, ASTNode location, TypeBinding type, TypeBinding[] argumentTypes)
           
 void ProblemReporter.noSuchEnclosingInstance(TypeBinding targetType, ASTNode location, boolean isConstructorCall)
           
 void ProblemReporter.notCompatibleTypesError(EqualExpression expression, TypeBinding leftType, TypeBinding rightType)
           
 void ProblemReporter.notCompatibleTypesError(InstanceOfExpression expression, TypeBinding leftType, TypeBinding rightType)
           
 void ProblemReporter.notCompatibleTypesErrorInForeach(Expression expression, TypeBinding leftType, TypeBinding rightType)
           
 void ProblemReporter.nullityMismatch(Expression expression, TypeBinding providedType, TypeBinding requiredType, int nullStatus, char[][] annotationName)
           
 void ProblemReporter.nullityMismatchingTypeAnnotation(Expression expression, TypeBinding providedType, TypeBinding requiredType, NullAnnotationMatching status)
           
 void ProblemReporter.nullityMismatchIsNull(Expression expression, TypeBinding requiredType)
           
 void ProblemReporter.nullityMismatchIsUnknown(Expression expression, TypeBinding providedType, TypeBinding requiredType, char[][] annotationName)
           
 void ProblemReporter.nullityMismatchPotentiallyNull(Expression expression, TypeBinding requiredType, char[][] annotationName)
           
 void ProblemReporter.nullityMismatchSpecdNullable(Expression expression, TypeBinding requiredType, char[][] annotationName)
           
 void ProblemReporter.nullityMismatchTypeArgument(TypeBinding typeVariable, TypeBinding typeArgument, ASTNode location)
           
 void ProblemReporter.nullUnboxing(ASTNode expression, TypeBinding boxType)
           
 void ProblemReporter.operatorOnlyValidOnNumericType(CompoundAssignment assignment, TypeBinding leftType, TypeBinding rightType)
           
 void ProblemReporter.parameterizedMemberTypeMissingArguments(ASTNode location, TypeBinding type, int index)
           
 void ProblemReporter.potentialNullUnboxing(ASTNode expression, TypeBinding boxType)
           
 void ProblemReporter.rawMemberTypeCannotBeParameterized(ASTNode location, ReferenceBinding type, TypeBinding[] argumentTypes)
           
 void ProblemReporter.rawTypeReference(ASTNode location, TypeBinding type)
           
 void ProblemReporter.redundantSpecificationOfTypeArguments(ASTNode location, TypeBinding[] argumentTypes)
           
 void ProblemReporter.referenceExpressionArgumentNullityMismatch(ReferenceExpression location, TypeBinding requiredType, TypeBinding providedType, MethodBinding descriptorMethod, int idx, NullAnnotationMatching status)
           
 void ProblemReporter.referenceMustBeArrayTypeAt(TypeBinding arrayType, ArrayReference arrayRef)
           
 void ProblemReporter.resourceHasToImplementAutoCloseable(TypeBinding binding, TypeReference typeReference)
           
 void ProblemReporter.shouldReturn(TypeBinding returnType, ASTNode location)
           
 void ProblemReporter.superinterfacesCollide(TypeBinding type, ASTNode decl, TypeBinding superType, TypeBinding inheritedSuperType)
           
 void ProblemReporter.superTypeCannotUseWildcard(SourceTypeBinding type, TypeReference superclass, TypeBinding superTypeBinding)
           
 void ProblemReporter.typeCastError(CastExpression expression, TypeBinding leftType, TypeBinding rightType)
           
 void ProblemReporter.typeHiding(TypeDeclaration typeDecl, TypeBinding hiddenType)
           
 void ProblemReporter.typeMismatchError(TypeBinding actualType, TypeBinding expectedType, ASTNode location, ASTNode expectingLocation)
           
 void ProblemReporter.typeMismatchError(TypeBinding typeArgument, TypeVariableBinding typeParameter, ReferenceBinding genericType, ASTNode location)
           
 void ProblemReporter.undefinedAnnotationValue(TypeBinding annotationType, MemberValuePair memberValuePair)
           
 void ProblemReporter.unhandledException(TypeBinding exceptionType, ASTNode location)
           
 void ProblemReporter.unhandledException(TypeBinding exceptionType, ReferenceExpression location)
           
 void ProblemReporter.unhandledExceptionFromAutoClose(TypeBinding exceptionType, ASTNode location)
           
 void ProblemReporter.uninternedIdentityComparison(EqualExpression expr, TypeBinding lhs, TypeBinding rhs, CompilationUnitDeclaration unit)
           
 void ProblemReporter.unnecessaryInstanceof(InstanceOfExpression instanceofExpression, TypeBinding checkType)
           
 void ProblemReporter.unnecessaryTypeArgumentsForMethodInvocation(MethodBinding method, TypeBinding[] genericTypeArguments, TypeReference[] typeArguments)
           
 void ProblemReporter.unsafeElementTypeConversion(Expression expression, TypeBinding expressionType, TypeBinding expectedType)
           
 void ProblemReporter.unsafeGenericArrayForVarargs(TypeBinding leafComponentType, ASTNode location)
           
 void ProblemReporter.unsafeRawFieldAssignment(FieldBinding field, TypeBinding expressionType, ASTNode location)
           
 void ProblemReporter.unsafeRawGenericMethodInvocation(ASTNode location, MethodBinding rawMethod, TypeBinding[] argumentTypes)
           
 void ProblemReporter.unsafeTypeConversion(Expression expression, TypeBinding expressionType, TypeBinding expectedType)
           
 void ProblemReporter.varargsArgumentNeedCast(MethodBinding method, TypeBinding argumentType, InvocationSite location)
           
 void ProblemReporter.wildcardAssignment(TypeBinding variableType, TypeBinding expressionType, ASTNode location)
           
 void ProblemReporter.wildcardInvocation(ASTNode location, TypeBinding receiverType, MethodBinding method, TypeBinding[] arguments)
           
 void ProblemReporter.wildcardInvocation(ASTNode location, TypeBinding receiverType, MethodBinding method, TypeBinding[] arguments)
           
 void ProblemReporter.wrongSequenceOfExceptionTypes(TypeReference typeRef, TypeBinding exceptionType, TypeBinding hidingExceptionType)
           
 void ProblemReporter.wrongSequenceOfExceptionTypesError(TypeReference typeRef, TypeBinding exceptionType, TypeBinding hidingExceptionType)
           
 

Uses of TypeBinding in org.eclipse.jdt.internal.compiler.util
 

Methods in org.eclipse.jdt.internal.compiler.util with parameters of type TypeBinding
static void Util.recordNestedType(ClassFile classFile, TypeBinding typeBinding)
           
 

Uses of TypeBinding in org.eclipse.jdt.internal.core.util
 

Methods in org.eclipse.jdt.internal.core.util with parameters of type TypeBinding
static JavaElement Util.getUnresolvedJavaElement(TypeBinding typeBinding, WorkingCopyOwner workingCopyOwner, Util.BindingsToNodesMap bindingsToNodes)
          Return the java element corresponding to the given compiler binding.