类 org.eclipse.jdt.internal.compiler.lookup.TypeVariableBinding
的使用

使用 TypeVariableBinding 的软件包
org.eclipse.jdt.internal.compiler.apt.model   
org.eclipse.jdt.internal.compiler.ast   
org.eclipse.jdt.internal.compiler.lookup   
org.eclipse.jdt.internal.compiler.problem   
 

org.eclipse.jdt.internal.compiler.apt.modelTypeVariableBinding 的使用
 

参数类型为 TypeVariableBindingorg.eclipse.jdt.internal.compiler.apt.model 中的方法
 javax.lang.model.element.TypeParameterElement Factory.newTypeParameterElement(TypeVariableBinding variable, javax.lang.model.element.Element declaringElement)
           
 

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

声明为 TypeVariableBindingorg.eclipse.jdt.internal.compiler.ast 中的字段
 TypeVariableBinding TypeParameter.binding
           
 

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

org.eclipse.jdt.internal.compiler.lookupTypeVariableBinding 的子类
 class CaptureBinding
           
 

声明为 TypeVariableBindingorg.eclipse.jdt.internal.compiler.lookup 中的字段
static TypeVariableBinding[] Binding.NO_TYPE_VARIABLES
           
 TypeVariableBinding[] SourceTypeBinding.typeVariables
           
 TypeVariableBinding[] MethodBinding.typeVariables
           
protected  TypeVariableBinding[] BinaryTypeBinding.typeVariables
           
 

返回 TypeVariableBindingorg.eclipse.jdt.internal.compiler.lookup 中的方法
 TypeVariableBinding[] Scope.createTypeVariables(TypeParameter[] typeParameters, Binding declaringElement)
           
 TypeVariableBinding ReferenceBinding.getTypeVariable(char[] variableName)
           
 TypeVariableBinding MethodBinding.getTypeVariable(char[] variableName)
           
 TypeVariableBinding BinaryTypeBinding.getTypeVariable(char[] variableName)
           
 TypeVariableBinding WildcardBinding.typeVariable()
          Returns associated type variable, or null in case of inconsistency
 TypeVariableBinding[] TypeBinding.typeVariables()
           
 TypeVariableBinding[] SourceTypeBinding.typeVariables()
           
 TypeVariableBinding[] ParameterizedTypeBinding.typeVariables()
           
 TypeVariableBinding[] MethodBinding.typeVariables()
           
 TypeVariableBinding[] BinaryTypeBinding.typeVariables()
           
 

参数类型为 TypeVariableBindingorg.eclipse.jdt.internal.compiler.lookup 中的方法
 char[] ReferenceBinding.computeGenericTypeSignature(TypeVariableBinding[] typeVariables)
           
 TypeBinding[] InferenceContext.getSubstitutes(TypeVariableBinding typeVariable, int constraint)
           
 TypeBinding LookupEnvironment.getTypeFromTypeSignature(SignatureWrapper wrapper, TypeVariableBinding[] staticVariables, ReferenceBinding enclosingType, char[][][] missingTypeNames)
           
 boolean TypeVariableBinding.isInterchangeableWith(TypeVariableBinding otherVariable, Substitution substitute)
          Returns true if the 2 variables are playing exact same role: they have the same bounds, providing one is substituted with the other: > is interchangeable with >.
 void InferenceContext.recordSubstitute(TypeVariableBinding typeVariable, TypeBinding actualType, int constraint)
           
 TypeBinding Substitution.substitute(TypeVariableBinding typeVariable)
          Returns the type substitute for a given type variable, or itself if no substitution got performed.
 TypeBinding ParameterizedTypeBinding.substitute(TypeVariableBinding originalVariable)
           
 TypeBinding ParameterizedGenericMethodBinding.substitute(TypeVariableBinding originalVariable)
           
 

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

参数类型为 TypeVariableBindingorg.eclipse.jdt.internal.compiler.problem 中的方法
 void ProblemReporter.finalVariableBound(TypeVariableBinding typeVariable, TypeReference typeRef)
           
 void ProblemReporter.forwardTypeVariableReference(ASTNode location, TypeVariableBinding type)
           
 void ProblemReporter.hierarchyCircularity(TypeVariableBinding type, ReferenceBinding superType, TypeReference reference)
           
 void ProblemReporter.illegalAccessFromTypeVariable(TypeVariableBinding variable, ASTNode location)
           
 void ProblemReporter.illegalClassLiteralForTypeVariable(TypeVariableBinding variable, ASTNode location)
           
 void ProblemReporter.typeHiding(TypeDeclaration typeDecl, TypeVariableBinding hiddenTypeParameter)
           
 void ProblemReporter.typeMismatchError(TypeBinding typeArgument, TypeVariableBinding typeParameter, ReferenceBinding genericType, ASTNode location)
           
 



Copyright © 2013. All Rights Reserved.