|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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.apt.model |
---|
Constructors in org.eclipse.jdt.internal.compiler.apt.model with parameters of type TypeBinding | |
---|---|
AnnotationValueImpl(BaseProcessingEnvImpl env,
Object value,
TypeBinding type)
|
Uses of TypeBinding in org.eclipse.jdt.internal.compiler.ast |
---|
Fields in org.eclipse.jdt.internal.compiler.ast declared as TypeBinding | |
---|---|
TypeBinding |
NameReference.actualReceiverType
|
TypeBinding |
MessageSend.actualReceiverType
|
TypeBinding |
FieldReference.actualReceiverType
|
TypeBinding |
ThrowStatement.exceptionType
|
TypeBinding |
MessageSend.expectedType
|
TypeBinding |
CastExpression.expectedType
|
TypeBinding |
SingleNameReference.genericCast
|
TypeBinding |
QualifiedNameReference.genericCast
|
TypeBinding |
FieldReference.genericCast
|
TypeBinding[] |
MessageSend.genericTypeArguments
|
TypeBinding[] |
ExplicitConstructorCall.genericTypeArguments
|
TypeBinding[] |
AllocationExpression.genericTypeArguments
|
TypeBinding[] |
QualifiedNameReference.otherGenericCasts
|
TypeBinding |
Expression.resolvedType
|
TypeBinding |
ClassLiteralAccess.targetType
|
protected TypeBinding |
AllocationExpression.typeExpected
|
TypeBinding |
MessageSend.valueCast
|
Methods in org.eclipse.jdt.internal.compiler.ast that return TypeBinding | |
---|---|
TypeBinding |
SingleNameReference.checkFieldAccess(BlockScope scope)
|
TypeBinding |
Statement.expectedType()
Implementation of InvocationSite.expectedType()
suitable at this level. |
TypeBinding |
MessageSend.expectedType()
|
TypeBinding |
AllocationExpression.expectedType()
|
protected TypeBinding |
QualifiedTypeReference.findNextTypeBinding(int tokenIndex,
Scope scope,
PackageBinding packageBinding)
|
TypeBinding[] |
SingleNameReference.genericTypeArguments()
|
TypeBinding[] |
QualifiedNameReference.genericTypeArguments()
|
TypeBinding[] |
MessageSend.genericTypeArguments()
|
TypeBinding[] |
FieldReference.genericTypeArguments()
|
TypeBinding[] |
ExplicitConstructorCall.genericTypeArguments()
|
TypeBinding[] |
AllocationExpression.genericTypeArguments()
|
TypeBinding[] |
AbstractVariableDeclaration.genericTypeArguments()
|
protected TypeBinding |
QualifiedNameReference.getFinalReceiverType()
Returns the receiver type for the final field in sequence (i.e. |
protected TypeBinding |
QualifiedNameReference.getGenericCast(int index)
|
TypeBinding |
QualifiedNameReference.getOtherFieldBindings(BlockScope scope)
|
protected TypeBinding |
UnionTypeReference.getTypeBinding(Scope scope)
|
protected abstract TypeBinding |
TypeReference.getTypeBinding(Scope scope)
|
protected TypeBinding |
SingleTypeReference.getTypeBinding(Scope scope)
|
protected TypeBinding |
QualifiedTypeReference.getTypeBinding(Scope scope)
|
protected TypeBinding |
ParameterizedSingleTypeReference.getTypeBinding(Scope scope)
|
protected TypeBinding |
ParameterizedQualifiedTypeReference.getTypeBinding(Scope scope)
|
protected TypeBinding |
JavadocImplicitTypeReference.getTypeBinding(Scope scope)
|
protected TypeBinding |
ArrayTypeReference.getTypeBinding(Scope scope)
|
protected TypeBinding |
ArrayQualifiedTypeReference.getTypeBinding(Scope scope)
|
TypeBinding[] |
AllocationExpression.inferElidedTypes(ReferenceBinding allocationType,
ReferenceBinding enclosingType,
TypeBinding[] argumentTypes,
BlockScope scope)
|
protected TypeBinding |
TypeReference.internalResolveType(Scope scope)
|
protected TypeBinding |
JavadocSingleTypeReference.internalResolveType(Scope scope)
|
protected TypeBinding |
JavadocImplicitTypeReference.internalResolveType(Scope scope)
|
protected TypeBinding |
JavadocFieldReference.internalResolveType(Scope scope)
|
TypeBinding |
TrueLiteral.literalType(BlockScope scope)
|
TypeBinding |
StringLiteral.literalType(BlockScope scope)
|
TypeBinding |
NullLiteral.literalType(BlockScope scope)
|
TypeBinding |
LongLiteral.literalType(BlockScope scope)
|
abstract TypeBinding |
Literal.literalType(BlockScope scope)
|
TypeBinding |
IntLiteral.literalType(BlockScope scope)
|
TypeBinding |
FloatLiteral.literalType(BlockScope scope)
|
TypeBinding |
FalseLiteral.literalType(BlockScope scope)
|
TypeBinding |
DoubleLiteral.literalType(BlockScope scope)
|
TypeBinding |
CharLiteral.literalType(BlockScope scope)
|
TypeBinding |
SingleNameReference.postConversionType(Scope scope)
|
TypeBinding |
QualifiedNameReference.postConversionType(Scope scope)
|
TypeBinding |
MessageSend.postConversionType(Scope scope)
|
TypeBinding |
FieldReference.postConversionType(Scope scope)
|
TypeBinding |
Expression.postConversionType(Scope scope)
Returns the type of the expression after required implicit conversions. |
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. |
TypeBinding |
Argument.resolveForCatch(BlockScope scope)
|
TypeBinding |
TypeReference.resolveSuperType(ClassScope scope)
|
TypeBinding |
UnaryExpression.resolveType(BlockScope scope)
|
TypeBinding |
TypeReference.resolveType(BlockScope blockScope)
|
TypeBinding |
ThisReference.resolveType(BlockScope scope)
|
TypeBinding |
SuperReference.resolveType(BlockScope scope)
|
TypeBinding |
SingleNameReference.resolveType(BlockScope scope)
|
TypeBinding |
QualifiedThisReference.resolveType(BlockScope scope)
|
TypeBinding |
QualifiedSuperReference.resolveType(BlockScope scope)
|
TypeBinding |
QualifiedNameReference.resolveType(BlockScope scope)
|
TypeBinding |
QualifiedAllocationExpression.resolveType(BlockScope scope)
|
TypeBinding |
OR_OR_Expression.resolveType(BlockScope scope)
|
TypeBinding |
MessageSend.resolveType(BlockScope scope)
|
TypeBinding |
Literal.resolveType(BlockScope scope)
|
TypeBinding |
JavadocMessageSend.resolveType(BlockScope scope)
|
TypeBinding |
JavadocFieldReference.resolveType(BlockScope scope)
|
TypeBinding |
JavadocArgumentExpression.resolveType(BlockScope scope)
|
TypeBinding |
JavadocAllocationExpression.resolveType(BlockScope scope)
|
TypeBinding |
InstanceOfExpression.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 |
EqualExpression.resolveType(BlockScope scope)
|
TypeBinding |
ConditionalExpression.resolveType(BlockScope scope)
|
TypeBinding |
CompoundAssignment.resolveType(BlockScope scope)
|
TypeBinding |
CombinedBinaryExpression.resolveType(BlockScope scope)
|
TypeBinding |
ClassLiteralAccess.resolveType(BlockScope scope)
|
TypeBinding |
CastExpression.resolveType(BlockScope scope)
|
TypeBinding |
BinaryExpression.resolveType(BlockScope scope)
|
TypeBinding |
Assignment.resolveType(BlockScope scope)
|
TypeBinding |
ArrayReference.resolveType(BlockScope scope)
|
TypeBinding |
ArrayAllocationExpression.resolveType(BlockScope scope)
|
TypeBinding |
Annotation.resolveType(BlockScope scope)
|
TypeBinding |
AND_AND_Expression.resolveType(BlockScope scope)
|
TypeBinding |
AllocationExpression.resolveType(BlockScope scope)
|
TypeBinding |
Wildcard.resolveType(BlockScope scope,
boolean checkBounds)
|
TypeBinding |
UnionTypeReference.resolveType(BlockScope scope,
boolean checkBounds)
|
TypeBinding |
TypeReference.resolveType(BlockScope scope,
boolean checkBounds)
|
TypeBinding |
ParameterizedSingleTypeReference.resolveType(BlockScope scope,
boolean checkBounds)
|
TypeBinding |
ParameterizedQualifiedTypeReference.resolveType(BlockScope scope,
boolean checkBounds)
|
TypeBinding |
JavadocQualifiedTypeReference.resolveType(BlockScope blockScope,
boolean checkBounds)
|
TypeBinding |
Wildcard.resolveType(ClassScope scope)
|
TypeBinding |
TypeReference.resolveType(ClassScope scope)
|
TypeBinding |
ParameterizedSingleTypeReference.resolveType(ClassScope scope)
|
TypeBinding |
ParameterizedQualifiedTypeReference.resolveType(ClassScope scope)
|
TypeBinding |
JavadocQualifiedTypeReference.resolveType(ClassScope classScope)
|
TypeBinding |
JavadocMessageSend.resolveType(ClassScope scope)
|
TypeBinding |
JavadocFieldReference.resolveType(ClassScope scope)
|
TypeBinding |
JavadocArgumentExpression.resolveType(ClassScope scope)
|
TypeBinding |
JavadocAllocationExpression.resolveType(ClassScope scope)
|
TypeBinding |
Expression.resolveType(ClassScope scope)
Resolve the type of this expression in the context of a classScope |
TypeBinding |
Wildcard.resolveTypeArgument(BlockScope blockScope,
ReferenceBinding genericType,
int rank)
|
TypeBinding |
TypeReference.resolveTypeArgument(BlockScope blockScope,
ReferenceBinding genericType,
int rank)
|
TypeBinding |
Wildcard.resolveTypeArgument(ClassScope classScope,
ReferenceBinding genericType,
int rank)
|
TypeBinding |
TypeReference.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 with parameters of type TypeBinding | |
---|---|
void |
Argument.bind(MethodScope scope,
TypeBinding typeBinding,
boolean used)
|
boolean |
Expression.checkCastTypesCompatibility(Scope scope,
TypeBinding castType,
TypeBinding expressionType,
Expression expression)
Returns false if cast is not legal. |
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 |
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 |
SingleNameReference.computeConversion(Scope scope,
TypeBinding runtimeTimeType,
TypeBinding compileTimeType)
|
void |
QualifiedNameReference.computeConversion(Scope scope,
TypeBinding runtimeTimeType,
TypeBinding compileTimeType)
|
void |
MessageSend.computeConversion(Scope scope,
TypeBinding runtimeTimeType,
TypeBinding compileTimeType)
|
void |
FieldReference.computeConversion(Scope scope,
TypeBinding runtimeTimeType,
TypeBinding compileTimeType)
|
void |
Expression.computeConversion(Scope scope,
TypeBinding runtimeType,
TypeBinding compileTimeType)
Base types need that the widening is explicitly done by the compiler using some bytecode like i2f. |
void |
Reference.fieldStore(Scope currentScope,
CodeStream codeStream,
FieldBinding fieldBinding,
MethodBinding syntheticWriteAccessor,
TypeBinding receiverType,
boolean isImplicitThisReceiver,
boolean valueRequired)
|
TypeBinding[] |
AllocationExpression.inferElidedTypes(ReferenceBinding allocationType,
ReferenceBinding enclosingType,
TypeBinding[] argumentTypes,
BlockScope scope)
|
protected boolean |
Statement.isBoxingCompatible(TypeBinding expressionType,
TypeBinding targetType,
Expression expression,
Scope scope)
|
boolean |
Expression.isConstantValueOfTypeAssignableToType(TypeBinding constantType,
TypeBinding targetType)
|
boolean |
ASTNode.isTypeUseDeprecated(TypeBinding type,
Scope scope)
|
protected void |
TypeReference.reportDeprecatedType(TypeBinding type,
Scope scope)
|
protected void |
JavadocSingleTypeReference.reportDeprecatedType(TypeBinding type,
Scope scope)
|
protected void |
JavadocQualifiedTypeReference.reportDeprecatedType(TypeBinding type,
Scope scope)
|
protected void |
JavadocImplicitTypeReference.reportDeprecatedType(TypeBinding type,
Scope scope)
|
protected void |
JavadocArraySingleTypeReference.reportDeprecatedType(TypeBinding type,
Scope scope)
|
protected void |
JavadocArrayQualifiedTypeReference.reportDeprecatedType(TypeBinding type,
Scope scope)
|
protected void |
TypeReference.reportDeprecatedType(TypeBinding type,
Scope scope,
int index)
|
protected void |
JavadocQualifiedTypeReference.reportDeprecatedType(TypeBinding type,
Scope scope,
int index)
|
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. |
void |
MemberValuePair.resolveTypeExpecting(BlockScope scope,
TypeBinding requiredType)
|
TypeBinding |
Expression.resolveTypeExpecting(BlockScope scope,
TypeBinding expectedType)
|
TypeBinding |
Assignment.resolveTypeExpecting(BlockScope scope,
TypeBinding expectedType)
|
TypeBinding |
ArrayInitializer.resolveTypeExpecting(BlockScope scope,
TypeBinding expectedType)
|
void |
MessageSend.setExpectedType(TypeBinding expectedType)
|
void |
Expression.setExpectedType(TypeBinding expectedType)
Record the type expectation before this expression is typechecked. |
void |
CastExpression.setExpectedType(TypeBinding expectedType)
|
void |
AllocationExpression.setExpectedType(TypeBinding expectedType)
|
protected void |
QualifiedNameReference.setGenericCast(int index,
TypeBinding someGenericCast)
|
void |
InstanceOfExpression.tagAsUnnecessaryCast(Scope scope,
TypeBinding castType)
|
void |
Expression.tagAsUnnecessaryCast(Scope scope,
TypeBinding castType)
Record the fact a cast expression got detected as being unnecessary. |
void |
CastExpression.tagAsUnnecessaryCast(Scope scope,
TypeBinding castType)
|
protected void |
TryStatement.verifyDuplicationAndOrder(int length,
TypeBinding[] argumentTypes,
boolean containsUnionTypes)
|
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 |
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 conflit with the instanceof keyword |
void |
CodeStream.invoke(byte opcode,
MethodBinding methodBinding,
TypeBinding declaringClass)
|
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.literalIndexForType(TypeBinding binding)
|
protected void |
CodeStream.load(TypeBinding typeBinding,
int resolvedPosition)
|
void |
CodeStream.multianewarray(TypeBinding typeBinding,
int dimensions)
|
void |
CodeStream.new_(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)
|
|
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[] |
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)
|
void |
ExceptionHandlingFlowContext.mergeUnhandledException(TypeBinding newException)
|
void |
InitializationFlowContext.recordHandlingException(ReferenceBinding exceptionType,
UnconditionalFlowInfo flowInfo,
TypeBinding raisedException,
TypeBinding caughtException,
ASTNode invocationSite,
boolean wasMasked)
|
void |
ExceptionHandlingFlowContext.recordHandlingException(ReferenceBinding exceptionType,
UnconditionalFlowInfo flowInfo,
TypeBinding raisedException,
TypeBinding caughtException,
ASTNode invocationSite,
boolean wasAlreadyDefinitelyCaught)
|
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 |
LocalTypeBinding
|
class |
MemberTypeBinding
|
class |
MissingTypeBinding
|
class |
NestedTypeBinding
|
class |
ParameterizedTypeBinding
A parameterized type encapsulates a type with type arguments, |
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 |
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.returnType
|
TypeBinding |
SyntheticMethodBinding.targetEnumType
|
TypeBinding |
VariableBinding.type
|
TypeBinding[] |
ParameterizedGenericMethodBinding.typeArguments
|
Methods in org.eclipse.jdt.internal.compiler.lookup that return TypeBinding | |
---|---|
TypeBinding |
Scope.boxing(TypeBinding type)
|
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 |
TypeBinding.closestMatch()
In case of problems, returns the closest match found. |
TypeBinding |
ProblemReferenceBinding.closestMatch()
|
TypeBinding |
ArrayBinding.closestMatch()
|
TypeBinding |
LookupEnvironment.computeBoxingType(TypeBinding type)
|
static TypeBinding |
Scope.convertEliminatingTypeVariables(TypeBinding originalType,
ReferenceBinding genericType,
int rank,
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 |
ArrayBinding.elementsType()
|
TypeBinding |
WildcardBinding.erasure()
|
TypeBinding |
TypeVariableBinding.erasure()
|
TypeBinding |
TypeBinding.erasure()
|
TypeBinding |
ParameterizedTypeBinding.erasure()
|
TypeBinding |
ArrayBinding.erasure()
|
TypeBinding |
InvocationSite.expectedType()
|
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()
|
static TypeBinding |
Scope.getBaseType(char[] name)
|
TypeBinding |
TypeBinding.getErasureCompatibleType(TypeBinding declaringClass)
Return the supertype which would erase as a subtype of a given declaring class. |
TypeBinding[] |
CatchParameterBinding.getPreciseTypes()
|
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)
|
static TypeBinding[] |
Scope.greaterLowerBound(TypeBinding[] types)
|
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,
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()
|
static TypeBinding |
BinaryTypeBinding.resolveType(TypeBinding type,
LookupEnvironment environment,
boolean convertGenericToRawType)
|
static TypeBinding |
Scope.substitute(Substitution substitution,
TypeBinding originalType)
Returns a type, where original type was substituted using the receiver parameterized type. |
static TypeBinding[] |
Scope.substitute(Substitution substitution,
TypeBinding[] originalTypes)
Returns an array of types, where original types got substituted given a substitution. |
TypeBinding |
Substitution.substitute(TypeVariableBinding typeVariable)
Returns the type substitute for a given type variable, or itself if no substitution got performed. |
TypeBinding |
ParameterizedTypeBinding.substitute(TypeVariableBinding originalVariable)
|
TypeBinding |
ParameterizedGenericMethodBinding.substitute(TypeVariableBinding originalVariable)
|
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 | |
---|---|
FieldBinding |
SourceTypeBinding.addSyntheticFieldForClassLiteral(TypeBinding targetType,
BlockScope blockScope)
|
SyntheticMethodBinding |
SourceTypeBinding.addSyntheticMethodForSwitchEnum(TypeBinding enumBinding)
|
boolean |
MethodBinding.areParametersCompatibleWith(TypeBinding[] arguments)
|
int |
TypeVariableBinding.boundCheck(Substitution substitution,
TypeBinding argumentType)
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)
|
boolean |
MethodBinding.canBeSeenBy(TypeBinding receiverType,
InvocationSite invocationSite,
Scope scope)
|
boolean |
FieldBinding.canBeSeenBy(TypeBinding receiverType,
InvocationSite invocationSite,
Scope scope)
|
void |
WildcardBinding.collectSubstitutes(Scope scope,
TypeBinding actualType,
InferenceContext inferenceContext,
int constraint)
Collect the substitutes into a map for certain type variables inside the receiver type e.g. |
void |
TypeVariableBinding.collectSubstitutes(Scope scope,
TypeBinding actualType,
InferenceContext inferenceContext,
int constraint)
Collect the substitutes into a map for certain type variables inside the receiver type e.g. |
void |
TypeBinding.collectSubstitutes(Scope scope,
TypeBinding actualType,
InferenceContext inferenceContext,
int constraint)
Collect the substitutes into a map for certain type variables inside the receiver type e.g. |
void |
ParameterizedTypeBinding.collectSubstitutes(Scope scope,
TypeBinding actualType,
InferenceContext inferenceContext,
int constraint)
Collect the substitutes into a map for certain type variables inside the receiver type e.g. |
void |
ArrayBinding.collectSubstitutes(Scope scope,
TypeBinding actualType,
InferenceContext inferenceContext,
int constraint)
Collect the substitutes into a map for certain type variables inside the receiver type e.g. |
static int |
Scope.compareTypes(TypeBinding left,
TypeBinding right)
|
TypeBinding |
LookupEnvironment.computeBoxingType(TypeBinding type)
|
protected MethodBinding |
Scope.computeCompatibleMethod(MethodBinding method,
TypeBinding[] arguments,
InvocationSite invocationSite)
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)
Perform inference of generic method type parameters and/or expected type |
static TypeBinding |
Scope.convertEliminatingTypeVariables(TypeBinding originalType,
ReferenceBinding genericType,
int rank,
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)
|
ArrayBinding |
Scope.createArrayType(TypeBinding type,
int dimension)
|
ArrayBinding |
LookupEnvironment.createArrayType(TypeBinding leafComponentType,
int dimensionCount)
|
ParameterizedMethodBinding |
LookupEnvironment.createGetClassMethod(TypeBinding receiverType,
MethodBinding originalMethod,
Scope scope)
|
ParameterizedGenericMethodBinding |
LookupEnvironment.createParameterizedGenericMethod(MethodBinding genericMethod,
TypeBinding[] typeArguments)
|
ParameterizedTypeBinding |
LookupEnvironment.createParameterizedType(ReferenceBinding genericType,
TypeBinding[] typeArguments,
ReferenceBinding enclosingType)
|
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)
|
boolean |
ClassScope.detectHierarchyCycle(TypeBinding superType,
TypeReference reference)
|
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 |
Scope.findField(TypeBinding receiverType,
char[] fieldName,
InvocationSite invocationSite,
boolean needResolve)
|
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,
boolean invisibleFieldsOk)
|
MethodBinding |
Scope.findMethod(ReferenceBinding receiverType,
char[] selector,
TypeBinding[] argumentTypes,
InvocationSite invocationSite)
|
MethodBinding |
Scope.findMethod(ReferenceBinding receiverType,
char[] selector,
TypeBinding[] argumentTypes,
InvocationSite invocationSite,
boolean inStaticContext)
|
MethodBinding |
Scope.findMethodForArray(ArrayBinding receiverType,
char[] selector,
TypeBinding[] argumentTypes,
InvocationSite invocationSite)
|
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 |
MethodBinding |
Scope.getConstructor(ReferenceBinding receiverType,
TypeBinding[] argumentTypes,
InvocationSite invocationSite)
|
TypeBinding |
TypeBinding.getErasureCompatibleType(TypeBinding declaringClass)
Return the supertype which would erase as a subtype of a given declaring class. |
MethodBinding |
SourceTypeBinding.getExactConstructor(TypeBinding[] argumentTypes)
|
MethodBinding |
ReferenceBinding.getExactConstructor(TypeBinding[] argumentTypes)
|
MethodBinding |
ParameterizedTypeBinding.getExactConstructor(TypeBinding[] argumentTypes)
|
MethodBinding |
BinaryTypeBinding.getExactConstructor(TypeBinding[] argumentTypes)
|
MethodBinding |
SourceTypeBinding.getExactMethod(char[] selector,
TypeBinding[] argumentTypes,
CompilationUnitScope refScope)
|
MethodBinding |
ReferenceBinding.getExactMethod(char[] selector,
TypeBinding[] argumentTypes,
CompilationUnitScope refScope)
|
MethodBinding |
ParameterizedTypeBinding.getExactMethod(char[] selector,
TypeBinding[] argumentTypes,
CompilationUnitScope refScope)
|
MethodBinding |
BinaryTypeBinding.getExactMethod(char[] selector,
TypeBinding[] argumentTypes,
CompilationUnitScope refScope)
|
FieldBinding |
Scope.getField(TypeBinding receiverType,
char[] fieldName,
InvocationSite invocationSite)
|
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)
|
MethodBinding |
Scope.getStaticFactory(ReferenceBinding allocationType,
ReferenceBinding originalEnclosingType,
TypeBinding[] argumentTypes,
InvocationSite allocationSite)
|
static TypeBinding[] |
Scope.greaterLowerBound(TypeBinding[] types)
|
protected boolean |
Scope.hasErasedCandidatesCollisions(TypeBinding one,
TypeBinding two,
Map invocations,
ReferenceBinding type,
ASTNode typeRef)
|
static ParameterizedMethodBinding |
ParameterizedMethodBinding.instantiateGetClass(TypeBinding receiverType,
MethodBinding originalMethod,
Scope scope)
The type of x.getClass() is substituted from 'Class extends Object>' into: 'Class extends raw(X)> |
boolean |
Scope.isBoxingCompatibleWith(TypeBinding expressionType,
TypeBinding targetType)
|
abstract boolean |
TypeBinding.isCompatibleWith(TypeBinding right)
|
boolean |
ReferenceBinding.isCompatibleWith(TypeBinding otherType)
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 |
BaseTypeBinding.isCompatibleWith(TypeBinding left)
|
boolean |
ArrayBinding.isCompatibleWith(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 |
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 |
RawTypeBinding.isEquivalentTo(TypeBinding otherType)
|
boolean |
ParameterizedTypeBinding.isEquivalentTo(TypeBinding otherType)
|
boolean |
CaptureBinding.isEquivalentTo(TypeBinding otherType)
|
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 |
TypeVariableBinding.isErasureBoundTo(TypeBinding type)
Returns true if the type variable is directly bound to a given type |
boolean |
Scope.isPossibleSubtypeOfRawType(TypeBinding paramType)
|
boolean |
TypeBinding.isProvablyDistinct(TypeBinding otherType)
Returns true if a type is provably distinct from another one, |
boolean |
RawTypeBinding.isProvablyDistinct(TypeBinding otherType)
|
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)
|
protected TypeBinding[] |
Scope.minimalErasedCandidates(TypeBinding[] types,
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 |
int |
Scope.parameterCompatibilityLevel(MethodBinding method,
TypeBinding[] arguments)
|
void |
InferenceContext.recordSubstitute(TypeVariableBinding typeVariable,
TypeBinding actualType,
int constraint)
|
void |
CompilationUnitScope.recordTypeConversion(TypeBinding superType,
TypeBinding subType)
|
static TypeBinding |
BinaryTypeBinding.resolveType(TypeBinding type,
LookupEnvironment environment,
boolean convertGenericToRawType)
|
void |
CatchParameterBinding.setPreciseType(TypeBinding raisedException)
|
static TypeBinding |
Scope.substitute(Substitution substitution,
TypeBinding originalType)
Returns a type, where original type was substituted using the receiver parameterized type. |
static TypeBinding[] |
Scope.substitute(Substitution substitution,
TypeBinding[] originalTypes)
Returns an array of types, where original types got substituted given a substitution. |
MethodBinding |
LookupEnvironment.updatePolymorphicMethodReturnType(PolymorphicMethodBinding binding,
TypeBinding typeBinding)
|
Constructors in org.eclipse.jdt.internal.compiler.lookup with parameters of type TypeBinding | |
---|---|
AptBinaryLocalVariableBinding(char[] name,
TypeBinding type,
int modifiers,
AnnotationBinding[] annotationBindings,
MethodBinding methodBinding)
|
|
ArrayBinding(TypeBinding type,
int dimensions,
LookupEnvironment environment)
|
|
CatchParameterBinding(LocalDeclaration declaration,
TypeBinding type,
int modifiers,
boolean isArgument)
|
|
FieldBinding(char[] name,
TypeBinding type,
int modifiers,
ReferenceBinding declaringClass,
Constant constant)
|
|
FieldBinding(FieldDeclaration field,
TypeBinding type,
int modifiers,
ReferenceBinding declaringClass)
|
|
LocalVariableBinding(char[] name,
TypeBinding type,
int modifiers,
boolean isArgument)
|
|
LocalVariableBinding(LocalDeclaration declaration,
TypeBinding type,
int modifiers,
boolean isArgument)
|
|
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)
|
|
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(TypeReference 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.corruptedSignature(TypeBinding enclosingType,
char[] signature,
int position)
|
void |
ProblemReporter.deprecatedType(TypeBinding type,
ASTNode location)
|
void |
ProblemReporter.deprecatedType(TypeBinding type,
ASTNode location,
int index)
|
void |
ProblemReporter.duplicateAnnotationValue(TypeBinding annotationType,
MemberValuePair memberValuePair)
|
void |
ProblemReporter.duplicateBounds(ASTNode location,
TypeBinding type)
|
void |
ProblemReporter.duplicateTargetInTargetAnnotation(TypeBinding annotationType,
NameReference reference)
|
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,
String classpathEntryName,
int problemId)
|
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.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.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.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.operatorOnlyValidOnNumericType(CompoundAssignment assignment,
TypeBinding leftType,
TypeBinding rightType)
|
void |
ProblemReporter.parameterizedMemberTypeMissingArguments(ASTNode location,
TypeBinding type,
int index)
|
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.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.unhandledExceptionFromAutoClose(TypeBinding exceptionType,
ASTNode location)
|
void |
ProblemReporter.unnecessaryInstanceof(InstanceOfExpression instanceofExpression,
TypeBinding checkType)
|
void |
ProblemReporter.unnecessaryTypeArgumentsForMethodInvocation(MethodBinding method,
TypeBinding[] genericTypeArguments,
TypeReference[] typeArguments)
|
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)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |