接口 org.eclipse.jdt.internal.compiler.lookup.Substitution
的使用

使用 Substitution 的软件包
org.eclipse.jdt.internal.compiler.lookup   
 

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

实现 Substitutionorg.eclipse.jdt.internal.compiler.lookup 中的类
 class ParameterizedGenericMethodBinding
          Binding denoting a generic method after type parameter substitutions got performed.
 class ParameterizedTypeBinding
          A parameterized type encapsulates a type with type arguments,
 class RawTypeBinding
          Denote a raw type, i.e. a generic type referenced without any type arguments.
 

参数类型为 Substitutionorg.eclipse.jdt.internal.compiler.lookup 中的方法
 int TypeVariableBinding.boundCheck(Substitution substitution, TypeBinding argumentType)
          Returns true if the argument type satisfies all bounds of the type parameter
 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 >.
static ReferenceBinding[] Scope.substitute(Substitution substitution, ReferenceBinding[] originalTypes)
          Returns an array of types, where original types got substituted given a substitution.
static TypeBinding Scope.substitute(Substitution substitution, TypeBinding originalType)
          Returns a type, where original type was substituted using the receiver parameterized type.
static TypeBinding[] Scope.substitute(Substitution substitution, TypeBinding[] originalTypes)
          Returns an array of types, where original types got substituted given a substitution.
 



Copyright © 2013. All Rights Reserved.