public class ClassScope extends Scope
Scope.Substitutor| Modifier and Type | Field and Description |
|---|---|
TypeDeclaration |
referenceContext |
TypeReference |
superTypeReference |
APPLICABILITY, AUTOBOX_COMPATIBLE, BLOCK_SCOPE, CLASS_SCOPE, COMPATIBLE, COMPILATION_UNIT_SCOPE, EQUAL_OR_MORE_SPECIFIC, FULL_INFERENCE, INVOCATION_TYPE, kind, METHOD_SCOPE, MORE_GENERIC, NOT_COMPATIBLE, NOT_RELATED, parent, VARARGS_COMPATIBLE| Constructor and Description |
|---|
ClassScope(Scope parent,
TypeDeclaration context) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkParameterizedSuperTypeCollisions() |
void |
checkParameterizedTypeBounds() |
boolean |
deferCheck(Runnable check) |
boolean |
detectHierarchyCycle(TypeBinding superType,
TypeReference reference) |
boolean |
hasDefaultNullnessFor(int location)
Answer a defaultNullness defined for the closest enclosing scope, using bits from Binding.NullnessDefaultMASK.
|
ProblemReporter |
problemReporter() |
TypeDeclaration |
referenceType() |
String |
toString() |
boxing, classScope, compareTypes, compilationUnitScope, compilerOptions, computeCompatibleMethod, computeCompatibleMethod, connectTypeVariables, convertEliminatingTypeVariables, createArrayType, createArrayType, createTypeVariables, deferBoundCheck, enclosingClassScope, enclosingLambdaScope, enclosingMethodScope, enclosingReceiverType, enclosingReferenceContext, enclosingSourceType, environment, findDefaultAbstractMethod, findDirectMemberType, findExactMethod, findField, findField, findMemberType, findMethod, findMethod0, findMethodForArray, findMethodInSuperInterfaces, findType, findVariable, getBaseType, getBinding, getConstructor, getConstructor0, getCurrentPackage, getDeclarationModifiers, getExactConstructor, getExactMethod, getField, getImplicitMethod, getJavaIoSerializable, getJavaLangAnnotationAnnotation, getJavaLangAssertionError, getJavaLangClass, getJavaLangCloneable, getJavaLangEnum, getJavaLangIllegalArgumentException, getJavaLangInvokeLambdaMetafactory, getJavaLangInvokeMethodHandlesLookup, getJavaLangInvokeSerializedLambda, getJavaLangIterable, getJavaLangObject, getJavaLangString, getJavaLangThrowable, getJavaUtilIterator, getMemberType, getMethod, getOnlyPackage, getPackage, getStaticFactory, getType, getType, getType, getTypeOrPackage, greaterLowerBound, greaterLowerBound, hasErasedCandidatesCollisions, inferInvocationType, innermostSwitchCase, isAcceptableMethod, isBoxingCompatibleWith, isDefinedInField, isDefinedInMethod, isDefinedInSameUnit, isDefinedInType, isInsideCase, isInsideDeprecatedCode, isLambdaScope, isLambdaSubscope, isPossibleSubtypeOfRawType, lowerUpperBound, methodScope, minimalErasedCandidates, mostSpecificClassMethodBinding, mostSpecificInterfaceMethodBinding, mostSpecificMethodBinding, namedMethodScope, originalReferenceContext, outerMostClassScope, outerMostMethodScope, parameterCompatibilityLevel, parameterCompatibilityLevel, parameterCompatibilityLevel, referenceCompilationUnit, referenceContext, substitute, substitute, substitute, tagAsAccessingEnclosingInstanceStateOf, typeAnnotationsResolutionScope, validateNullAnnotationpublic TypeDeclaration referenceContext
public TypeReference superTypeReference
public ClassScope(Scope parent, TypeDeclaration context)
public void checkParameterizedSuperTypeCollisions()
public void checkParameterizedTypeBounds()
public boolean deferCheck(Runnable check)
deferCheck in class Scopepublic boolean detectHierarchyCycle(TypeBinding superType, TypeReference reference)
public ProblemReporter problemReporter()
problemReporter in class Scopepublic TypeDeclaration referenceType()
public boolean hasDefaultNullnessFor(int location)
ScopehasDefaultNullnessFor in class ScopeCopyright © 2015. All rights reserved.