类 org.eclipse.jdt.internal.compiler.ast.TypeReference
的使用

使用 TypeReference 的软件包
org.eclipse.jdt.internal.compiler.ast   
org.eclipse.jdt.internal.compiler.lookup   
org.eclipse.jdt.internal.compiler.parser   
org.eclipse.jdt.internal.compiler.problem   
 

org.eclipse.jdt.internal.compiler.astTypeReference 的使用
 

org.eclipse.jdt.internal.compiler.astTypeReference 的子类
 class ArrayQualifiedTypeReference
           
 class ArrayTypeReference
           
 class JavadocArrayQualifiedTypeReference
           
 class JavadocArraySingleTypeReference
           
 class JavadocImplicitTypeReference
           
 class JavadocQualifiedTypeReference
           
 class JavadocSingleTypeReference
           
 class ParameterizedQualifiedTypeReference
          Syntactic representation of a reference to a generic type.
 class ParameterizedSingleTypeReference
          Syntactic representation of a reference to a generic type.
 class QualifiedTypeReference
           
 class SingleTypeReference
           
 class UnionTypeReference
           
 class Wildcard
          Node to represent Wildcard
 

声明为 TypeReferenceorg.eclipse.jdt.internal.compiler.ast 中的字段
 TypeReference Wildcard.bound
           
 TypeReference[] TypeParameter.bounds
           
 TypeReference[] Javadoc.exceptionReferences
           
static TypeReference[] TypeReference.NO_TYPE_ARGUMENTS
           
 TypeReference QualifiedThisReference.qualification
           
 TypeReference MethodDeclaration.returnType
           
 TypeReference TypeDeclaration.superclass
           
 TypeReference[] TypeDeclaration.superInterfaces
           
 TypeReference[] AbstractMethodDeclaration.thrownExceptions
           
 TypeReference InstanceOfExpression.type
           
 TypeReference ClassLiteralAccess.type
           
 TypeReference CastExpression.type
           
 TypeReference ArrayAllocationExpression.type
           
 TypeReference Annotation.type
           
 TypeReference AllocationExpression.type
           
 TypeReference AbstractVariableDeclaration.type
           
 TypeReference[] ParameterizedSingleTypeReference.typeArguments
           
 TypeReference[][] ParameterizedQualifiedTypeReference.typeArguments
           
 TypeReference[] MessageSend.typeArguments
           
 TypeReference[] ExplicitConstructorCall.typeArguments
           
 TypeReference[] AllocationExpression.typeArguments
           
 TypeReference[] UnionTypeReference.typeReferences
           
 

返回 TypeReferenceorg.eclipse.jdt.internal.compiler.ast 中的方法
static TypeReference TypeReference.baseTypeReference(int baseType, int dim)
           
 TypeReference UnionTypeReference.copyDims(int dim)
           
abstract  TypeReference TypeReference.copyDims(int dim)
           
 TypeReference SingleTypeReference.copyDims(int dim)
           
 TypeReference QualifiedTypeReference.copyDims(int dim)
           
 TypeReference ParameterizedSingleTypeReference.copyDims(int dim)
           
 TypeReference ParameterizedQualifiedTypeReference.copyDims(int dim)
           
 TypeReference JavadocImplicitTypeReference.copyDims(int dim)
           
 

参数类型为 TypeReferenceorg.eclipse.jdt.internal.compiler.ast 中的构造方法
Argument(char[] name, long posNom, TypeReference tr, int modifiers)
           
CastExpression(Expression expression, TypeReference type)
           
ClassLiteralAccess(int sourceEnd, TypeReference type)
           
InstanceOfExpression(Expression expression, TypeReference type)
           
JavadocArgumentExpression(char[] name, int startPos, int endPos, TypeReference typeRef)
           
MarkerAnnotation(TypeReference type, int sourceStart)
           
NormalAnnotation(TypeReference type, int sourceStart)
           
ParameterizedQualifiedTypeReference(char[][] tokens, TypeReference[][] typeArguments, int dim, long[] positions)
           
ParameterizedSingleTypeReference(char[] name, TypeReference[] typeArguments, int dim, long pos)
           
QualifiedSuperReference(TypeReference name, int pos, int sourceEnd)
           
QualifiedThisReference(TypeReference name, int sourceStart, int sourceEnd)
           
SingleMemberAnnotation(TypeReference type, int sourceStart)
           
UnionTypeReference(TypeReference[] typeReferences)
           
 

org.eclipse.jdt.internal.compiler.lookupTypeReference 的使用
 

声明为 TypeReferenceorg.eclipse.jdt.internal.compiler.lookup 中的字段
 TypeReference ClassScope.superTypeReference
           
 

参数类型为 TypeReferenceorg.eclipse.jdt.internal.compiler.lookup 中的方法
 void ParameterizedTypeBinding.boundCheck(Scope scope, TypeReference[] argumentReferences)
          Iterate type arguments, and validate them according to corresponding variable bounds.
 void Scope.deferBoundCheck(TypeReference typeRef)
           
 boolean ClassScope.detectHierarchyCycle(TypeBinding superType, TypeReference reference)
           
 

org.eclipse.jdt.internal.compiler.parserTypeReference 的使用
 

返回 TypeReferenceorg.eclipse.jdt.internal.compiler.parser 中的方法
protected  TypeReference Parser.copyDims(TypeReference typeRef, int dim)
           
protected  TypeReference Parser.getAnnotationType()
           
protected  TypeReference Parser.getTypeReference(int dim)
           
protected  TypeReference Parser.getTypeReferenceForGenericType(int dim, int identifierLength, int numberOfIdentifiers)
           
 

参数类型为 TypeReferenceorg.eclipse.jdt.internal.compiler.parser 中的方法
protected  void Parser.checkForDiamond(TypeReference allocType)
           
protected  ParameterizedQualifiedTypeReference Parser.computeQualifiedGenericsFromRightSide(TypeReference rightSide, int dim)
           
protected  TypeReference Parser.copyDims(TypeReference typeRef, int dim)
           
 

org.eclipse.jdt.internal.compiler.problemTypeReference 的使用
 

参数类型为 TypeReferenceorg.eclipse.jdt.internal.compiler.problem 中的方法
 void ProblemReporter.annotationCircularity(TypeBinding sourceType, TypeBinding otherType, TypeReference reference)
           
 void ProblemReporter.annotationTypeUsedAsSuperinterface(SourceTypeBinding type, TypeReference superInterfaceRef, ReferenceBinding superType)
           
 void ProblemReporter.anonymousClassCannotExtendFinalClass(TypeReference reference, TypeBinding type)
           
 void ProblemReporter.cannotExtendEnum(SourceTypeBinding type, TypeReference superclass, TypeBinding superTypeBinding)
           
 void ProblemReporter.cannotInstantiate(TypeReference typeRef, TypeBinding type)
           
 void ProblemReporter.classExtendFinalClass(SourceTypeBinding type, TypeReference superclass, TypeBinding superTypeBinding)
           
 void ProblemReporter.diamondNotWithAnoymousClasses(TypeReference type)
           
 void ProblemReporter.diamondNotWithExplicitTypeArguments(TypeReference[] typeArguments)
           
 void ProblemReporter.duplicateSuperinterface(SourceTypeBinding type, TypeReference reference, ReferenceBinding superType)
           
 void ProblemReporter.finalVariableBound(TypeVariableBinding typeVariable, TypeReference typeRef)
           
 void ProblemReporter.hierarchyCircularity(SourceTypeBinding sourceType, ReferenceBinding superType, TypeReference reference)
           
 void ProblemReporter.hierarchyCircularity(TypeVariableBinding type, ReferenceBinding superType, TypeReference reference)
           
 void ProblemReporter.illegalQualifiedParameterizedTypeAllocation(TypeReference qualifiedTypeReference, TypeBinding allocatedType)
           
 void ProblemReporter.illegalUsageOfWildcard(TypeReference wildcard)
           
 void ProblemReporter.invalidUsageOfTypeArguments(TypeReference firstTypeReference, TypeReference lastTypeReference)
           
 void ProblemReporter.javadocDuplicatedThrowsClassName(TypeReference typeReference, int modifiers)
           
 void ProblemReporter.javadocInvalidThrowsClassName(TypeReference typeReference, int modifiers)
           
 void ProblemReporter.javadocMissingThrowsTag(TypeReference typeRef, int modifiers)
           
 void ProblemReporter.noAdditionalBoundAfterTypeVariable(TypeReference boundReference)
           
 void ProblemReporter.redundantSuperInterface(SourceTypeBinding type, TypeReference reference, ReferenceBinding superinterface, ReferenceBinding declaringType)
           
 void ProblemReporter.resourceHasToImplementAutoCloseable(TypeBinding binding, TypeReference typeReference)
           
 void ProblemReporter.superclassMustBeAClass(SourceTypeBinding type, TypeReference superclassRef, ReferenceBinding superType)
           
 void ProblemReporter.superinterfaceMustBeAnInterface(SourceTypeBinding type, TypeReference superInterfaceRef, ReferenceBinding superType)
           
 void ProblemReporter.superTypeCannotUseWildcard(SourceTypeBinding type, TypeReference superclass, TypeBinding superTypeBinding)
           
 void ProblemReporter.unnecessaryTypeArgumentsForMethodInvocation(MethodBinding method, TypeBinding[] genericTypeArguments, TypeReference[] typeArguments)
           
 void ProblemReporter.wrongSequenceOfExceptionTypes(TypeReference typeRef, TypeBinding exceptionType, TypeBinding hidingExceptionType)
           
 void ProblemReporter.wrongSequenceOfExceptionTypesError(TypeReference typeRef, TypeBinding exceptionType, TypeBinding hidingExceptionType)
           
 



Copyright © 2013. All Rights Reserved.