| 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 |
BatchFilerImpl.addNewClassFile(ReferenceBinding binding) |
void |
BaseProcessingEnvImpl.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 |
|---|---|
void |
ParameterizedQualifiedTypeReference.checkBounds(ReferenceBinding type,
Scope scope,
int index) |
void |
AllocationExpression.checkCapturedLocalInitializationIfNecessary(ReferenceBinding checkedType,
BlockScope currentScope,
FlowInfo flowInfo) |
void |
AllocationExpression.checkTypeArgumentRedundancy(ParameterizedTypeBinding allocationType,
ReferenceBinding enclosingType,
TypeBinding[] argumentTypes,
BlockScope scope) |
void |
ConstructorDeclaration.generateSyntheticFieldInitializationsIfNecessary(MethodScope methodScope,
CodeStream codeStream,
ReferenceBinding declaringClass) |
TypeBinding[] |
AllocationExpression.inferElidedTypes(ReferenceBinding allocationType,
ReferenceBinding enclosingType,
TypeBinding[] argumentTypes,
BlockScope 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) |
void |
AllocationExpression.setActualReceiverType(ReferenceBinding receiverType) |
void |
NameReference.setActualReceiverType(ReferenceBinding receiverType) |
void |
AbstractVariableDeclaration.setActualReceiverType(ReferenceBinding receiverType) |
void |
ExplicitConstructorCall.setActualReceiverType(ReferenceBinding receiverType) |
void |
FieldReference.setActualReceiverType(ReferenceBinding receiverType) |
void |
MessageSend.setActualReceiverType(ReferenceBinding receiverType) |
| 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 |
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 |
|---|---|
protected ReferenceBinding |
ParameterizedTypeBinding.actualType()
May return an UnresolvedReferenceBinding.
|
ReferenceBinding |
LocalTypeBinding.anonymousOriginalSuperType() |
ReferenceBinding |
LookupEnvironment.askForType(char[][] compoundName)
Ask the name environment for a type which corresponds to the compoundName.
|
ReferenceBinding |
ProblemReferenceBinding.closestReferenceMatch() |
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 |
Scope.enclosingReceiverType() |
ReferenceBinding |
TypeBinding.enclosingType() |
ReferenceBinding |
NestedTypeBinding.enclosingType() |
ReferenceBinding |
BinaryTypeBinding.enclosingType() |
ReferenceBinding |
ParameterizedTypeBinding.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 |
Scope.getJavaIoSerializable() |
ReferenceBinding |
Scope.getJavaLangAnnotationAnnotation() |
ReferenceBinding |
Scope.getJavaLangAssertionError() |
ReferenceBinding |
Scope.getJavaLangClass() |
ReferenceBinding |
Scope.getJavaLangCloneable() |
ReferenceBinding |
Scope.getJavaLangEnum() |
ReferenceBinding |
Scope.getJavaLangIterable() |
ReferenceBinding |
Scope.getJavaLangObject() |
ReferenceBinding |
Scope.getJavaLangString() |
ReferenceBinding |
Scope.getJavaLangThrowable() |
ReferenceBinding |
Scope.getJavaUtilIterator() |
ReferenceBinding |
ReferenceBinding.getMemberType(char[] typeName) |
ReferenceBinding |
BinaryTypeBinding.getMemberType(char[] typeName)
Rewrite of default getMemberType to avoid resolving eagerly all member types when one is requested
|
ReferenceBinding |
ParameterizedTypeBinding.getMemberType(char[] typeName) |
ReferenceBinding |
Scope.getMemberType(char[] typeName,
ReferenceBinding enclosingType) |
ReferenceBinding |
LookupEnvironment.getResolvedType(char[][] compoundName,
Scope scope) |
ReferenceBinding |
LookupEnvironment.getType(char[][] compoundName) |
static ReferenceBinding[] |
Scope.greaterLowerBound(ReferenceBinding[] types) |
ReferenceBinding[] |
ReferenceBinding.memberTypes() |
ReferenceBinding[] |
BinaryTypeBinding.memberTypes() |
ReferenceBinding[] |
SourceTypeBinding.memberTypes() |
ReferenceBinding[] |
ParameterizedTypeBinding.memberTypes() |
ReferenceBinding |
ReferenceBinding.outermostEnclosingType() |
static ReferenceBinding[] |
Scope.substitute(Substitution substitution,
ReferenceBinding[] originalTypes)
Returns an array of types, where original types got substituted given a substitution.
|
ReferenceBinding |
ReferenceBinding.superclass() |
ReferenceBinding |
WildcardBinding.superclass() |
ReferenceBinding |
BinaryTypeBinding.superclass() |
ReferenceBinding |
SourceTypeBinding.superclass() |
ReferenceBinding |
ParameterizedTypeBinding.superclass() |
ReferenceBinding |
TypeVariableBinding.superclass() |
ReferenceBinding[] |
ReferenceBinding.superInterfaces() |
ReferenceBinding[] |
WildcardBinding.superInterfaces() |
ReferenceBinding[] |
BinaryTypeBinding.superInterfaces() |
ReferenceBinding[] |
SourceTypeBinding.superInterfaces() |
ReferenceBinding[] |
ParameterizedTypeBinding.superInterfaces() |
ReferenceBinding[] |
TypeVariableBinding.superInterfaces() |
ReferenceBinding[] |
ReferenceBinding.syntheticEnclosingInstanceTypes() |
ReferenceBinding[] |
NestedTypeBinding.syntheticEnclosingInstanceTypes() |
ReferenceBinding[] |
ParameterizedTypeBinding.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) |
boolean |
ReferenceBinding.canBeSeenBy(ReferenceBinding receiverType,
ReferenceBinding invocationType)
Answer true if the receiver is visible to the receiverType and the 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) |
ParameterizedTypeBinding |
LookupEnvironment.createParameterizedType(ReferenceBinding genericType,
TypeBinding[] typeArguments,
ReferenceBinding enclosingType) |
RawTypeBinding |
LookupEnvironment.createRawType(ReferenceBinding genericType,
ReferenceBinding enclosingType) |
WildcardBinding |
LookupEnvironment.createWildcard(ReferenceBinding genericType,
int rank,
TypeBinding bound,
TypeBinding[] otherBounds,
int boundKind) |
protected MethodBinding |
Scope.findDefaultAbstractMethod(ReferenceBinding receiverType,
char[] selector,
TypeBinding[] argumentTypes,
InvocationSite invocationSite,
ReferenceBinding classHierarchyStart,
ObjectVector found,
MethodBinding concreteMatch) |
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) |
MethodBinding |
Scope.findMethod(ReferenceBinding receiverType,
char[] selector,
TypeBinding[] argumentTypes,
InvocationSite invocationSite,
boolean inStaticContext) |
protected void |
Scope.findMethodInSuperInterfaces(ReferenceBinding currentType,
char[] selector,
ObjectVector found,
InvocationSite invocationSite) |
MethodBinding |
Scope.getConstructor(ReferenceBinding receiverType,
TypeBinding[] argumentTypes,
InvocationSite invocationSite) |
Object[] |
BlockScope.getEmulationPath(ReferenceBinding targetEnclosingType,
boolean onlyExactMatch,
boolean denyEnclosingArgInConstructorCall) |
ReferenceBinding |
Scope.getMemberType(char[] typeName,
ReferenceBinding enclosingType) |
MethodBinding |
Scope.getStaticFactory(ReferenceBinding allocationType,
ReferenceBinding originalEnclosingType,
TypeBinding[] argumentTypes,
InvocationSite 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) |
static ReferenceBinding[] |
Scope.greaterLowerBound(ReferenceBinding[] types) |
protected 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 |
ReferenceBinding.isSuperclassOf(ReferenceBinding otherType)
Answer true if the receiver is in the superclass hierarchy of aType
NOTE: Object.isSuperclassOf(Object) -> false
|
boolean |
WildcardBinding.isSuperclassOf(ReferenceBinding otherType) |
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) |
static void |
AnnotationBinding.setMethodBindings(ReferenceBinding type,
ElementValuePair[] pairs) |
static ReferenceBinding[] |
Scope.substitute(Substitution substitution,
ReferenceBinding[] originalTypes)
Returns an array of types, where original types got substituted given a substitution.
|
void |
TypeBinding.swapUnresolved(UnresolvedReferenceBinding unresolvedType,
ReferenceBinding resolvedType,
LookupEnvironment environment) |
void |
WildcardBinding.swapUnresolved(UnresolvedReferenceBinding unresolvedType,
ReferenceBinding resolvedType,
LookupEnvironment env) |
void |
ArrayBinding.swapUnresolved(UnresolvedReferenceBinding unresolvedType,
ReferenceBinding resolvedType,
LookupEnvironment env) |
void |
ParameterizedTypeBinding.swapUnresolved(UnresolvedReferenceBinding unresolvedType,
ReferenceBinding resolvedType,
LookupEnvironment env) |
| Constructor and Description |
|---|
CaptureBinding(WildcardBinding wildcard,
ReferenceBinding sourceType,
int position,
int captureID) |
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) |
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.
|
SyntheticArgumentBinding(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.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.put(char[] key,
ReferenceBinding value) |
static ReferenceBinding[] |
Sorting.sortTypes(ReferenceBinding[] types)
Topological sort for types
Guarantee: supertypes come before subtypes.
|
Copyright © 2013. All rights reserved.