| Modifier and Type | Method and Description |
|---|---|
TypeParameterElement |
Factory.newTypeParameterElement(TypeVariableBinding variable,
Element declaringElement) |
| Modifier and Type | Field and Description |
|---|---|
TypeVariableBinding |
TypeParameter.binding |
| Modifier and Type | Class and Description |
|---|---|
class |
CaptureBinding |
| Modifier and Type | Field and Description |
|---|---|
static TypeVariableBinding[] |
Binding.NO_TYPE_VARIABLES |
protected TypeVariableBinding[] |
BinaryTypeBinding.typeVariables |
TypeVariableBinding[] |
SourceTypeBinding.typeVariables |
TypeVariableBinding[] |
MethodBinding.typeVariables |
| Modifier and Type | Method and Description |
|---|---|
TypeVariableBinding[] |
Scope.createTypeVariables(TypeParameter[] typeParameters,
Binding declaringElement) |
TypeVariableBinding |
ReferenceBinding.getTypeVariable(char[] variableName) |
TypeVariableBinding |
BinaryTypeBinding.getTypeVariable(char[] variableName) |
TypeVariableBinding |
MethodBinding.getTypeVariable(char[] variableName) |
TypeVariableBinding |
WildcardBinding.typeVariable()
Returns associated type variable, or null in case of inconsistency
|
TypeVariableBinding[] |
TypeBinding.typeVariables() |
TypeVariableBinding[] |
BinaryTypeBinding.typeVariables() |
TypeVariableBinding[] |
SourceTypeBinding.typeVariables() |
TypeVariableBinding[] |
MethodBinding.typeVariables() |
TypeVariableBinding[] |
ParameterizedTypeBinding.typeVariables() |
| Modifier and Type | Method and Description |
|---|---|
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:
|
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 |
ParameterizedGenericMethodBinding.substitute(TypeVariableBinding originalVariable) |
TypeBinding |
ParameterizedTypeBinding.substitute(TypeVariableBinding originalVariable) |
| Modifier and Type | Method and Description |
|---|---|
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.