org.eclipse.jdt.internal.compiler.lookup
类 RawTypeBinding

java.lang.Object
  继承者 org.eclipse.jdt.internal.compiler.lookup.Binding
      继承者 org.eclipse.jdt.internal.compiler.lookup.TypeBinding
          继承者 org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding
              继承者 org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding
                  继承者 org.eclipse.jdt.internal.compiler.lookup.RawTypeBinding
所有已实现的接口:
Substitution

public class RawTypeBinding
extends ParameterizedTypeBinding

Denote a raw type, i.e. a generic type referenced without any type arguments. e.g. X can be used a raw type 'X', in which case it will behave as X


字段摘要
 
从类 org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding 继承的字段
arguments, environment, fields, genericTypeSignature, memberTypes, methods, superclass, superInterfaces
 
从类 org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding 继承的字段
compoundName, fPackage, LUB_GENERIC, modifiers, sourceName
 
从类 org.eclipse.jdt.internal.compiler.lookup.TypeBinding 继承的字段
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, id, INT, LONG, NULL, SHORT, tagBits, VOID
 
从类 org.eclipse.jdt.internal.compiler.lookup.Binding 继承的字段
ANY_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_PARAMETERS, NO_SUPERINTERFACES, NO_TYPE_VARIABLES, NO_TYPES, PACKAGE, PARAMETERIZED_TYPE, RAW_TYPE, TYPE, TYPE_PARAMETER, UNINITIALIZED_FIELDS, UNINITIALIZED_METHODS, UNINITIALIZED_REFERENCE_TYPES, VARIABLE, WILDCARD_TYPE
 
构造方法摘要
RawTypeBinding(ReferenceBinding type, ReferenceBinding enclosingType, LookupEnvironment environment)
          Raw type arguments are erasure of respective parameter bounds.
 
方法摘要
 char[] computeUniqueKey(boolean isLeaf)
          p.X {} -> Lp/X;
 ParameterizedMethodBinding createParameterizedMethod(MethodBinding originalMethod)
           
 String debugName()
           
 char[] genericTypeSignature()
          Ltype; LY;
protected  void initializeArguments()
           
 boolean isEquivalentTo(TypeBinding otherType)
          Returns true if a type is identical to another one, or for generic types, true if compared to its raw type.
 boolean isProvablyDistinct(TypeBinding otherType)
          Returns true if a type is provably distinct from another one,
 int kind()
           
 char[] readableName()
          Answer the receiver's signature.
 char[] shortReadableName()
           
 
从类 org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding 继承的方法
actualType, boundCheck, canBeInstantiated, capture, collectMissingTypes, collectSubstitutes, computeId, constantPoolName, enclosingType, environment, erasure, fieldCount, fields, genericType, getAnnotationTagBits, getEnclosingInstancesSlotSize, getExactConstructor, getExactMethod, getField, getMemberType, getMethods, getOuterLocalVariablesSlotSize, hasMemberTypes, implementsMethod, isHierarchyConnected, isRawSubstitution, memberTypes, methods, problemId, qualifiedPackageName, qualifiedSourceName, signature, sourceName, substitute, superclass, superInterfaces, swapUnresolved, syntheticEnclosingInstanceTypes, syntheticOuterLocalVariables, toString, typeVariables, unResolvedFields
 
从类 org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding 继承的方法
availableFields, availableMethods, binarySearch, binarySearch, canBeSeenBy, canBeSeenBy, canBeSeenBy, computeGenericTypeSignature, depth, detectAnnotationCycle, enclosingTypeAt, enumConstantCount, getAccessFlags, getAnnotations, getFileName, getMethods, 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, retrieveAnnotationHolder, setAnnotations, sortFields, sortMethods
 
从类 org.eclipse.jdt.internal.compiler.lookup.TypeBinding 继承的方法
closestMatch, dimensions, findSuperTypeOriginatingFrom, findSuperTypeOriginatingFrom, genericCast, getErasureCompatibleType, isAnonymousType, isArrayType, isBaseType, isBoundParameterizedType, isCapture, isGenericType, isHierarchyInconsistent, isIntersectionType, isLocalType, isMemberType, isNestedType, isNumericType, isParameterizedType, isParameterizedTypeWithActualArguments, isParameterizedWithOwnVariables, isRawType, isReifiable, isTypeArgumentContainedBy, isTypeVariable, isUnboundWildcard, isWildcard, leafComponentType, needsUncheckedConversion, original, wellKnownType
 
从类 org.eclipse.jdt.internal.compiler.lookup.Binding 继承的方法
computeUniqueKey, initializeDeprecatedAnnotationTagBits, isParameter, isValidBinding, isVolatile
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

RawTypeBinding

public RawTypeBinding(ReferenceBinding type,
                      ReferenceBinding enclosingType,
                      LookupEnvironment environment)
Raw type arguments are erasure of respective parameter bounds. But we may not have resolved these bounds yet if creating raw types while supertype hierarchies are being connected. Therefore, use 'null' instead, and access these in a lazy way later on (when substituting).

方法详细信息

computeUniqueKey

public char[] computeUniqueKey(boolean isLeaf)
从类 ReferenceBinding 复制的描述
p.X {} -> Lp/X;

覆盖:
ParameterizedTypeBinding 中的 computeUniqueKey

createParameterizedMethod

public ParameterizedMethodBinding createParameterizedMethod(MethodBinding originalMethod)
覆盖:
ParameterizedTypeBinding 中的 createParameterizedMethod
另请参见:
ParameterizedTypeBinding.createParameterizedMethod(org.eclipse.jdt.internal.compiler.lookup.MethodBinding)

kind

public int kind()
覆盖:
ParameterizedTypeBinding 中的 kind

debugName

public String debugName()
覆盖:
ParameterizedTypeBinding 中的 debugName
另请参见:
TypeBinding.debugName()

genericTypeSignature

public char[] genericTypeSignature()
Ltype; LY;

覆盖:
ParameterizedTypeBinding 中的 genericTypeSignature

isEquivalentTo

public boolean isEquivalentTo(TypeBinding otherType)
从类 TypeBinding 复制的描述
Returns true if a type is identical to another one, or for generic types, true if compared to its raw type.

覆盖:
ParameterizedTypeBinding 中的 isEquivalentTo

isProvablyDistinct

public boolean isProvablyDistinct(TypeBinding otherType)
从类 TypeBinding 复制的描述
Returns true if a type is provably distinct from another one,

覆盖:
TypeBinding 中的 isProvablyDistinct

initializeArguments

protected void initializeArguments()
覆盖:
ParameterizedTypeBinding 中的 initializeArguments

readableName

public char[] readableName()
从类 ReferenceBinding 复制的描述
Answer the receiver's signature. NOTE: This method should only be used during/after code gen.

覆盖:
ParameterizedTypeBinding 中的 readableName
另请参见:
Binding.readableName()

shortReadableName

public char[] shortReadableName()
覆盖:
ParameterizedTypeBinding 中的 shortReadableName
另请参见:
Binding.shortReadableName()


Copyright © 2013. All Rights Reserved.