public class SourceTypeBinding extends ReferenceBinding
| Modifier and Type | Field and Description |
|---|---|
ReferenceBinding[] |
memberTypes |
ClassScope |
scope |
ReferenceBinding |
superclass |
ReferenceBinding[] |
superInterfaces |
TypeVariableBinding[] |
typeVariables |
compoundName, fPackage, LUB_GENERIC, modifiers, sourceNameBOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, id, INT, LONG, NULL, SHORT, tagBits, VOIDANY_EXCEPTION, ARRAY_TYPE, BASE_TYPE, FIELD, GENERIC_TYPE, IMPORT, INTERSECTION_TYPE, LOCAL, METHOD, NO_ANNOTATIONS, NO_ELEMENT_VALUE_PAIRS, NO_EXCEPTIONS, NO_FIELDS, NO_MEMBER_TYPES, NO_METHODS, NO_NULL_DEFAULT, NO_PARAMETERS, NO_SUPERINTERFACES, NO_TYPE_VARIABLES, NO_TYPES, NONNULL_BY_DEFAULT, NULL_UNSPECIFIED_BY_DEFAULT, PACKAGE, PARAMETERIZED_TYPE, RAW_TYPE, TYPE, TYPE_PARAMETER, UNINITIALIZED_FIELDS, UNINITIALIZED_METHODS, UNINITIALIZED_REFERENCE_TYPES, VARIABLE, WILDCARD_TYPE| Constructor and Description |
|---|
SourceTypeBinding(char[][] compoundName,
PackageBinding fPackage,
ClassScope scope) |
applyCloseableWhitelists, availableFields, availableMethods, binarySearch, binarySearch, canBeInstantiated, canBeSeenBy, canBeSeenBy, canBeSeenBy, computeGenericTypeSignature, computeId, constantPoolName, debugName, depth, detectAnnotationCycle, enclosingTypeAt, enumConstantCount, fieldCount, getAccessFlags, getAnnotations, getEnclosingInstancesSlotSize, getFileName, getMemberType, getMethods, getOuterLocalVariablesSlotSize, getPackage, getTypeVariable, hashCode, hasIncompatibleSuperType, hasRestrictedAccess, implementsInterface, isAbstract, isAnnotationType, isBinaryBinding, isClass, isCompatibleWith, isDefault, isDeprecated, isEnum, isFinal, isHierarchyBeingActivelyConnected, isHierarchyBeingConnected, isInterface, isOrEnclosedByPrivateType, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSuperclassOf, isThrowable, isUncheckedException, isUsed, isViewedAsDeprecated, outermostEnclosingType, qualifiedSourceName, readableName, setAnnotations, shortReadableName, signature, sortFields, sortMethods, sourceName, syntheticEnclosingInstanceTypes, syntheticOuterLocalVariablescapture, closestMatch, collectMissingTypes, collectSubstitutes, dimensions, enclosingType, erasure, findSuperTypeOriginatingFrom, findSuperTypeOriginatingFrom, genericCast, getErasureCompatibleType, isAnonymousType, isArrayType, isBaseType, isBoundParameterizedType, isCapture, isCompatibleWith, isHierarchyInconsistent, isIntersectionType, isLocalType, isMemberType, isNestedType, isNumericType, isParameterizedType, isParameterizedTypeWithActualArguments, isParameterizedWithOwnVariables, isProvablyDistinct, isRawType, isReifiable, isTypeArgumentContainedBy, isTypeVariable, isUnboundWildcard, isWildcard, leafComponentType, needsUncheckedConversion, original, qualifiedPackageName, swapUnresolved, wellKnownTypecomputeUniqueKey, isParameter, isValidBinding, isVolatile, problemIdpublic ReferenceBinding superclass
public ReferenceBinding[] superInterfaces
public ReferenceBinding[] memberTypes
public TypeVariableBinding[] typeVariables
public ClassScope scope
public SourceTypeBinding(char[][] compoundName,
PackageBinding fPackage,
ClassScope scope)
public FieldBinding addSyntheticFieldForInnerclass(LocalVariableBinding actualOuterLocalVariable)
public FieldBinding addSyntheticFieldForInnerclass(ReferenceBinding enclosingType)
public FieldBinding addSyntheticFieldForClassLiteral(TypeBinding targetType, BlockScope blockScope)
public FieldBinding addSyntheticFieldForAssert(BlockScope blockScope)
public FieldBinding addSyntheticFieldForEnumValues()
public SyntheticMethodBinding addSyntheticMethod(FieldBinding targetField, boolean isReadAccess, boolean isSuperAccess)
public SyntheticMethodBinding addSyntheticEnumMethod(char[] selector)
public SyntheticFieldBinding addSyntheticFieldForSwitchEnum(char[] fieldName, String key)
public SyntheticMethodBinding addSyntheticMethodForSwitchEnum(TypeBinding enumBinding)
public SyntheticMethodBinding addSyntheticMethodForEnumInitialization(int begin, int end)
public SyntheticMethodBinding addSyntheticMethod(MethodBinding targetMethod, boolean isSuperAccess)
public SyntheticMethodBinding addSyntheticBridgeMethod(MethodBinding inheritedMethodToBridge, MethodBinding targetMethod)
public SyntheticMethodBinding addSyntheticBridgeMethod(MethodBinding inheritedMethodToBridge)
public int kind()
kind in class TypeBindingpublic char[] computeUniqueKey(boolean isLeaf)
ReferenceBindingcomputeUniqueKey in class ReferenceBindingpublic FieldBinding[] fields()
fields in class ReferenceBindingpublic char[] genericTypeSignature()
TypeBindinggenericTypeSignature in class TypeBindingTypeBinding.genericTypeSignature()public char[] genericSignature()
public long getAnnotationTagBits()
getAnnotationTagBits in class ReferenceBindingBinding.getAnnotationTagBits()public MethodBinding[] getDefaultAbstractMethods()
public MethodBinding getExactConstructor(TypeBinding[] argumentTypes)
getExactConstructor in class ReferenceBindingpublic MethodBinding getExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope)
getExactMethod in class ReferenceBindingpublic FieldBinding getField(char[] fieldName, boolean needResolve)
getField in class ReferenceBindingpublic MethodBinding[] getMethods(char[] selector)
getMethods in class ReferenceBindingpublic FieldBinding getSyntheticField(LocalVariableBinding actualOuterLocalVariable)
public FieldBinding getSyntheticField(ReferenceBinding targetEnclosingType, boolean onlyExactMatch)
public SyntheticMethodBinding getSyntheticBridgeMethod(MethodBinding inheritedMethodToBridge)
public boolean hasTypeBit(int bit)
ReferenceBindingTypeIds.BitAutoCloseable.hasTypeBit in class ReferenceBindingpublic void initializeDeprecatedAnnotationTagBits()
BindinginitializeDeprecatedAnnotationTagBits in class BindingBinding.initializeDeprecatedAnnotationTagBits()public boolean isEquivalentTo(TypeBinding otherType)
isEquivalentTo in class TypeBindingpublic boolean isGenericType()
isGenericType in class TypeBindingpublic boolean isHierarchyConnected()
ReferenceBindingisHierarchyConnected in class ReferenceBindingpublic ReferenceBinding[] memberTypes()
memberTypes in class ReferenceBindingpublic boolean hasMemberTypes()
hasMemberTypes in class ReferenceBindingpublic MethodBinding[] methods()
methods in class ReferenceBindingpublic FieldBinding resolveTypeFor(FieldBinding field)
public MethodBinding resolveTypesFor(MethodBinding method)
protected void checkRedundantNullnessDefaultRecurse(ASTNode location, Annotation[] annotations, long annotationTagBits)
protected boolean checkRedundantNullnessDefaultOne(ASTNode location, Annotation[] annotations, long annotationTagBits)
public AnnotationHolder retrieveAnnotationHolder(Binding binding, boolean forceInitialization)
retrieveAnnotationHolder in class ReferenceBindingpublic void setFields(FieldBinding[] fields)
public void setMethods(MethodBinding[] methods)
public final int sourceEnd()
public final int sourceStart()
public ReferenceBinding superclass()
superclass in class ReferenceBindingpublic ReferenceBinding[] superInterfaces()
superInterfaces in class ReferenceBindingpublic SyntheticMethodBinding[] syntheticMethods()
public FieldBinding[] syntheticFields()
public TypeVariableBinding[] typeVariables()
typeVariables in class TypeBindingpublic FieldBinding[] unResolvedFields()
unResolvedFields in class ReferenceBindingpublic void tagIndirectlyAccessibleMembers()
Copyright © 2013. All rights reserved.