|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||
| 使用 Substitution 的软件包 | |
|---|---|
| org.eclipse.jdt.internal.compiler.lookup | |
| org.eclipse.jdt.internal.compiler.lookup 中 Substitution 的使用 |
|---|
| 实现 Substitution 的 org.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. |
| 参数类型为 Substitution 的 org.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: |
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. |
|
||||||||||
| 上一个 下一个 | 框架 无框架 | |||||||||