Modifier and Type | Method and Description |
---|---|
MethodUsage |
MethodUsage.replaceTypeParameter(ResolvedTypeParameterDeclaration typeParameter,
ResolvedType type) |
Modifier and Type | Method and Description |
---|---|
default ResolvedTypeParameterDeclaration |
ResolvedTypeParameterDeclaration.asTypeParameter() |
default ResolvedTypeParameterDeclaration |
ResolvedTypeDeclaration.asTypeParameter()
Return this as a TypeParameterDeclaration or throw UnsupportedOperationException.
|
static ResolvedTypeParameterDeclaration |
ResolvedTypeParameterDeclaration.onType(String name,
String classQName,
List<ResolvedTypeParameterDeclaration.Bound> bounds)
Instantiate a TypeParameter defined on a Type with the given data.
|
Modifier and Type | Method and Description |
---|---|
Optional<ResolvedTypeParameterDeclaration> |
ResolvedTypeParametrizable.findTypeParameter(String name)
Find the closest TypeParameterDeclaration with the given name.
|
default Optional<ResolvedTypeParameterDeclaration> |
ResolvedReferenceTypeDeclaration.findTypeParameter(String name) |
default Optional<ResolvedTypeParameterDeclaration> |
ResolvedMethodLikeDeclaration.findTypeParameter(String name) |
List<ResolvedTypeParameterDeclaration> |
ResolvedTypeParametrizable.getTypeParameters()
The list of type parameters defined on this element.
|
Modifier and Type | Method and Description |
---|---|
static ResolvedType |
MethodResolutionLogic.replaceTypeParam(ResolvedType type,
ResolvedTypeParameterDeclaration tp,
TypeSolver typeSolver) |
void |
InferenceVariableType.setCorrespondingTp(ResolvedTypeParameterDeclaration correspondingTp) |
Modifier and Type | Method and Description |
---|---|
ResolvedTypeParameterDeclaration |
ReferenceTypeImpl.asTypeParameter() |
ResolvedTypeParameterDeclaration |
LazyType.asTypeParameter() |
Modifier and Type | Method and Description |
---|---|
ResolvedType |
LazyType.replaceTypeVariables(ResolvedTypeParameterDeclaration tp,
ResolvedType replaced) |
ResolvedType |
LazyType.replaceTypeVariables(ResolvedTypeParameterDeclaration tp,
ResolvedType replaced,
Map<ResolvedTypeParameterDeclaration,ResolvedType> inferredTypes) |
Modifier and Type | Method and Description |
---|---|
boolean |
ReferenceTypeImpl.mention(List<ResolvedTypeParameterDeclaration> typeParameters) |
ResolvedType |
LazyType.replaceTypeVariables(ResolvedTypeParameterDeclaration tp,
ResolvedType replaced,
Map<ResolvedTypeParameterDeclaration,ResolvedType> inferredTypes) |
Modifier and Type | Method and Description |
---|---|
ResolvedTypeParameterDeclaration |
ResolvedTypeVariable.asTypeParameter() |
default ResolvedTypeParameterDeclaration |
ResolvedType.asTypeParameter() |
Modifier and Type | Method and Description |
---|---|
List<Pair<ResolvedTypeParameterDeclaration,ResolvedType>> |
ResolvedReferenceType.getTypeParametersMap()
Get the values for all type parameters declared on this type.
|
Constructor and Description |
---|
ResolvedTypeVariable(ResolvedTypeParameterDeclaration typeParameter) |
Modifier and Type | Method and Description |
---|---|
ResolvedType |
ResolvedTypeParametersMap.getValue(ResolvedTypeParameterDeclaration typeParameter) |
ResolvedTypeParametersMap.Builder |
ResolvedTypeParametersMap.Builder.setValue(ResolvedTypeParameterDeclaration typeParameter,
ResolvedType value) |
Optional<ResolvedType> |
ResolvedTypeParameterValueProvider.typeParamValue(ResolvedTypeParameterDeclaration typeParameterDeclaration)
Calculate the value for the given type parameter.
|
Copyright © 2007–2024. All rights reserved.