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 ResolvedTypeParameterDeclarationResolvedTypeDeclaration.asTypeParameter()Return this as a TypeParameterDeclaration or throw UnsupportedOperationException.default ResolvedTypeParameterDeclarationResolvedTypeParameterDeclaration.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 ResolvedTypeParameterDeclarationInferenceVariableType.correspondingTpMethods in com.github.javaparser.resolution.logic with parameters of type ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptionprivate InferenceVariableTypeInferenceContext.inferenceVariableTypeForTp(ResolvedTypeParameterDeclaration tp) static ResolvedTypeMethodResolutionLogic.replaceTypeParam(ResolvedType type, ResolvedTypeParameterDeclaration tp, TypeSolver typeSolver) voidInferenceVariableType.setCorrespondingTp(ResolvedTypeParameterDeclaration correspondingTp) Method parameters in com.github.javaparser.resolution.logic with type arguments of type ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptionstatic voidMethodResolutionLogic.inferTypes(ResolvedType source, ResolvedType target, Map<ResolvedTypeParameterDeclaration, ResolvedType> mappings) private static ResolvedTypeMethodResolutionLogic.substituteTypeVariables(ResolvedType type, List<ResolvedTypeParameterDeclaration> typeParams, List<ResolvedType> typeArgs) Recursively substitutes type variables within a type structure. -
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 TypeMethodDescriptionbooleanReferenceTypeImpl.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 ResolvedTypeParameterDeclarationResolvedTypeVariable.typeParameterMethods in com.github.javaparser.resolution.types that return ResolvedTypeParameterDeclarationModifier and TypeMethodDescriptiondefault ResolvedTypeParameterDeclarationResolvedType.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 ResolvedTypeResolvedType.replaceTypeVariables(ResolvedTypeParameterDeclaration tp, ResolvedType replaced) This is like (ResolvedType.replaceTypeVariables(ResolvedTypeParameterDeclaration, ResolvedType, Map)but ignores the inferred values.default ResolvedTypeResolvedType.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 booleanResolvedType.mention(List<ResolvedTypeParameterDeclaration> typeParameters) Does this type mention at all, directly or indirectly, the given type parameters?booleanResolvedTypeVariable.mention(List<ResolvedTypeParameterDeclaration> typeParameters) booleanResolvedWildcard.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 ResolvedTypeResolvedType.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.nameToDeclarationprivate Map<String, ResolvedTypeParameterDeclaration> ResolvedTypeParametersMap.nameToDeclarationMethods 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 ResolvedTypeMethodDeclarationCommonLogic.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 ResolvedTypeMethodCallExprContext.applyInferredTypes(ResolvedType type, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) private voidMethodCallExprContext.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 voidMethodCallExprContext.matchTypeParameters(ResolvedType expectedType, ResolvedType actualType, Map<ResolvedTypeParameterDeclaration, ResolvedType> matchedTypeParameters) private MethodUsageMethodCallExprContext.replaceTypeParameter(MethodUsage methodUsage, Map<ResolvedTypeParameterDeclaration, ResolvedType> matchedTypeParameters) private ResolvedTypeMethodCallExprContext.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 ResolvedTypeParameterDeclarationInferenceVariable.typeParameterDeclarationFields in com.github.javaparser.symbolsolver.resolution.typeinference with type parameters of type ResolvedTypeParameterDeclarationModifier and TypeFieldDescriptionprivate List<ResolvedTypeParameterDeclaration> LeastUpperBoundLogic.TypeSubstitution.typeParameterDeclarationsprivate List<ResolvedTypeParameterDeclaration> Substitution.typeParameterDeclarationsprivate List<ResolvedTypeParameterDeclaration> MethodType.typeParametersMethods 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 booleanTypeInference.appearInThrowsClause(ResolvedTypeParameterDeclaration p, ResolvedMethodDeclaration methodDeclaration) private booleanLeastUpperBoundLogic.boundedAsObject(ResolvedTypeParameterDeclaration typeDecl) private booleanLeastUpperBoundLogic.isSubstituable(ResolvedTypeParameterDeclaration typeDecl, ResolvedType type) LeastUpperBoundLogic.TypeSubstitution.substitutedType(ResolvedTypeParameterDeclaration typeDecl) static InferenceVariableInferenceVariable.unnamed(ResolvedTypeParameterDeclaration typeParameterDeclaration) voidLeastUpperBoundLogic.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 BoundSetTypeInference.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) booleanInferenceVariable.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)