| 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 |
class |
CaptureBinding18
Capture-like type variable introduced during 1.8 type inference.
|
class |
InferenceVariable
Implementation of 18.1.1 in JLS8
|
| Modifier and Type | Field and Description |
|---|---|
static TypeVariableBinding[] |
Binding.NO_TYPE_VARIABLES |
TypeVariableBinding[] |
MethodBinding.typeVariables |
protected TypeVariableBinding[] |
BinaryTypeBinding.typeVariables |
TypeVariableBinding[] |
SourceTypeBinding.typeVariables |
| Modifier and Type | Method and Description |
|---|---|
TypeVariableBinding[] |
Scope.createTypeVariables(TypeParameter[] typeParameters,
Binding declaringElement) |
TypeVariableBinding |
ReferenceBinding.getTypeVariable(char[] variableName) |
TypeVariableBinding |
MethodBinding.getTypeVariable(char[] variableName) |
TypeVariableBinding |
BinaryTypeBinding.getTypeVariable(char[] variableName) |
TypeVariableBinding[] |
SourceTypeBinding.setTypeVariables(TypeVariableBinding[] typeVariables) |
TypeVariableBinding |
WildcardBinding.typeVariable()
Returns associated type variable, or null in case of inconsistency
|
TypeVariableBinding[] |
ParameterizedTypeBinding.typeVariables() |
TypeVariableBinding[] |
MethodBinding.typeVariables() |
TypeVariableBinding[] |
BinaryTypeBinding.typeVariables() |
TypeVariableBinding[] |
SourceTypeBinding.typeVariables() |
TypeVariableBinding[] |
TypeBinding.typeVariables() |
| Modifier and Type | Method and Description |
|---|---|
char[] |
ReferenceBinding.computeGenericTypeSignature(TypeVariableBinding[] typeVariables) |
InferenceVariable[] |
InferenceContext18.createInitialBoundSet(TypeVariableBinding[] typeParameters)
JLS 18.1.3: Create initial bounds from a given set of type parameters declarations.
|
TypeBinding[] |
InferenceContext18.getSolutions(TypeVariableBinding[] typeParameters,
InvocationSite site,
org.eclipse.jdt.internal.compiler.lookup.BoundSet boundSet)
Retrieve the resolved solutions for all given type variables.
|
TypeBinding[] |
InferenceContext.getSubstitutes(TypeVariableBinding typeVariable,
int constraint) |
TypeBinding |
LookupEnvironment.getTypeFromTypeSignature(SignatureWrapper wrapper,
TypeVariableBinding[] staticVariables,
ReferenceBinding enclosingType,
char[][][] missingTypeNames,
TypeAnnotationWalker walker) |
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:
|
boolean |
PolyTypeBinding.isPertinentToApplicability(TypeVariableBinding typeVariable,
MethodBinding method) |
boolean |
TypeBinding.isPertinentToApplicability(TypeVariableBinding typeVariable,
MethodBinding method) |
void |
InferenceContext.recordSubstitute(TypeVariableBinding typeVariable,
TypeBinding actualType,
int constraint) |
TypeVariableBinding[] |
SourceTypeBinding.setTypeVariables(TypeVariableBinding[] typeVariables) |
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) |
TypeBinding |
InferenceSubstitution.substitute(TypeVariableBinding typeVariable) |
boolean |
TypeBindingVisitor.visit(TypeVariableBinding typeVariable) |
| Constructor and Description |
|---|
TypeVariableBinding(TypeVariableBinding prototype) |
| 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 © 2015. All rights reserved.