org.aspectj.org.eclipse.jdt.internal.compiler.lookup
Class LocalTypeBinding
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.NestedTypeBinding
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.LocalTypeBinding
public final class LocalTypeBinding
- extends NestedTypeBinding
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding |
defaultNullness, fields, memberFinder, memberTypes, methods, originalSuperclass, originalSuperInterfaces, privilegedHandler, prototype, scope, superclass, superInterfaces, typeFinder, typeVariables |
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding |
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, id, INT, LONG, NULL, SHORT, tagBits, TYPE_USE_BINDING, typeAnnotations, VOID |
| Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding |
ANY_EXCEPTION, ARRAY_TYPE, BASE_TYPE, DefaultLocationArrayContents, DefaultLocationField, DefaultLocationParameter, DefaultLocationReturnType, DefaultLocationTypeArgument, DefaultLocationTypeBound, DefaultLocationTypeParameter, FIELD, GENERIC_TYPE, IMPORT, INTERSECTION_CAST_TYPE, INTERSECTION_TYPE, LOCAL, METHOD, NO_ANNOTATIONS, NO_ELEMENT_VALUE_PAIRS, NO_EXCEPTIONS, NO_FIELDS, NO_MEMBER_TYPES, NO_METHODS, NO_NULL_DEFAULT, NO_PARAMETER_NAMES, NO_PARAMETERS, NO_REFERENCE_TYPES, NO_SUPERINTERFACES, NO_TYPE_VARIABLES, NO_TYPES, NONNULL_BY_DEFAULT, NULL_UNSPECIFIED_BY_DEFAULT, NullnessDefaultMASK, PACKAGE, PARAMETERIZED_TYPE, POLY_TYPE, RAW_TYPE, TYPE, TYPE_PARAMETER, TYPE_USE, UNINITIALIZED_FIELDS, UNINITIALIZED_METHODS, UNINITIALIZED_REFERENCE_TYPES, VARIABLE, WILDCARD_TYPE |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.NestedTypeBinding |
addSyntheticArgument, addSyntheticArgument, addSyntheticArgumentAndField, addSyntheticArgumentAndField, enclosingType, getEnclosingInstancesSlotSize, getOuterLocalVariablesSlotSize, getSyntheticArgument, getSyntheticArgument, syntheticEnclosingInstances, syntheticEnclosingInstanceTypes, syntheticOuterLocalVariables |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding |
addField, addMethod, addSyntheticArrayMethod, addSyntheticBridgeMethod, addSyntheticBridgeMethod, addSyntheticEnumMethod, addSyntheticFactoryMethod, addSyntheticField, addSyntheticFieldForAssert, addSyntheticFieldForClassLiteral, addSyntheticFieldForEnumValues, addSyntheticFieldForInnerclass, addSyntheticFieldForInnerclass, addSyntheticFieldForSwitchEnum, addSyntheticMethod, addSyntheticMethod, addSyntheticMethod, addSyntheticMethodForEnumInitialization, addSyntheticMethodForSwitchEnum, checkRedundantNullnessDefaultOne, containerAnnotationType, fields, genericSignature, getAnnotationTagBits, getDefaultAbstractMethods, getExactConstructor, getExactMethod, getExactMethodBase, getField, getField, getFieldBase, getMemberType, getMethods, getMethods, getMethodsBase, getSyntheticBridgeMethod, getSyntheticField, getSyntheticField, hasMemberTypes, hasTypeBit, initializeDeprecatedAnnotationTagBits, isEquivalentTo, isGenericType, isHierarchyConnected, isPrototype, isRepeatableAnnotationType, isTaggedRepeatable, kind, memberTypes, methods, methodsBase, prototype, rememberTypeHierarchy, removeMethod, resolveTypeFor, resolveTypesFor, retrieveAnnotationHolder, setContainerAnnotationType, setFields, setMemberTypes, setMethods, setSuperClass, setSuperInterfaces, setTypeVariables, sourceEnd, sourceStart, superclass, superInterfaces, syntheticFields, syntheticMethods, tagAsHavingDefectiveContainerType, tagIndirectlyAccessibleMembers, typeVariables, unannotated, unResolvedFields |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding |
acceptsNonNullDefault, appendNullAnnotation, applyCloseableClassWhitelists, applyCloseableInterfaceWhitelists, availableFields, availableMethods, binarySearch, binarySearch, canBeInstantiated, canBeSeenBy, canBeSeenBy, canBeSeenBy, computeGenericTypeSignature, computeId, debugName, depth, detectAnnotationCycle, enclosingTypeAt, enumConstantCount, fieldCount, getAccessFlags, getAnnotations, getFileName, getPackage, getSingleAbstractMethod, getTypeVariable, hasIncompatibleSuperType, hasRestrictedAccess, implementsInterface, innerCanBeSeenBy, innerCanBeSeenBy, isAbstract, isAnnotationType, isBinaryBinding, isClass, isCompatibleWith, isConsistentIntersection, isDefault, isDeprecated, isEnum, isFinal, isFunctionalInterface, isHierarchyBeingActivelyConnected, isHierarchyBeingConnected, isInterface, isOrEnclosedByPrivateType, isPrivate, isProperType, isProtected, isPublic, isStatic, isStrictfp, isSubtypeOf, isSubTypeOfRTL, isSuperclassOf, isThrowable, isUncheckedException, isUsed, isViewedAsDeprecated, nullAnnotatedReadableName, outermostEnclosingType, qualifiedSourceName, setAnnotations, sortFields, sortMethods |
| Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding |
actualType, annotatedDebugName, capture, closestMatch, collectMissingTypes, collectSubstitutes, dimensions, enterRecursiveFunction, equalsEquals, erasure, exitRecursiveFunction, findSuperTypeOriginatingFrom, findSuperTypeOriginatingFrom, genericCast, getErasureCompatibleType, getIntersectingTypes, getTypeAnnotations, hasNullTypeAnnotations, hasTypeAnnotations, isAnonymousType, isArrayType, isBaseType, isBoundParameterizedType, isBoxedPrimitiveType, isCapture, isCompatibleWith, isHierarchyInconsistent, isIntersectionCastType, isIntersectionType, isLocalType, isMemberType, isNestedType, isNumericType, isParameterizedType, isParameterizedTypeWithActualArguments, isParameterizedWithOwnVariables, isPrimitiveOrBoxedPrimitiveType, isPrimitiveType, isProvablyDistinct, isRawType, isReifiable, isTypeArgumentContainedBy, isTypeVariable, isUnboundWildcard, isUnresolvedType, isWildcard, leafComponentType, mentionsAny, needsUncheckedConversion, notEquals, original, qualifiedPackageName, setTypeAnnotations, sIsMoreSpecific, swapUnresolved, uncapture, wellKnownType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
enclosingCase
public CaseStatement enclosingCase
sourceStart
public int sourceStart
enclosingMethod
public MethodBinding enclosingMethod
LocalTypeBinding
public LocalTypeBinding(ClassScope scope,
SourceTypeBinding enclosingType,
CaseStatement switchCase)
LocalTypeBinding
public LocalTypeBinding(LocalTypeBinding prototype)
addInnerEmulationDependent
public void addInnerEmulationDependent(BlockScope dependentScope,
boolean wasEnclosingInstanceSupplied)
anonymousOriginalSuperType
public ReferenceBinding anonymousOriginalSuperType()
checkRedundantNullnessDefaultRecurse
protected void checkRedundantNullnessDefaultRecurse(ASTNode location,
Annotation[] annotations,
long nullBits,
boolean isJdk18)
- Description copied from class:
SourceTypeBinding
- Recursively check if the given annotations are redundant with equal annotations at an enclosing level.
- Overrides:
checkRedundantNullnessDefaultRecurse in class NestedTypeBinding
- Parameters:
location - fallback location to report the warning against (if we can't blame a specific annotation)annotations - search these for the annotation that should be blamed in warning messagesnullBits - in 1.7- times these are the annotationTagBits, in 1.8+ the bitvector from Binding.NullnessDefaultMASKisJdk18 - toggles the interpretation of 'nullBits'
computeUniqueKey
public char[] computeUniqueKey(boolean isLeaf)
- Description copied from class:
ReferenceBinding
- p.X {} -> Lp/X;
- Overrides:
computeUniqueKey in class SourceTypeBinding
constantPoolName
public char[] constantPoolName()
- Description copied from class:
ReferenceBinding
- Answer the receiver's constant pool name.
NOTE: This method should only be used during/after code gen.
- Overrides:
constantPoolName in class ReferenceBinding
clone
public TypeBinding clone(TypeBinding outerType)
- Description copied from class:
TypeBinding
- Virtual copy constructor: a copy is made of the receiver's entire instance state and then suitably
parameterized by the arguments to the clone operation as seen fit by each type. Parameters may not
make sense for every type in the hierarchy, in which case they are silently ignored. A type may
choose to retain a copy of the prototype for reference.
- Overrides:
clone in class SourceTypeBinding
hashCode
public int hashCode()
- Overrides:
hashCode in class ReferenceBinding
genericTypeSignature
public char[] genericTypeSignature()
- Description copied from class:
TypeBinding
- Answer the receiver classfile signature.
Arrays & base types do not distinguish between signature() & constantPoolName().
NOTE: This method should only be used during/after code gen.
- Overrides:
genericTypeSignature in class SourceTypeBinding
- See Also:
TypeBinding.genericTypeSignature()
readableName
public char[] readableName()
- Description copied from class:
ReferenceBinding
- Answer the receiver's signature.
NOTE: This method should only be used during/after code gen.
- Overrides:
readableName in class ReferenceBinding
shortReadableName
public char[] shortReadableName()
- Overrides:
shortReadableName in class ReferenceBinding
setAsMemberType
public void setAsMemberType()
setConstantPoolName
public void setConstantPoolName(char[] computedConstantPoolName)
signature
public char[] signature()
- Description copied from class:
TypeBinding
- Answer the receiver classfile signature.
Arrays & base types do not distinguish between signature() & constantPoolName().
NOTE: This method should only be used during/after code gen.
- Overrides:
signature in class ReferenceBinding
sourceName
public char[] sourceName()
- Overrides:
sourceName in class ReferenceBinding
toString
public java.lang.String toString()
- Overrides:
toString in class SourceTypeBinding
updateInnerEmulationDependents
public void updateInnerEmulationDependents()
- Overrides:
updateInnerEmulationDependents in class NestedTypeBinding