public class InterTypeScope extends ClassScope
Scope.SubstitutorreferenceContext, superTypeReferenceAUTOBOX_COMPATIBLE, BLOCK_SCOPE, CLASS_SCOPE, COMPATIBLE, COMPILATION_UNIT_SCOPE, EQUAL_OR_MORE_SPECIFIC, kind, METHOD_SCOPE, MODULE_SCOPE, MORE_GENERIC, NOT_COMPATIBLE, NOT_REDUNDANT, NOT_RELATED, parent, VARARGS_COMPATIBLE| Constructor and Description |
|---|
InterTypeScope(Scope parent,
ReferenceBinding onType) |
InterTypeScope(Scope parent,
ReferenceBinding rb,
java.util.List list) |
| Modifier and Type | Method and Description |
|---|---|
int |
addDepth() |
TypeVariableBinding |
findTypeVariable(char[] name,
SourceTypeBinding sourceType)
Other scopes can override this method
|
java.lang.String |
getAnyAliasForTypeVariableBinding(TypeVariableBinding tvb) |
java.util.Map |
getRecoveryAliases() |
SourceTypeBinding |
invocationType()
For Java scopes, the invocationType is always the same as the enclosingSourceType
This distinction is important for AspectJ's inter-type declarations
For inter-type declarations, the invocationType is the lexically enclosing type.
|
boolean |
isInterTypeScope() |
checkParameterizedSuperTypeCollisions, checkParameterizedTypeBounds, checkRedundantDefaultNullness, deferCheck, detectHierarchyCycle, hasDefaultNullnessFor, problemReporter, referenceType, toStringboxing, classScope, compareTypes, compilationUnitScope, compilerOptions, computeCompatibleMethod, computeCompatibleMethod, connectTypeVariables, convertEliminatingTypeVariables, createArrayType, createArrayType, createTypeVariables, deferBoundCheck, enclosingClassScope, enclosingLambdaScope, enclosingMethodScope, enclosingReceiverType, enclosingReferenceContext, enclosingSourceType, enclosingTopMostClassScope, environment, findDefaultAbstractMethod, findDirectMemberType, findExactMethod, findField, findField, findMemberType, findMethod, findMethod0, findMethodForArray, findMethodInSuperInterfaces, findPrivilegedHandler, findType, findVariable, getBaseType, getBinding, getCommonReferenceBinding, getConstructor, getConstructor0, getCurrentPackage, getDeclarationModifiers, getExactConstructor, getExactMethod, getField, getImplicitMethod, getJavaIoSerializable, getJavaLangAnnotationAnnotation, getJavaLangAssertionError, getJavaLangBoolean, getJavaLangByte, getJavaLangCharacter, getJavaLangClass, getJavaLangClassNotFoundException, getJavaLangCloneable, getJavaLangDouble, getJavaLangEnum, getJavaLangError, getJavaLangFloat, getJavaLangIllegalArgumentException, getJavaLangIncompatibleClassChangeError, getJavaLangInteger, getJavaLangInvokeLambdaMetafactory, getJavaLangInvokeMethodHandlesLookup, getJavaLangInvokeSerializedLambda, getJavaLangIterable, getJavaLangLong, getJavaLangNoClassDefFoundError, getJavaLangNoSuchFieldError, getJavaLangObject, getJavaLangRecord, getJavaLangReflectField, getJavaLangReflectMethod, getJavaLangRuntimeObjectMethods, getJavaLangShort, getJavaLangString, getJavaLangStringBuffer, getJavaLangStringBuilder, getJavaLangThrowable, getJavaLangVoid, getJavaUtilIterator, getMemberType, getMethod, getOnlyPackage, getPackage, getStaticFactory, getType, getType, getType, getTypeOrPackage, greaterLowerBound, greaterLowerBound, hasErasedCandidatesCollisions, innermostSwitchCase, isAcceptableMethod, isBoxingCompatibleWith, isDefinedInField, isDefinedInMethod, isDefinedInSameUnit, isDefinedInType, isInsideCase, isInsideDeprecatedCode, isLambdaScope, isLambdaSubscope, isSubtypeOfRawType, localCheckRedundantDefaultNullness, localNonNullByDefaultValue, lowerUpperBound, methodScope, minimalErasedCandidates, module, mostSpecificClassMethodBinding, mostSpecificInterfaceMethodBinding, mostSpecificMethodBinding, namedMethodScope, originalReferenceContext, outerMostClassScope, outerMostMethodScope, parameterCompatibilityLevel, parameterCompatibilityLevel, parameterCompatibilityLevel, parameterCompatibilityLevel, recordNonNullByDefault, referenceCompilationUnit, referenceContext, substitute, substitute, substitute, tagAsAccessingEnclosingInstanceStateOf, typeAnnotationsResolutionScope, validateNullAnnotationpublic InterTypeScope(Scope parent, ReferenceBinding onType)
public InterTypeScope(Scope parent, ReferenceBinding rb, java.util.List list)
public java.lang.String getAnyAliasForTypeVariableBinding(TypeVariableBinding tvb)
public SourceTypeBinding invocationType()
ScopeinvocationType in class ClassScopepublic int addDepth()
addDepth in class ClassScopepublic TypeVariableBinding findTypeVariable(char[] name, SourceTypeBinding sourceType)
ScopefindTypeVariable in class Scopepublic java.util.Map getRecoveryAliases()
public boolean isInterTypeScope()
isInterTypeScope in class Scope