| Modifier and Type | Field and Description |
|---|---|
ReferenceBinding[] |
Compiler.referenceBindings |
| Modifier and Type | Method and Description |
|---|---|
abstract ReferenceBinding[] |
AbstractAnnotationProcessorManager.getNewClassFiles()
Return the new binary bindings created in the last round.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
AbstractAnnotationProcessorManager.processAnnotations(CompilationUnitDeclaration[] units,
ReferenceBinding[] referenceBindings,
boolean isLastRound)
Run a new annotation processing round on the given values.
|
void |
Compiler.setBinaryTypes(ReferenceBinding[] binaryTypes) |
| Modifier and Type | Method and Description |
|---|---|
ReferenceBinding[] |
BaseAnnotationProcessorManager.getNewClassFiles() |
ReferenceBinding[] |
BaseProcessingEnvImpl.getNewClassFiles() |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseProcessingEnvImpl.addNewClassFile(ReferenceBinding binding) |
void |
BatchFilerImpl.addNewClassFile(ReferenceBinding binding) |
void |
BaseAnnotationProcessorManager.processAnnotations(CompilationUnitDeclaration[] units,
ReferenceBinding[] referenceBindings,
boolean isLastRound)
A single "round" of processing, in the sense implied in
Processor. |
| Constructor and Description |
|---|
RoundEnvImpl(CompilationUnitDeclaration[] units,
ReferenceBinding[] binaryTypeBindings,
boolean isLastRound,
BaseProcessingEnvImpl env) |
| Modifier and Type | Method and Description |
|---|---|
ErrorType |
Factory.getErrorType(ReferenceBinding binding) |
| Modifier and Type | Method and Description |
|---|---|
ReferenceBinding |
LambdaExpression.findGroundTargetTypeForElidedLambda(BlockScope blockScope,
ParameterizedTypeBinding withWildCards) |
ReferenceBinding |
LambdaExpression.getTypeBinding() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ThisReference.checkAccess(BlockScope scope,
ReferenceBinding receiverType) |
void |
ParameterizedQualifiedTypeReference.checkBounds(ReferenceBinding type,
Scope scope,
int index) |
void |
AllocationExpression.checkCapturedLocalInitializationIfNecessary(ReferenceBinding checkedType,
BlockScope currentScope,
FlowInfo flowInfo) |
static void |
Annotation.checkContainerAnnotationType(ASTNode culpritNode,
BlockScope scope,
ReferenceBinding containerAnnotationType,
ReferenceBinding repeatableAnnotationType,
boolean useSite) |
static void |
Annotation.checkForInstancesOfRepeatableWithRepeatingContainerAnnotation(BlockScope scope,
ReferenceBinding repeatedAnnotationType,
Annotation[] sourceAnnotations)
Check to see if a repeating annotation is in fact of a container annotation type for an annotation which is also present at the same target.
|
void |
AllocationExpression.checkTypeArgumentRedundancy(ParameterizedTypeBinding allocationType,
ReferenceBinding enclosingType,
TypeBinding[] argumentTypes,
BlockScope scope) |
protected MethodBinding |
Statement.findConstructorBinding(BlockScope scope,
Invocation site,
ReferenceBinding receiverType,
TypeBinding[] argumentTypes)
For all constructor invocations: find the constructor binding;
if site.innersNeedUpdate() perform some post processing for those and produce
any updates as side-effects into 'argumentTypes'.
|
void |
ConstructorDeclaration.generateSyntheticFieldInitializationsIfNecessary(MethodScope methodScope,
CodeStream codeStream,
ReferenceBinding declaringClass) |
TypeBinding[] |
AllocationExpression.inferElidedTypes(ParameterizedTypeBinding allocationType,
ReferenceBinding enclosingType,
TypeBinding[] argumentTypes,
BlockScope scope) |
protected static void |
QualifiedTypeReference.rejectAnnotationsOnStaticMemberQualififer(Scope scope,
ReferenceBinding currentType,
Annotation[] qualifierAnnot) |
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) |
void |
NameReference.setActualReceiverType(ReferenceBinding receiverType) |
void |
FieldReference.setActualReceiverType(ReferenceBinding receiverType) |
void |
AbstractVariableDeclaration.setActualReceiverType(ReferenceBinding receiverType) |
void |
MessageSend.setActualReceiverType(ReferenceBinding receiverType) |
void |
ExplicitConstructorCall.setActualReceiverType(ReferenceBinding receiverType) |
void |
AllocationExpression.setActualReceiverType(ReferenceBinding receiverType) |
void |
ReferenceExpression.setActualReceiverType(ReferenceBinding receiverType) |
| Constructor and Description |
|---|
ContainerAnnotation(Annotation repeatingAnnotation,
ReferenceBinding containerAnnotationType,
BlockScope scope) |
| Modifier and Type | Method and Description |
|---|---|
void |
CodeStream.generateSyntheticEnclosingInstanceValues(BlockScope currentScope,
ReferenceBinding targetType,
Expression enclosingInstance,
ASTNode invocationSite)
Code responsible to generate the suitable code to supply values for the synthetic enclosing
instance arguments of a constructor invocation of a nested type.
|
void |
CodeStream.generateSyntheticOuterArgumentValues(BlockScope currentScope,
ReferenceBinding targetType,
ASTNode invocationSite)
Code responsible to generate the suitable code to supply values for the synthetic outer local
variable arguments of a constructor invocation of a nested type.
|
void |
CodeStream.invokeJavaLangEnumvalueOf(ReferenceBinding binding) |
| Modifier and Type | Field and Description |
|---|---|
ReferenceBinding[] |
ExceptionHandlingFlowContext.handledExceptions |
| Modifier and Type | Method and Description |
|---|---|
void |
LoopingFlowContext.recordCatchContextOfEscapingException(ExceptionHandlingFlowContext catchingContext,
ReferenceBinding caughtException) |
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) |
| Constructor and Description |
|---|
ExceptionHandlingFlowContext(FlowContext parent,
ASTNode associatedNode,
ReferenceBinding[] handledExceptions,
FlowContext initializationParent,
BlockScope scope,
UnconditionalFlowInfo flowInfo) |
ExceptionHandlingFlowContext(FlowContext parent,
TryStatement tryStatement,
ReferenceBinding[] handledExceptions,
int[] exceptionToCatchBlockMap,
FlowContext initializationParent,
BlockScope scope,
FlowInfo flowInfo) |
| Modifier and Type | Class and Description |
|---|---|
class |
BinaryTypeBinding |
class |
CaptureBinding |
class |
CaptureBinding18
Capture-like type variable introduced during 1.8 type inference.
|
class |
InferenceVariable
Implementation of 18.1.1 in JLS8
|
class |
IntersectionCastTypeBinding |
class |
LocalTypeBinding |
class |
MemberTypeBinding |
class |
MissingTypeBinding |
class |
NestedTypeBinding |
class |
ParameterizedTypeBinding
A parameterized type encapsulates a type with type arguments,
|
class |
ProblemReferenceBinding |
class |
RawTypeBinding
Denote a raw type, i.e.
|
class |
SourceTypeBinding |
class |
TypeVariableBinding
Binding for a type parameter, held by source/binary type or method.
|
class |
UnresolvedReferenceBinding |
class |
WildcardBinding |
| Modifier and Type | Method and Description |
|---|---|
ReferenceBinding |
WildcardBinding.actualType() |
ReferenceBinding |
ParameterizedTypeBinding.actualType()
May return an UnresolvedReferenceBinding.
|
ReferenceBinding |
TypeBinding.actualType() |
ReferenceBinding |
LocalTypeBinding.anonymousOriginalSuperType() |
ReferenceBinding |
LookupEnvironment.askForType(char[][] compoundName)
Ask the name environment for a type which corresponds to the compoundName.
|
ReferenceBinding |
ProblemReferenceBinding.closestReferenceMatch() |
ReferenceBinding |
BinaryTypeBinding.containerAnnotationType() |
ReferenceBinding |
SourceTypeBinding.containerAnnotationType() |
ReferenceBinding |
TypeBinding.containerAnnotationType() |
ReferenceBinding |
LookupEnvironment.convertToParameterizedType(ReferenceBinding originalType)
Convert a given source type into a parameterized form if generic.
|
ReferenceBinding[] |
LookupEnvironment.convertToRawTypes(ReferenceBinding[] originalTypes,
boolean forceErasure,
boolean forceRawEnclosingType)
Convert an array of types in raw forms.
|
ReferenceBinding |
LookupEnvironment.createMemberType(ReferenceBinding memberType,
ReferenceBinding enclosingType) |
ReferenceBinding |
Scope.enclosingReceiverType() |
ReferenceBinding |
ParameterizedTypeBinding.enclosingType() |
ReferenceBinding |
NestedTypeBinding.enclosingType() |
ReferenceBinding |
BinaryTypeBinding.enclosingType() |
ReferenceBinding |
TypeBinding.enclosingType() |
ReferenceBinding |
ReferenceBinding.enclosingTypeAt(int relativeDepth) |
ReferenceBinding |
Scope.findDirectMemberType(char[] typeName,
ReferenceBinding enclosingType) |
ReferenceBinding |
BlockScope.findLocalType(char[] name) |
ReferenceBinding |
Scope.findMemberType(char[] typeName,
ReferenceBinding enclosingType) |
ReferenceBinding |
TypeBinding.findSuperTypeOriginatingFrom(int wellKnownOriginalID,
boolean originalIsClass)
Find supertype which originates from a given well-known type, or null if not found
(using id avoids triggering the load of well-known type: 73740)
NOTE: only works for erasures of well-known types, as random other types may share
same id though being distincts.
|
ReferenceBinding |
Scope.findType(char[] typeName,
PackageBinding declarationPackage,
PackageBinding invocationPackage) |
ReferenceBinding |
ParameterizedTypeBinding.genericType()
Return the original generic type from which the parameterized type got instantiated from.
|
ReferenceBinding |
AnnotationBinding.getAnnotationType() |
ReferenceBinding |
UnresolvedAnnotationBinding.getAnnotationType() |
ReferenceBinding |
LookupEnvironment.getCachedType(char[][] compoundName)
Answer the type for the compoundName if it exists in the cache.
|
ReferenceBinding[] |
WildcardBinding.getIntersectingTypes() |
ReferenceBinding[] |
IntersectionCastTypeBinding.getIntersectingTypes() |
ReferenceBinding[] |
TypeBinding.getIntersectingTypes() |
ReferenceBinding |
Scope.getJavaIoSerializable() |
ReferenceBinding |
Scope.getJavaLangAnnotationAnnotation() |
ReferenceBinding |
Scope.getJavaLangAssertionError() |
ReferenceBinding |
Scope.getJavaLangClass() |
ReferenceBinding |
Scope.getJavaLangCloneable() |
ReferenceBinding |
Scope.getJavaLangEnum() |
ReferenceBinding |
Scope.getJavaLangIllegalArgumentException() |
ReferenceBinding |
Scope.getJavaLangInvokeLambdaMetafactory() |
ReferenceBinding |
Scope.getJavaLangInvokeMethodHandlesLookup() |
ReferenceBinding |
Scope.getJavaLangInvokeSerializedLambda() |
ReferenceBinding |
Scope.getJavaLangIterable() |
ReferenceBinding |
Scope.getJavaLangObject() |
ReferenceBinding |
Scope.getJavaLangString() |
ReferenceBinding |
Scope.getJavaLangThrowable() |
ReferenceBinding |
Scope.getJavaUtilIterator() |
ReferenceBinding |
ReferenceBinding.getMemberType(char[] typeName) |
ReferenceBinding |
ParameterizedTypeBinding.getMemberType(char[] typeName) |
ReferenceBinding |
BinaryTypeBinding.getMemberType(char[] typeName)
Rewrite of default memberTypes() to avoid resolving eagerly all member types when one is requested
|
ReferenceBinding |
Scope.getMemberType(char[] typeName,
ReferenceBinding enclosingType) |
ReferenceBinding |
TypeSystem.getMemberType(ReferenceBinding memberType,
ReferenceBinding enclosingType) |
ReferenceBinding |
AnnotatableTypeSystem.getMemberType(ReferenceBinding memberType,
ReferenceBinding enclosingType) |
ReferenceBinding |
LookupEnvironment.getResolvedType(char[][] compoundName,
Scope scope) |
ReferenceBinding |
LookupEnvironment.getType(char[][] compoundName) |
static ReferenceBinding[] |
Scope.greaterLowerBound(ReferenceBinding[] types) |
ReferenceBinding |
InferenceContext18.inferFunctionalInterfaceParameterization(LambdaExpression lambda,
BlockScope blockScope,
ParameterizedTypeBinding targetTypeWithWildCards)
18.5.3 Functional Interface Parameterization Inference
|
ReferenceBinding[] |
ReferenceBinding.memberTypes() |
ReferenceBinding[] |
ParameterizedTypeBinding.memberTypes() |
ReferenceBinding[] |
BinaryTypeBinding.memberTypes() |
ReferenceBinding[] |
SourceTypeBinding.memberTypes() |
ReferenceBinding |
ReferenceBinding.outermostEnclosingType() |
ReferenceBinding[] |
SourceTypeBinding.setMemberTypes(ReferenceBinding[] memberTypes) |
ReferenceBinding |
TypeVariableBinding.setSuperClass(ReferenceBinding superclass) |
ReferenceBinding |
SourceTypeBinding.setSuperClass(ReferenceBinding superClass) |
ReferenceBinding[] |
TypeVariableBinding.setSuperInterfaces(ReferenceBinding[] superInterfaces) |
ReferenceBinding[] |
SourceTypeBinding.setSuperInterfaces(ReferenceBinding[] superInterfaces) |
static ReferenceBinding[] |
Scope.substitute(Substitution substitution,
ReferenceBinding[] originalTypes)
Returns an array of types, where original types got substituted given a substitution.
|
ReferenceBinding[] |
Scope.Substitutor.substitute(Substitution substitution,
ReferenceBinding[] originalTypes)
Returns an array of types, where original types got substituted given a substitution.
|
ReferenceBinding |
WildcardBinding.superclass() |
ReferenceBinding |
ReferenceBinding.superclass() |
ReferenceBinding |
ParameterizedTypeBinding.superclass() |
ReferenceBinding |
IntersectionCastTypeBinding.superclass() |
ReferenceBinding |
BinaryTypeBinding.superclass() |
ReferenceBinding |
TypeVariableBinding.superclass() |
ReferenceBinding |
SourceTypeBinding.superclass() |
ReferenceBinding |
TypeBinding.superclass() |
ReferenceBinding[] |
WildcardBinding.superInterfaces() |
ReferenceBinding[] |
ReferenceBinding.superInterfaces() |
ReferenceBinding[] |
ParameterizedTypeBinding.superInterfaces() |
ReferenceBinding[] |
IntersectionCastTypeBinding.superInterfaces() |
ReferenceBinding[] |
BinaryTypeBinding.superInterfaces() |
ReferenceBinding[] |
TypeVariableBinding.superInterfaces() |
ReferenceBinding[] |
SourceTypeBinding.superInterfaces() |
ReferenceBinding[] |
TypeBinding.superInterfaces() |
ReferenceBinding[] |
InferenceVariable.superInterfaces() |
ReferenceBinding[] |
ReferenceBinding.syntheticEnclosingInstanceTypes() |
ReferenceBinding[] |
ParameterizedTypeBinding.syntheticEnclosingInstanceTypes() |
ReferenceBinding[] |
NestedTypeBinding.syntheticEnclosingInstanceTypes() |
| Modifier and Type | Method and Description |
|---|---|
void |
BlockScope.addAnonymousType(TypeDeclaration anonymousType,
ReferenceBinding superBinding) |
SyntheticArgumentBinding |
NestedTypeBinding.addSyntheticArgument(ReferenceBinding targetEnclosingType) |
SyntheticArgumentBinding |
NestedTypeBinding.addSyntheticArgumentAndField(ReferenceBinding targetEnclosingType) |
FieldBinding |
SourceTypeBinding.addSyntheticFieldForInnerclass(ReferenceBinding enclosingType) |
void |
InferenceContext18.addThrowsContraints(TypeBinding[] parameters,
InferenceVariable[] variables,
ReferenceBinding[] thrownExceptions)
JLS 18.1.3 Bounds: throws α: the inference variable α appears in a throws clause
|
boolean |
ReferenceBinding.canBeSeenBy(ReferenceBinding receiverType,
ReferenceBinding invocationType)
Answer true if the receiver is visible to the receiverType and the invocationType.
|
boolean |
IntersectionCastTypeBinding.canBeSeenBy(ReferenceBinding receiverType,
ReferenceBinding invocationType) |
static TypeBinding |
Scope.convertEliminatingTypeVariables(TypeBinding originalType,
ReferenceBinding genericType,
int rank,
Set eliminatedVariables)
Returns a type where either all variables or specific ones got discarded.
|
ReferenceBinding |
LookupEnvironment.convertToParameterizedType(ReferenceBinding originalType)
Convert a given source type into a parameterized form if generic.
|
ReferenceBinding[] |
LookupEnvironment.convertToRawTypes(ReferenceBinding[] originalTypes,
boolean forceErasure,
boolean forceRawEnclosingType)
Convert an array of types in raw forms.
|
AnnotationBinding |
LookupEnvironment.createAnnotation(ReferenceBinding annotationType,
ElementValuePair[] pairs) |
TypeBinding |
LookupEnvironment.createIntersectionCastType(ReferenceBinding[] intersectingTypes) |
ReferenceBinding |
LookupEnvironment.createMemberType(ReferenceBinding memberType,
ReferenceBinding enclosingType) |
ParameterizedTypeBinding |
LookupEnvironment.createParameterizedType(ReferenceBinding genericType,
TypeBinding[] typeArguments,
ReferenceBinding enclosingType) |
ParameterizedTypeBinding |
LookupEnvironment.createParameterizedType(ReferenceBinding genericType,
TypeBinding[] typeArguments,
ReferenceBinding enclosingType,
AnnotationBinding[] annotations) |
RawTypeBinding |
LookupEnvironment.createRawType(ReferenceBinding genericType,
ReferenceBinding enclosingType) |
RawTypeBinding |
LookupEnvironment.createRawType(ReferenceBinding genericType,
ReferenceBinding enclosingType,
AnnotationBinding[] annotations) |
AnnotationBinding |
LookupEnvironment.createUnresolvedAnnotation(ReferenceBinding annotationType,
ElementValuePair[] pairs) |
WildcardBinding |
LookupEnvironment.createWildcard(ReferenceBinding genericType,
int rank,
TypeBinding bound,
TypeBinding[] otherBounds,
int boundKind) |
WildcardBinding |
LookupEnvironment.createWildcard(ReferenceBinding genericType,
int rank,
TypeBinding bound,
TypeBinding[] otherBounds,
int boundKind,
AnnotationBinding[] annotations) |
protected MethodBinding |
Scope.findDefaultAbstractMethod(ReferenceBinding receiverType,
char[] selector,
TypeBinding[] argumentTypes,
InvocationSite invocationSite,
ReferenceBinding classHierarchyStart,
ObjectVector found,
MethodBinding[] concreteMatches) |
ReferenceBinding |
Scope.findDirectMemberType(char[] typeName,
ReferenceBinding enclosingType) |
MethodBinding |
Scope.findExactMethod(ReferenceBinding receiverType,
char[] selector,
TypeBinding[] argumentTypes,
InvocationSite invocationSite) |
ReferenceBinding |
Scope.findMemberType(char[] typeName,
ReferenceBinding enclosingType) |
MethodBinding |
Scope.findMethod(ReferenceBinding receiverType,
char[] selector,
TypeBinding[] argumentTypes,
InvocationSite invocationSite,
boolean inStaticContext) |
MethodBinding |
Scope.findMethod0(ReferenceBinding receiverType,
char[] selector,
TypeBinding[] argumentTypes,
InvocationSite invocationSite,
boolean inStaticContext) |
protected void |
Scope.findMethodInSuperInterfaces(ReferenceBinding receiverType,
char[] selector,
ObjectVector found,
List<TypeBinding> visitedTypes,
InvocationSite invocationSite) |
AnnotationBinding |
TypeSystem.getAnnotationType(ReferenceBinding annotationType,
boolean requiredResolved) |
MethodBinding |
Scope.getConstructor(ReferenceBinding receiverType,
TypeBinding[] argumentTypes,
InvocationSite invocationSite) |
MethodBinding |
Scope.getConstructor0(ReferenceBinding receiverType,
TypeBinding[] argumentTypes,
InvocationSite invocationSite) |
Object[] |
BlockScope.getEmulationPath(ReferenceBinding targetEnclosingType,
boolean onlyExactMatch,
boolean denyEnclosingArgInConstructorCall) |
TypeBinding |
TypeSystem.getIntersectionCastType(ReferenceBinding[] intersectingTypes) |
ReferenceBinding |
Scope.getMemberType(char[] typeName,
ReferenceBinding enclosingType) |
ReferenceBinding |
TypeSystem.getMemberType(ReferenceBinding memberType,
ReferenceBinding enclosingType) |
ReferenceBinding |
AnnotatableTypeSystem.getMemberType(ReferenceBinding memberType,
ReferenceBinding enclosingType) |
ParameterizedTypeBinding |
TypeSystem.getParameterizedType(ReferenceBinding genericType,
TypeBinding[] typeArguments,
ReferenceBinding enclosingType) |
ParameterizedTypeBinding |
AnnotatableTypeSystem.getParameterizedType(ReferenceBinding genericType,
TypeBinding[] typeArguments,
ReferenceBinding enclosingType) |
ParameterizedTypeBinding |
TypeSystem.getParameterizedType(ReferenceBinding genericType,
TypeBinding[] typeArguments,
ReferenceBinding enclosingType,
AnnotationBinding[] annotations) |
ParameterizedTypeBinding |
AnnotatableTypeSystem.getParameterizedType(ReferenceBinding genericType,
TypeBinding[] typeArguments,
ReferenceBinding enclosingType,
AnnotationBinding[] annotations) |
RawTypeBinding |
TypeSystem.getRawType(ReferenceBinding genericType,
ReferenceBinding enclosingType) |
RawTypeBinding |
AnnotatableTypeSystem.getRawType(ReferenceBinding genericType,
ReferenceBinding enclosingType) |
RawTypeBinding |
TypeSystem.getRawType(ReferenceBinding genericType,
ReferenceBinding enclosingType,
AnnotationBinding[] annotations) |
RawTypeBinding |
AnnotatableTypeSystem.getRawType(ReferenceBinding genericType,
ReferenceBinding enclosingType,
AnnotationBinding[] annotations) |
MethodBinding |
Scope.getStaticFactory(ParameterizedTypeBinding allocationType,
ReferenceBinding originalEnclosingType,
TypeBinding[] argumentTypes,
Invocation allocationSite) |
SyntheticArgumentBinding |
NestedTypeBinding.getSyntheticArgument(ReferenceBinding targetEnclosingType,
boolean onlyExactMatch,
boolean scopeIsConstructorCall) |
FieldBinding |
SourceTypeBinding.getSyntheticField(ReferenceBinding targetEnclosingType,
boolean onlyExactMatch) |
TypeBinding |
LookupEnvironment.getTypeFromTypeSignature(SignatureWrapper wrapper,
TypeVariableBinding[] staticVariables,
ReferenceBinding enclosingType,
char[][][] missingTypeNames,
TypeAnnotationWalker walker) |
WildcardBinding |
TypeSystem.getWildcard(ReferenceBinding genericType,
int rank,
TypeBinding bound,
TypeBinding[] otherBounds,
int boundKind) |
WildcardBinding |
AnnotatableTypeSystem.getWildcard(ReferenceBinding genericType,
int rank,
TypeBinding bound,
TypeBinding[] otherBounds,
int boundKind) |
WildcardBinding |
TypeSystem.getWildcard(ReferenceBinding genericType,
int rank,
TypeBinding bound,
TypeBinding[] otherBounds,
int boundKind,
AnnotationBinding[] annotations) |
WildcardBinding |
AnnotatableTypeSystem.getWildcard(ReferenceBinding genericType,
int rank,
TypeBinding bound,
TypeBinding[] otherBounds,
int boundKind,
AnnotationBinding[] annotations) |
static ReferenceBinding[] |
Scope.greaterLowerBound(ReferenceBinding[] types) |
boolean |
Scope.hasErasedCandidatesCollisions(TypeBinding one,
TypeBinding two,
Map invocations,
ReferenceBinding type,
ASTNode typeRef) |
boolean |
ReferenceBinding.hasIncompatibleSuperType(ReferenceBinding otherType)
Returns true if the two types have an incompatible common supertype,
e.g.
|
boolean |
ReferenceBinding.implementsInterface(ReferenceBinding anInterface,
boolean searchHierarchy)
Answer true if the receiver implements anInterface or is identical to anInterface.
|
void |
SyntheticMethodBinding.initializeMethodAccessor(MethodBinding accessedMethod,
boolean isSuperAccess,
ReferenceBinding receiverType)
An method accessor is a method with an access$N selector, where N is incremented in case of collisions.
|
boolean |
Scope.isDefinedInSameUnit(ReferenceBinding type) |
boolean |
Scope.isDefinedInType(ReferenceBinding type) |
boolean |
WildcardBinding.isSuperclassOf(ReferenceBinding otherType) |
boolean |
ReferenceBinding.isSuperclassOf(ReferenceBinding otherType)
Answer true if the receiver is in the superclass hierarchy of aType
NOTE: Object.isSuperclassOf(Object) -> false
|
protected MethodBinding |
Scope.mostSpecificMethodBinding(MethodBinding[] visible,
int visibleSize,
TypeBinding[] argumentTypes,
InvocationSite invocationSite,
ReferenceBinding receiverType) |
void |
BlockScope.propagateInnerEmulation(ReferenceBinding targetType,
boolean isEnclosingInstanceSupplied) |
void |
LookupEnvironment.setAccessRestriction(ReferenceBinding type,
AccessRestriction accessRestriction)
Associate a given type with some access restriction
(did not store the restriction directly into binding, since sparse information)
|
void |
InvocationSite.setActualReceiverType(ReferenceBinding receiverType) |
void |
InvocationSite.EmptyWithAstNode.setActualReceiverType(ReferenceBinding receiverType) |
void |
ReferenceBinding.setContainerAnnotationType(ReferenceBinding value) |
void |
BinaryTypeBinding.setContainerAnnotationType(ReferenceBinding value) |
void |
SourceTypeBinding.setContainerAnnotationType(ReferenceBinding value) |
ReferenceBinding[] |
SourceTypeBinding.setMemberTypes(ReferenceBinding[] memberTypes) |
static void |
AnnotationBinding.setMethodBindings(ReferenceBinding type,
ElementValuePair[] pairs) |
ReferenceBinding |
TypeVariableBinding.setSuperClass(ReferenceBinding superclass) |
ReferenceBinding |
SourceTypeBinding.setSuperClass(ReferenceBinding superClass) |
ReferenceBinding[] |
TypeVariableBinding.setSuperInterfaces(ReferenceBinding[] superInterfaces) |
ReferenceBinding[] |
SourceTypeBinding.setSuperInterfaces(ReferenceBinding[] superInterfaces) |
boolean |
CaptureBinding18.setUpperBounds(TypeBinding[] upperBounds,
ReferenceBinding javaLangObject) |
static ReferenceBinding[] |
Scope.substitute(Substitution substitution,
ReferenceBinding[] originalTypes)
Returns an array of types, where original types got substituted given a substitution.
|
ReferenceBinding[] |
Scope.Substitutor.substitute(Substitution substitution,
ReferenceBinding[] originalTypes)
Returns an array of types, where original types got substituted given a substitution.
|
void |
WildcardBinding.swapUnresolved(UnresolvedReferenceBinding unresolvedType,
ReferenceBinding resolvedType,
LookupEnvironment env) |
void |
ParameterizedTypeBinding.swapUnresolved(UnresolvedReferenceBinding unresolvedType,
ReferenceBinding resolvedType,
LookupEnvironment env) |
void |
UnresolvedReferenceBinding.swapUnresolved(UnresolvedReferenceBinding unresolvedType,
ReferenceBinding unannotatedType,
LookupEnvironment environment) |
void |
ArrayBinding.swapUnresolved(UnresolvedReferenceBinding unresolvedType,
ReferenceBinding resolvedType,
LookupEnvironment env) |
void |
TypeBinding.swapUnresolved(UnresolvedReferenceBinding unresolvedType,
ReferenceBinding resolvedType,
LookupEnvironment environment) |
void |
Scope.tagAsAccessingEnclosingInstanceStateOf(ReferenceBinding enclosingType,
boolean typeVariableAccess) |
void |
TypeSystem.updateCaches(UnresolvedReferenceBinding unresolvedType,
ReferenceBinding resolvedType) |
boolean |
TypeBindingVisitor.visit(ReferenceBinding referenceBinding) |
static void |
TypeBindingVisitor.visit(TypeBindingVisitor visitor,
ReferenceBinding[] types) |
| Constructor and Description |
|---|
AnnotationBinding(ReferenceBinding type,
ElementValuePair[] pairs) |
CaptureBinding(ReferenceBinding sourceType,
char[] sourceName,
int position,
int captureID,
LookupEnvironment environment) |
CaptureBinding(WildcardBinding wildcard,
ReferenceBinding sourceType,
int position,
int captureID) |
CaptureBinding18(ReferenceBinding contextType,
char[] sourceName,
char[] originalName,
int position,
int captureID,
LookupEnvironment environment) |
FieldBinding(char[] name,
TypeBinding type,
int modifiers,
ReferenceBinding declaringClass,
Constant constant) |
FieldBinding(FieldBinding initialFieldBinding,
ReferenceBinding declaringClass) |
FieldBinding(FieldDeclaration field,
TypeBinding type,
int modifiers,
ReferenceBinding declaringClass) |
ImportConflictBinding(char[][] compoundName,
Binding methodBinding,
ReferenceBinding conflictingTypeBinding,
ImportReference reference) |
InferenceVariable(TypeBinding typeParameter,
int variableRank,
InvocationSite site,
LookupEnvironment environment,
ReferenceBinding object) |
IntersectionCastTypeBinding(ReferenceBinding[] intersectingTypes,
LookupEnvironment environment) |
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) |
MethodBinding(int modifiers,
TypeBinding[] parameters,
ReferenceBinding[] thrownExceptions,
ReferenceBinding declaringClass) |
MethodBinding(MethodBinding initialMethodBinding,
ReferenceBinding declaringClass) |
MostSpecificExceptionMethodBinding(MethodBinding originalMethod,
ReferenceBinding[] mostSpecificExceptions) |
ParameterizedMethodBinding(ReferenceBinding declaringClass,
MethodBinding originalMethod,
char[][] alternateParamaterNames,
LookupEnvironment environment)
Create method of parameterized type, substituting original parameters/exception/return type with type arguments.
|
ParameterizedTypeBinding(ReferenceBinding type,
TypeBinding[] arguments,
ReferenceBinding enclosingType,
LookupEnvironment environment) |
ProblemBinding(char[][] compoundName,
ReferenceBinding searchType,
int problemId) |
ProblemFieldBinding(FieldBinding closestMatch,
ReferenceBinding declaringClass,
char[] name,
int problemId) |
ProblemFieldBinding(ReferenceBinding declaringClass,
char[] name,
int problemId) |
ProblemMethodBinding(char[] selector,
TypeBinding[] args,
ReferenceBinding declaringClass,
int problemReason) |
ProblemReferenceBinding(char[][] compoundName,
ReferenceBinding closestMatch,
int problemReason) |
RawTypeBinding(ReferenceBinding type,
ReferenceBinding enclosingType,
LookupEnvironment environment)
Raw type arguments are erasure of respective parameter bounds.
|
ReferenceBinding(ReferenceBinding prototype) |
SyntheticArgumentBinding(ReferenceBinding enclosingType) |
SyntheticFactoryMethodBinding(MethodBinding method,
LookupEnvironment environment,
ReferenceBinding enclosingType) |
SyntheticFieldBinding(char[] name,
TypeBinding type,
int modifiers,
ReferenceBinding declaringClass,
Constant constant,
int index) |
SyntheticMethodBinding(FieldBinding targetField,
boolean isReadAccess,
boolean isSuperAccess,
ReferenceBinding declaringClass) |
SyntheticMethodBinding(FieldBinding targetField,
ReferenceBinding declaringClass,
TypeBinding enumBinding,
char[] selector) |
SyntheticMethodBinding(MethodBinding targetMethod,
boolean isSuperAccess,
ReferenceBinding declaringClass) |
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 | Field and Description |
|---|---|
ReferenceBinding[] |
HashtableOfType.valueTable |
| Modifier and Type | Method and Description |
|---|---|
ReferenceBinding |
HashtableOfType.get(char[] key) |
ReferenceBinding |
HashtableOfType.getput(char[] key,
ReferenceBinding value) |
ReferenceBinding |
HashtableOfType.put(char[] key,
ReferenceBinding value) |
static ReferenceBinding[] |
Sorting.sortTypes(ReferenceBinding[] types)
Topological sort for types
Guarantee: supertypes come before subtypes.
|
| Modifier and Type | Method and Description |
|---|---|
ReferenceBinding |
HashtableOfType.getput(char[] key,
ReferenceBinding value) |
ReferenceBinding |
HashtableOfType.put(char[] key,
ReferenceBinding value) |
static ReferenceBinding[] |
Sorting.sortTypes(ReferenceBinding[] types)
Topological sort for types
Guarantee: supertypes come before subtypes.
|
Copyright © 2015. All rights reserved.