| Modifier and Type | Method and Description |
|---|---|
void |
ClassFile.recordInnerClasses(TypeBinding binding) |
| Constructor and Description |
|---|
AnnotationValueImpl(BaseProcessingEnvImpl env,
Object value,
TypeBinding type) |
| Modifier and Type | Field and Description |
|---|---|
TypeBinding |
NameReference.actualReceiverType |
TypeBinding |
FieldReference.actualReceiverType |
TypeBinding |
MessageSend.actualReceiverType |
TypeBinding |
ThrowStatement.exceptionType |
TypeBinding |
CastExpression.expectedType |
TypeBinding |
MessageSend.expectedType |
TypeBinding |
QualifiedNameReference.genericCast |
TypeBinding |
FieldReference.genericCast |
TypeBinding |
SingleNameReference.genericCast |
TypeBinding[] |
AllocationExpression.genericTypeArguments |
TypeBinding[] |
ExplicitConstructorCall.genericTypeArguments |
TypeBinding[] |
MessageSend.genericTypeArguments |
TypeBinding[] |
QualifiedNameReference.otherGenericCasts |
TypeBinding |
Expression.resolvedType |
TypeBinding |
ClassLiteralAccess.targetType |
protected TypeBinding |
AllocationExpression.typeExpected |
TypeBinding |
MessageSend.valueCast |
| Modifier and Type | Method and Description |
|---|---|
TypeBinding |
SingleNameReference.checkFieldAccess(BlockScope scope) |
TypeBinding |
AllocationExpression.expectedType() |
TypeBinding |
Statement.expectedType()
Implementation of
InvocationSite.expectedType()
suitable at this level. |
TypeBinding |
MessageSend.expectedType() |
protected TypeBinding |
QualifiedTypeReference.findNextTypeBinding(int tokenIndex,
Scope scope,
PackageBinding packageBinding) |
TypeBinding[] |
QualifiedNameReference.genericTypeArguments() |
TypeBinding[] |
AllocationExpression.genericTypeArguments() |
TypeBinding[] |
AbstractVariableDeclaration.genericTypeArguments() |
TypeBinding[] |
ExplicitConstructorCall.genericTypeArguments() |
TypeBinding[] |
FieldReference.genericTypeArguments() |
TypeBinding[] |
MessageSend.genericTypeArguments() |
TypeBinding[] |
SingleNameReference.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 |
ParameterizedSingleTypeReference.getTypeBinding(Scope scope) |
protected TypeBinding |
ArrayQualifiedTypeReference.getTypeBinding(Scope scope) |
protected TypeBinding |
UnionTypeReference.getTypeBinding(Scope scope) |
protected TypeBinding |
SingleTypeReference.getTypeBinding(Scope scope) |
protected TypeBinding |
ArrayTypeReference.getTypeBinding(Scope scope) |
protected TypeBinding |
JavadocImplicitTypeReference.getTypeBinding(Scope scope) |
protected abstract TypeBinding |
TypeReference.getTypeBinding(Scope scope) |
protected TypeBinding |
QualifiedTypeReference.getTypeBinding(Scope scope) |
protected TypeBinding |
ParameterizedQualifiedTypeReference.getTypeBinding(Scope scope) |
TypeBinding[] |
AllocationExpression.inferElidedTypes(ReferenceBinding allocationType,
ReferenceBinding enclosingType,
TypeBinding[] argumentTypes,
BlockScope scope) |
protected TypeBinding |
JavadocFieldReference.internalResolveType(Scope scope) |
protected TypeBinding |
JavadocSingleTypeReference.internalResolveType(Scope scope) |
protected TypeBinding |
JavadocImplicitTypeReference.internalResolveType(Scope scope) |
protected TypeBinding |
TypeReference.internalResolveType(Scope scope) |
TypeBinding |
LongLiteral.literalType(BlockScope scope) |
TypeBinding |
NullLiteral.literalType(BlockScope scope) |
TypeBinding |
IntLiteral.literalType(BlockScope scope) |
TypeBinding |
TrueLiteral.literalType(BlockScope scope) |
TypeBinding |
StringLiteral.literalType(BlockScope scope) |
TypeBinding |
CharLiteral.literalType(BlockScope scope) |
TypeBinding |
DoubleLiteral.literalType(BlockScope scope) |
TypeBinding |
FloatLiteral.literalType(BlockScope scope) |
abstract TypeBinding |
Literal.literalType(BlockScope scope) |
TypeBinding |
FalseLiteral.literalType(BlockScope scope) |
TypeBinding |
QualifiedNameReference.postConversionType(Scope scope) |
TypeBinding |
Expression.postConversionType(Scope scope)
Returns the type of the expression after required implicit conversions.
|
TypeBinding |
FieldReference.postConversionType(Scope scope) |
TypeBinding |
MessageSend.postConversionType(Scope scope) |
TypeBinding |
SingleNameReference.postConversionType(Scope scope) |
TypeBinding |
QualifiedNameReference.reportError(BlockScope scope)
Normal field binding did not work, try to bind to a field of the delegate receiver.
|
TypeBinding |
SingleNameReference.reportError(BlockScope scope) |
TypeBinding |
Argument.resolveForCatch(BlockScope scope) |
TypeBinding |
TypeReference.resolveSuperType(ClassScope scope) |
TypeBinding |
QualifiedNameReference.resolveType(BlockScope scope) |
TypeBinding |
JavadocFieldReference.resolveType(BlockScope scope) |
TypeBinding |
EqualExpression.resolveType(BlockScope scope) |
TypeBinding |
AllocationExpression.resolveType(BlockScope scope) |
TypeBinding |
BinaryExpression.resolveType(BlockScope scope) |
TypeBinding |
ClassLiteralAccess.resolveType(BlockScope scope) |
TypeBinding |
Annotation.resolveType(BlockScope scope) |
TypeBinding |
Assignment.resolveType(BlockScope scope) |
TypeBinding |
SuperReference.resolveType(BlockScope scope) |
TypeBinding |
ArrayReference.resolveType(BlockScope scope) |
TypeBinding |
QualifiedThisReference.resolveType(BlockScope scope) |
TypeBinding |
QualifiedAllocationExpression.resolveType(BlockScope scope) |
TypeBinding |
QualifiedSuperReference.resolveType(BlockScope scope) |
TypeBinding |
ArrayAllocationExpression.resolveType(BlockScope scope) |
TypeBinding |
JavadocArgumentExpression.resolveType(BlockScope scope) |
TypeBinding |
CastExpression.resolveType(BlockScope scope) |
TypeBinding |
JavadocAllocationExpression.resolveType(BlockScope scope) |
TypeBinding |
Expression.resolveType(BlockScope scope)
Resolve the type of this expression in the context of a blockScope
|
TypeBinding |
InstanceOfExpression.resolveType(BlockScope scope) |
TypeBinding |
ThisReference.resolveType(BlockScope scope) |
TypeBinding |
TypeReference.resolveType(BlockScope blockScope) |
TypeBinding |
FieldReference.resolveType(BlockScope scope) |
TypeBinding |
UnaryExpression.resolveType(BlockScope scope) |
TypeBinding |
CombinedBinaryExpression.resolveType(BlockScope scope) |
TypeBinding |
JavadocMessageSend.resolveType(BlockScope scope) |
TypeBinding |
OR_OR_Expression.resolveType(BlockScope scope) |
TypeBinding |
ConditionalExpression.resolveType(BlockScope scope) |
TypeBinding |
AND_AND_Expression.resolveType(BlockScope scope) |
TypeBinding |
MessageSend.resolveType(BlockScope scope) |
TypeBinding |
SingleNameReference.resolveType(BlockScope scope) |
TypeBinding |
Literal.resolveType(BlockScope scope) |
TypeBinding |
CompoundAssignment.resolveType(BlockScope scope) |
TypeBinding |
ParameterizedSingleTypeReference.resolveType(BlockScope scope,
boolean checkBounds) |
TypeBinding |
UnionTypeReference.resolveType(BlockScope scope,
boolean checkBounds) |
TypeBinding |
JavadocQualifiedTypeReference.resolveType(BlockScope blockScope,
boolean checkBounds) |
TypeBinding |
TypeReference.resolveType(BlockScope scope,
boolean checkBounds) |
TypeBinding |
ParameterizedQualifiedTypeReference.resolveType(BlockScope scope,
boolean checkBounds) |
TypeBinding |
Wildcard.resolveType(BlockScope scope,
boolean checkBounds) |
TypeBinding |
JavadocFieldReference.resolveType(ClassScope scope) |
TypeBinding |
ParameterizedSingleTypeReference.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 |
JavadocQualifiedTypeReference.resolveType(ClassScope classScope) |
TypeBinding |
TypeReference.resolveType(ClassScope scope) |
TypeBinding |
JavadocMessageSend.resolveType(ClassScope scope) |
TypeBinding |
ParameterizedQualifiedTypeReference.resolveType(ClassScope scope) |
TypeBinding |
Wildcard.resolveType(ClassScope scope) |
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 |
ParameterizedSingleTypeReference.resolveTypeEnclosing(BlockScope scope,
ReferenceBinding enclosingType) |
TypeBinding |
SingleTypeReference.resolveTypeEnclosing(BlockScope scope,
ReferenceBinding enclosingType) |
TypeBinding |
Assignment.resolveTypeExpecting(BlockScope scope,
TypeBinding expectedType) |
TypeBinding |
Expression.resolveTypeExpecting(BlockScope scope,
TypeBinding expectedType) |
TypeBinding |
ArrayInitializer.resolveTypeExpecting(BlockScope scope,
TypeBinding expectedType) |
| Modifier and Type | Method and Description |
|---|---|
void |
Argument.bind(MethodScope scope,
TypeBinding typeBinding,
boolean used) |
protected int |
Statement.checkAssignmentAgainstNullAnnotation(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 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 |
CastExpression.checkUnsafeCast(Scope scope,
TypeBinding castType,
TypeBinding expressionType,
TypeBinding match,
boolean isNarrowing) |
boolean |
Expression.checkUnsafeCast(Scope scope,
TypeBinding castType,
TypeBinding expressionType,
TypeBinding match,
boolean isNarrowing) |
void |
EqualExpression.computeConstant(TypeBinding leftType,
TypeBinding rightType) |
void |
QualifiedNameReference.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 |
FieldReference.computeConversion(Scope scope,
TypeBinding runtimeTimeType,
TypeBinding compileTimeType) |
void |
MessageSend.computeConversion(Scope scope,
TypeBinding runtimeTimeType,
TypeBinding compileTimeType) |
void |
SingleNameReference.computeConversion(Scope scope,
TypeBinding runtimeTimeType,
TypeBinding compileTimeType) |
void |
Argument.createBinding(MethodScope scope,
TypeBinding typeBinding) |
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) |
static boolean |
FakedTrackingVariable.isAnyCloseable(TypeBinding typeBinding)
Answer wither the given type binding is a subtype of java.lang.AutoCloseable.
|
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 |
JavadocSingleTypeReference.reportDeprecatedType(TypeBinding type,
Scope scope) |
protected void |
JavadocImplicitTypeReference.reportDeprecatedType(TypeBinding type,
Scope scope) |
protected void |
JavadocQualifiedTypeReference.reportDeprecatedType(TypeBinding type,
Scope scope) |
protected void |
TypeReference.reportDeprecatedType(TypeBinding type,
Scope scope) |
protected void |
JavadocArraySingleTypeReference.reportDeprecatedType(TypeBinding type,
Scope scope) |
protected void |
JavadocArrayQualifiedTypeReference.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) |
Constant |
CaseStatement.resolveCase(BlockScope scope,
TypeBinding switchExpressionType,
SwitchStatement switchStatement)
Returns the constant intValue or ordinal for enum constants.
|
Constant |
Statement.resolveCase(BlockScope scope,
TypeBinding testType,
SwitchStatement switchStatement)
Returns case constant associated to this statement (NotAConstant if none)
|
TypeBinding |
Assignment.resolveTypeExpecting(BlockScope scope,
TypeBinding expectedType) |
void |
MemberValuePair.resolveTypeExpecting(BlockScope scope,
TypeBinding requiredType) |
TypeBinding |
Expression.resolveTypeExpecting(BlockScope scope,
TypeBinding expectedType) |
TypeBinding |
ArrayInitializer.resolveTypeExpecting(BlockScope scope,
TypeBinding expectedType) |
void |
AllocationExpression.setExpectedType(TypeBinding expectedType) |
void |
CastExpression.setExpectedType(TypeBinding expectedType) |
void |
Expression.setExpectedType(TypeBinding expectedType)
Record the type expectation before this expression is typechecked.
|
void |
MessageSend.setExpectedType(TypeBinding expectedType) |
protected void |
QualifiedNameReference.setGenericCast(int index,
TypeBinding someGenericCast) |
void |
CastExpression.tagAsUnnecessaryCast(Scope scope,
TypeBinding castType) |
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) |
protected void |
TryStatement.verifyDuplicationAndOrder(int length,
TypeBinding[] argumentTypes,
boolean containsUnionTypes) |
| Modifier and Type | Field and Description |
|---|---|
TypeBinding |
ExceptionLabel.exceptionType |
TypeBinding |
StackMapFrameCodeStream.StackDepthMarker.typeBinding |
| Modifier and Type | Method and Description |
|---|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
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 |
CodeStream.generateClassLiteralAccessForType(TypeBinding accessedType,
FieldBinding syntheticFieldBinding)
Macro for building a class descriptor object
|
void |
StackMapFrameCodeStream.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 |
CodeStream.pushExceptionOnStack(TypeBinding binding) |
void |
StackMapFrameCodeStream.pushExceptionOnStack(TypeBinding binding) |
void |
CodeStream.pushOnStack(TypeBinding binding) |
void |
StackMapFrameCodeStream.pushOnStack(TypeBinding binding) |
void |
CodeStream.recordExpressionType(TypeBinding typeBinding) |
void |
StackMapFrameCodeStream.recordExpressionType(TypeBinding typeBinding) |
void |
VerificationTypeInfo.setBinding(TypeBinding binding) |
| Constructor and Description |
|---|
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) |
| Modifier and Type | Field and Description |
|---|---|
TypeBinding[][] |
FlowContext.providedExpectedTypes |
TypeBinding[] |
InitializationFlowContext.thrownExceptions |
| Modifier and Type | Method and Description |
|---|---|
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 |
LoopingFlowContext.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 |
FinallyFlowContext.internalRecordNullityMismatch(Expression expression,
TypeBinding providedType,
int nullStatus,
TypeBinding expectedType,
int checkType) |
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) |
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) |
| Modifier and Type | Class and Description |
|---|---|
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 |
| Modifier and Type | Field and Description |
|---|---|
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 |
| Modifier and Type | Method and Description |
|---|---|
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 |
ArrayBinding.closestMatch() |
TypeBinding |
ProblemReferenceBinding.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 |
TypeBinding.erasure() |
TypeBinding |
WildcardBinding.erasure() |
TypeBinding |
ArrayBinding.erasure() |
TypeBinding |
ParameterizedTypeBinding.erasure() |
TypeBinding |
TypeVariableBinding.erasure() |
TypeBinding |
InvocationSite.expectedType() |
TypeBinding |
InvocationSite.EmptyWithAstNode.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() |
TypeBinding[] |
InvocationSite.EmptyWithAstNode.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,
Scope scope) |
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 |
ParameterizedGenericMethodBinding.substitute(TypeVariableBinding originalVariable) |
TypeBinding |
ParameterizedTypeBinding.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
|
| Modifier and Type | Method and Description |
|---|---|
FieldBinding |
SourceTypeBinding.addSyntheticFieldForClassLiteral(TypeBinding targetType,
BlockScope blockScope) |
SyntheticMethodBinding |
SourceTypeBinding.addSyntheticMethodForSwitchEnum(TypeBinding enumBinding) |
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) |
boolean |
FieldBinding.canBeSeenBy(TypeBinding receiverType,
InvocationSite invocationSite,
Scope scope) |
boolean |
MethodBinding.canBeSeenBy(TypeBinding receiverType,
InvocationSite invocationSite,
Scope scope) |
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 |
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 |
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 |
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 |
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.
|
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.
|
protected MethodBinding |
Scope.computeCompatibleMethod(MethodBinding method,
TypeBinding[] arguments,
InvocationSite invocationSite,
boolean tiebreakingVarargsMethods)
Internal use only
Given a method, returns null if arguments cannot be converted to parameters.
|
static 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 |
ReferenceBinding.getExactConstructor(TypeBinding[] argumentTypes) |
MethodBinding |
BinaryTypeBinding.getExactConstructor(TypeBinding[] argumentTypes) |
MethodBinding |
SourceTypeBinding.getExactConstructor(TypeBinding[] argumentTypes) |
MethodBinding |
ParameterizedTypeBinding.getExactConstructor(TypeBinding[] argumentTypes) |
MethodBinding |
ReferenceBinding.getExactMethod(char[] selector,
TypeBinding[] argumentTypes,
CompilationUnitScope refScope) |
MethodBinding |
BinaryTypeBinding.getExactMethod(char[] selector,
TypeBinding[] argumentTypes,
CompilationUnitScope refScope) |
MethodBinding |
SourceTypeBinding.getExactMethod(char[] selector,
TypeBinding[] argumentTypes,
CompilationUnitScope refScope) |
MethodBinding |
ParameterizedTypeBinding.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,
Scope scope) |
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) |
boolean |
TypeBinding.isCompatibleWith(TypeBinding right) |
boolean |
BaseTypeBinding.isCompatibleWith(TypeBinding left,
Scope captureScope) |
abstract boolean |
TypeBinding.isCompatibleWith(TypeBinding right,
Scope scope) |
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 |
ArrayBinding.isCompatibleWith(TypeBinding otherType,
Scope captureScope) |
boolean |
CaptureBinding.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 |
RawTypeBinding.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 |
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 |
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 |
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) |
int |
Scope.parameterCompatibilityLevel(MethodBinding method,
TypeBinding[] arguments,
boolean tiebreakingVarargsMethods) |
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) |
void |
BlockScope.resetDeclaringClassMethodStaticFlag(TypeBinding enclosingInstanceType)
This method is used to reset the CanBeStatic on all enclosing methods until the method
belonging to the enclosingInstanceType
|
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) |
| Constructor and Description |
|---|
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)
|
| Modifier and Type | Method and Description |
|---|---|
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.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.nullityMismatchIsNull(Expression expression,
TypeBinding requiredType,
char[][] annotationName) |
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.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.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.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) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Util.recordNestedType(ClassFile classFile,
TypeBinding typeBinding) |
Copyright © 2013. All rights reserved.