Uses of Interface
com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration
Packages that use ResolvedTypeParameterDeclaration
Package
Description
Implementation of model based on Javassist.
Implementation of model based on reflection.
-
Uses of ResolvedTypeParameterDeclaration in com.github.javaparser.resolution
Methods in com.github.javaparser.resolution with parameters of type ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptionMethodUsage.replaceTypeParameter
(ResolvedTypeParameterDeclaration typeParameter, ResolvedType type) -
Uses of ResolvedTypeParameterDeclaration in com.github.javaparser.resolution.declarations
Methods in com.github.javaparser.resolution.declarations that return ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptiondefault ResolvedTypeParameterDeclaration
ResolvedTypeDeclaration.asTypeParameter()
Return this as a TypeParameterDeclaration or throw UnsupportedOperationException.default ResolvedTypeParameterDeclaration
ResolvedTypeParameterDeclaration.asTypeParameter()
ResolvedTypeParameterDeclaration.onType
(String name, String classQName, List<ResolvedTypeParameterDeclaration.Bound> bounds) Instantiate a TypeParameter defined on a Type with the given data.Methods in com.github.javaparser.resolution.declarations that return types with arguments of type ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptiondefault Optional
<ResolvedTypeParameterDeclaration> ResolvedMethodLikeDeclaration.findTypeParameter
(String name) default Optional
<ResolvedTypeParameterDeclaration> ResolvedReferenceTypeDeclaration.findTypeParameter
(String name) ResolvedTypeParametrizable.findTypeParameter
(String name) Find the closest TypeParameterDeclaration with the given name.ResolvedTypeParametrizable.getTypeParameters()
The list of type parameters defined on this element. -
Uses of ResolvedTypeParameterDeclaration in com.github.javaparser.resolution.logic
Fields in com.github.javaparser.resolution.logic declared as ResolvedTypeParameterDeclarationModifier and TypeFieldDescriptionprivate ResolvedTypeParameterDeclaration
InferenceVariableType.correspondingTp
Methods in com.github.javaparser.resolution.logic with parameters of type ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptionprivate InferenceVariableType
InferenceContext.inferenceVariableTypeForTp
(ResolvedTypeParameterDeclaration tp) static ResolvedType
MethodResolutionLogic.replaceTypeParam
(ResolvedType type, ResolvedTypeParameterDeclaration tp, TypeSolver typeSolver) void
InferenceVariableType.setCorrespondingTp
(ResolvedTypeParameterDeclaration correspondingTp) Method parameters in com.github.javaparser.resolution.logic with type arguments of type ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptionstatic void
MethodResolutionLogic.inferTypes
(ResolvedType source, ResolvedType target, Map<ResolvedTypeParameterDeclaration, ResolvedType> mappings) -
Uses of ResolvedTypeParameterDeclaration in com.github.javaparser.resolution.model.typesystem
Methods in com.github.javaparser.resolution.model.typesystem that return ResolvedTypeParameterDeclarationMethods in com.github.javaparser.resolution.model.typesystem with parameters of type ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptionLazyType.replaceTypeVariables
(ResolvedTypeParameterDeclaration tp, ResolvedType replaced) LazyType.replaceTypeVariables
(ResolvedTypeParameterDeclaration tp, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) Method parameters in com.github.javaparser.resolution.model.typesystem with type arguments of type ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptionboolean
ReferenceTypeImpl.mention
(List<ResolvedTypeParameterDeclaration> typeParameters) LazyType.replaceTypeVariables
(ResolvedTypeParameterDeclaration tp, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) -
Uses of ResolvedTypeParameterDeclaration in com.github.javaparser.resolution.types
Fields in com.github.javaparser.resolution.types declared as ResolvedTypeParameterDeclarationModifier and TypeFieldDescriptionprivate ResolvedTypeParameterDeclaration
ResolvedTypeVariable.typeParameter
Methods in com.github.javaparser.resolution.types that return ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptiondefault ResolvedTypeParameterDeclaration
ResolvedType.asTypeParameter()
ResolvedTypeVariable.asTypeParameter()
Methods in com.github.javaparser.resolution.types that return types with arguments of type ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptionResolvedReferenceType.getTypeParametersMap()
Get the values for all type parameters declared on this type.Methods in com.github.javaparser.resolution.types with parameters of type ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptionResolvedArrayType.replaceTypeVariables
(ResolvedTypeParameterDeclaration tpToReplace, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) ResolvedIntersectionType.replaceTypeVariables
(ResolvedTypeParameterDeclaration tp, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) ResolvedReferenceType.replaceTypeVariables
(ResolvedTypeParameterDeclaration tpToReplace, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) default ResolvedType
ResolvedType.replaceTypeVariables
(ResolvedTypeParameterDeclaration tp, ResolvedType replaced) This is like (ResolvedType.replaceTypeVariables(ResolvedTypeParameterDeclaration, ResolvedType, Map)
but ignores the inferred values.default ResolvedType
ResolvedType.replaceTypeVariables
(ResolvedTypeParameterDeclaration tp, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) Replace all variables referring to the given TypeParameter with the given value.ResolvedTypeVariable.replaceTypeVariables
(ResolvedTypeParameterDeclaration tpToBeReplaced, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) ResolvedWildcard.replaceTypeVariables
(ResolvedTypeParameterDeclaration tpToReplace, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) ResolvedReferenceType.typeParamValue
(ResolvedTypeParameterDeclaration typeParameterDeclaration) Method parameters in com.github.javaparser.resolution.types with type arguments of type ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptiondefault boolean
ResolvedType.mention
(List<ResolvedTypeParameterDeclaration> typeParameters) Does this type mention at all, directly or indirectly, the given type parameters?boolean
ResolvedTypeVariable.mention
(List<ResolvedTypeParameterDeclaration> typeParameters) boolean
ResolvedWildcard.mention
(List<ResolvedTypeParameterDeclaration> typeParameters) ResolvedArrayType.replaceTypeVariables
(ResolvedTypeParameterDeclaration tpToReplace, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) ResolvedIntersectionType.replaceTypeVariables
(ResolvedTypeParameterDeclaration tp, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) ResolvedReferenceType.replaceTypeVariables
(ResolvedTypeParameterDeclaration tpToReplace, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) default ResolvedType
ResolvedType.replaceTypeVariables
(ResolvedTypeParameterDeclaration tp, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) Replace all variables referring to the given TypeParameter with the given value.ResolvedTypeVariable.replaceTypeVariables
(ResolvedTypeParameterDeclaration tpToBeReplaced, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) ResolvedWildcard.replaceTypeVariables
(ResolvedTypeParameterDeclaration tpToReplace, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) Constructors in com.github.javaparser.resolution.types with parameters of type ResolvedTypeParameterDeclarationModifierConstructorDescriptionResolvedTypeVariable
(ResolvedTypeParameterDeclaration typeParameter) -
Uses of ResolvedTypeParameterDeclaration in com.github.javaparser.resolution.types.parametrization
Fields in com.github.javaparser.resolution.types.parametrization with type parameters of type ResolvedTypeParameterDeclarationModifier and TypeFieldDescriptionprivate Map
<String, ResolvedTypeParameterDeclaration> ResolvedTypeParametersMap.Builder.nameToDeclaration
private Map
<String, ResolvedTypeParameterDeclaration> ResolvedTypeParametersMap.nameToDeclaration
Methods in com.github.javaparser.resolution.types.parametrization with parameters of type ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptionResolvedTypeParametersMap.getValue
(ResolvedTypeParameterDeclaration typeParameter) ResolvedTypeParametersMap.Builder.setValue
(ResolvedTypeParameterDeclaration typeParameter, ResolvedType value) ResolvedTypeParameterValueProvider.typeParamValue
(ResolvedTypeParameterDeclaration typeParameterDeclaration) Calculate the value for the given type parameter. -
Uses of ResolvedTypeParameterDeclaration in com.github.javaparser.symbolsolver.declarations.common
Methods in com.github.javaparser.symbolsolver.declarations.common with parameters of type ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptionprotected ResolvedType
MethodDeclarationCommonLogic.toType
(ResolvedTypeParameterDeclaration typeParameterDeclaration) -
Uses of ResolvedTypeParameterDeclaration in com.github.javaparser.symbolsolver.javaparsermodel.contexts
Method parameters in com.github.javaparser.symbolsolver.javaparsermodel.contexts with type arguments of type ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptionprivate ResolvedType
MethodCallExprContext.applyInferredTypes
(ResolvedType type, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) private void
MethodCallExprContext.convertTypesParameters
(Map<ResolvedTypeParameterDeclaration, ResolvedType> matchedTypeParameters, Map<String, ResolvedType> reducedResolvedTypesByTypeVariable) private Set
<ResolvedType> MethodCallExprContext.findResolvedTypesByTypeVariable
(String typeVariableName, Map<ResolvedTypeParameterDeclaration, ResolvedType> typeParameters) private Map
<String, Set<ResolvedType>> MethodCallExprContext.groupResolvedTypeByTypeVariable
(Map<ResolvedTypeParameterDeclaration, ResolvedType> typeParameters) private void
MethodCallExprContext.matchTypeParameters
(ResolvedType expectedType, ResolvedType actualType, Map<ResolvedTypeParameterDeclaration, ResolvedType> matchedTypeParameters) private MethodUsage
MethodCallExprContext.replaceTypeParameter
(MethodUsage methodUsage, Map<ResolvedTypeParameterDeclaration, ResolvedType> matchedTypeParameters) private ResolvedType
MethodCallExprContext.usingParameterTypesFromScope
(ResolvedType scope, ResolvedType type, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) -
Uses of ResolvedTypeParameterDeclaration in com.github.javaparser.symbolsolver.javaparsermodel.declarations
Classes in com.github.javaparser.symbolsolver.javaparsermodel.declarations that implement ResolvedTypeParameterDeclarationMethods in com.github.javaparser.symbolsolver.javaparsermodel.declarations that return ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptionJavaParserTypeParameter.asTypeParameter()
JavaParserTypeVariableDeclaration.asTypeParameter()
Methods in com.github.javaparser.symbolsolver.javaparsermodel.declarations that return types with arguments of type ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptionDefaultConstructorDeclaration.getTypeParameters()
JavaParserAnnotationDeclaration.getTypeParameters()
Annotation declarations cannot have type parameters and hence this method always returns an empty list.JavaParserAnonymousClassDeclaration.getTypeParameters()
JavaParserClassDeclaration.getTypeParameters()
JavaParserConstructorDeclaration.getTypeParameters()
JavaParserEnumDeclaration.getTypeParameters()
JavaParserEnumDeclaration.ValueOfMethod.getTypeParameters()
JavaParserEnumDeclaration.ValuesMethod.getTypeParameters()
JavaParserInterfaceDeclaration.getTypeParameters()
JavaParserMethodDeclaration.getTypeParameters()
JavaParserRecordDeclaration.CanonicalRecordConstructor.getTypeParameters()
JavaParserRecordDeclaration.getTypeParameters()
JavaParserRecordDeclaration.ImplicitGetterMethod.getTypeParameters()
JavaParserTypeParameter.getTypeParameters()
JavaParserTypeVariableDeclaration.getTypeParameters()
-
Uses of ResolvedTypeParameterDeclaration in com.github.javaparser.symbolsolver.javassistmodel
Classes in com.github.javaparser.symbolsolver.javassistmodel that implement ResolvedTypeParameterDeclarationMethods in com.github.javaparser.symbolsolver.javassistmodel that return types with arguments of type ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptionJavassistAnnotationDeclaration.getTypeParameters()
Annotation declarations cannot have type parameters and hence this method always returns an empty list.JavassistClassDeclaration.getTypeParameters()
JavassistConstructorDeclaration.getTypeParameters()
JavassistEnumDeclaration.getTypeParameters()
JavassistInterfaceDeclaration.getTypeParameters()
JavassistMethodDeclaration.getTypeParameters()
JavassistMethodLikeDeclarationAdapter.getTypeParameters()
JavassistRecordDeclaration.getTypeParameters()
JavassistTypeDeclarationAdapter.getTypeParameters()
-
Uses of ResolvedTypeParameterDeclaration in com.github.javaparser.symbolsolver.reflectionmodel
Classes in com.github.javaparser.symbolsolver.reflectionmodel that implement ResolvedTypeParameterDeclarationMethods in com.github.javaparser.symbolsolver.reflectionmodel that return types with arguments of type ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptionReflectionAnnotationDeclaration.getTypeParameters()
Annotation declarations cannot have type parameters and hence this method always returns an empty list.ReflectionClassAdapter.getTypeParameters()
ReflectionClassDeclaration.getTypeParameters()
ReflectionConstructorDeclaration.getTypeParameters()
ReflectionEnumDeclaration.getTypeParameters()
ReflectionInterfaceDeclaration.getTypeParameters()
ReflectionMethodDeclaration.getTypeParameters()
ReflectionRecordDeclaration.getTypeParameters()
-
Uses of ResolvedTypeParameterDeclaration in com.github.javaparser.symbolsolver.resolution.typeinference
Fields in com.github.javaparser.symbolsolver.resolution.typeinference declared as ResolvedTypeParameterDeclarationModifier and TypeFieldDescriptionprivate ResolvedTypeParameterDeclaration
InferenceVariable.typeParameterDeclaration
Fields in com.github.javaparser.symbolsolver.resolution.typeinference with type parameters of type ResolvedTypeParameterDeclarationModifier and TypeFieldDescriptionprivate List
<ResolvedTypeParameterDeclaration> LeastUpperBoundLogic.TypeSubstitution.typeParameterDeclarations
private List
<ResolvedTypeParameterDeclaration> Substitution.typeParameterDeclarations
private List
<ResolvedTypeParameterDeclaration> MethodType.typeParameters
Methods in com.github.javaparser.symbolsolver.resolution.typeinference that return ResolvedTypeParameterDeclarationMethods in com.github.javaparser.symbolsolver.resolution.typeinference that return types with arguments of type ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptionMethodType.getTypeParameters()
LeastUpperBoundLogic.TypeSubstitution.typeParameterDeclarations()
Methods in com.github.javaparser.symbolsolver.resolution.typeinference with parameters of type ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptionprivate boolean
TypeInference.appearInThrowsClause
(ResolvedTypeParameterDeclaration p, ResolvedMethodDeclaration methodDeclaration) private boolean
LeastUpperBoundLogic.boundedAsObject
(ResolvedTypeParameterDeclaration typeDecl) private boolean
LeastUpperBoundLogic.isSubstituable
(ResolvedTypeParameterDeclaration typeDecl, ResolvedType type) LeastUpperBoundLogic.TypeSubstitution.substitutedType
(ResolvedTypeParameterDeclaration typeDecl) static InferenceVariable
InferenceVariable.unnamed
(ResolvedTypeParameterDeclaration typeParameterDeclaration) void
LeastUpperBoundLogic.TypeSubstitution.withPair
(ResolvedTypeParameterDeclaration typeParameterDeclaration, ResolvedType type) Substitution.withPair
(ResolvedTypeParameterDeclaration typeParameterDeclaration, ResolvedType type) Method parameters in com.github.javaparser.symbolsolver.resolution.typeinference with type arguments of type ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptionprivate BoundSet
TypeInference.boundSetup
(List<ResolvedTypeParameterDeclaration> typeParameterDeclarations, List<InferenceVariable> inferenceVariables) When inference begins, a bound set is typically generated from a list of type parameter declarations P1, ..., Pp and associated inference variables α1, ..., αpstatic List
<InferenceVariable> InferenceVariable.instantiate
(List<ResolvedTypeParameterDeclaration> typeParameterDeclarations) boolean
InferenceVariable.mention
(List<ResolvedTypeParameterDeclaration> typeParameters) LeastUpperBoundLogic.substitution
(List<Pair<ResolvedTypeParameterDeclaration, ResolvedType>> pairs) Constructors in com.github.javaparser.symbolsolver.resolution.typeinference with parameters of type ResolvedTypeParameterDeclarationModifierConstructorDescriptionInferenceVariable
(String name, ResolvedTypeParameterDeclaration typeParameterDeclaration) Constructor parameters in com.github.javaparser.symbolsolver.resolution.typeinference with type arguments of type ResolvedTypeParameterDeclarationModifierConstructorDescriptionMethodType
(List<ResolvedTypeParameterDeclaration> typeParameters, List<ResolvedType> formalArgumentTypes, ResolvedType returnType, List<ResolvedType> exceptionTypes)