Uses of Interface
com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration
-
-
Uses of ResolvedTypeParameterDeclaration in com.github.javaparser.resolution
Methods in com.github.javaparser.resolution with parameters of type ResolvedTypeParameterDeclaration Modifier and Type Method Description MethodUsageMethodUsage. replaceTypeParameter(ResolvedTypeParameterDeclaration typeParameter, ResolvedType type) -
Uses of ResolvedTypeParameterDeclaration in com.github.javaparser.resolution.declarations
Methods in com.github.javaparser.resolution.declarations that return ResolvedTypeParameterDeclaration Modifier and Type Method Description default ResolvedTypeParameterDeclarationResolvedTypeDeclaration. asTypeParameter()Return this as a TypeParameterDeclaration or throw UnsupportedOperationException.default ResolvedTypeParameterDeclarationResolvedTypeParameterDeclaration. asTypeParameter()static ResolvedTypeParameterDeclarationResolvedTypeParameterDeclaration. onType(java.lang.String name, java.lang.String classQName, java.util.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 ResolvedTypeParameterDeclaration Modifier and Type Method Description default java.util.Optional<ResolvedTypeParameterDeclaration>ResolvedMethodLikeDeclaration. findTypeParameter(java.lang.String name)default java.util.Optional<ResolvedTypeParameterDeclaration>ResolvedReferenceTypeDeclaration. findTypeParameter(java.lang.String name)java.util.Optional<ResolvedTypeParameterDeclaration>ResolvedTypeParametrizable. findTypeParameter(java.lang.String name)Find the closest TypeParameterDeclaration with the given name.java.util.List<ResolvedTypeParameterDeclaration>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 ResolvedTypeParameterDeclaration Modifier and Type Field Description private ResolvedTypeParameterDeclarationInferenceVariableType. correspondingTpMethods in com.github.javaparser.resolution.logic with parameters of type ResolvedTypeParameterDeclaration Modifier and Type Method Description private 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 ResolvedTypeParameterDeclaration Modifier and Type Method Description static voidMethodResolutionLogic. inferTypes(ResolvedType source, ResolvedType target, java.util.Map<ResolvedTypeParameterDeclaration,ResolvedType> mappings)private static ResolvedTypeMethodResolutionLogic. substituteTypeVariables(ResolvedType type, java.util.List<ResolvedTypeParameterDeclaration> typeParams, java.util.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 ResolvedTypeParameterDeclaration Modifier and Type Method Description ResolvedTypeParameterDeclarationLazyType. asTypeParameter()ResolvedTypeParameterDeclarationReferenceTypeImpl. asTypeParameter()Methods in com.github.javaparser.resolution.model.typesystem with parameters of type ResolvedTypeParameterDeclaration Modifier and Type Method Description ResolvedTypeLazyType. replaceTypeVariables(ResolvedTypeParameterDeclaration tp, ResolvedType replaced)ResolvedTypeLazyType. replaceTypeVariables(ResolvedTypeParameterDeclaration tp, ResolvedType replaced, java.util.Map<ResolvedTypeParameterDeclaration,ResolvedType> inferredTypes)Method parameters in com.github.javaparser.resolution.model.typesystem with type arguments of type ResolvedTypeParameterDeclaration Modifier and Type Method Description booleanReferenceTypeImpl. mention(java.util.List<ResolvedTypeParameterDeclaration> typeParameters)ResolvedTypeLazyType. replaceTypeVariables(ResolvedTypeParameterDeclaration tp, ResolvedType replaced, java.util.Map<ResolvedTypeParameterDeclaration,ResolvedType> inferredTypes) -
Uses of ResolvedTypeParameterDeclaration in com.github.javaparser.resolution.types
Fields in com.github.javaparser.resolution.types declared as ResolvedTypeParameterDeclaration Modifier and Type Field Description private ResolvedTypeParameterDeclarationResolvedTypeVariable. typeParameterMethods in com.github.javaparser.resolution.types that return ResolvedTypeParameterDeclaration Modifier and Type Method Description default ResolvedTypeParameterDeclarationResolvedType. asTypeParameter()ResolvedTypeParameterDeclarationResolvedTypeVariable. asTypeParameter()Methods in com.github.javaparser.resolution.types that return types with arguments of type ResolvedTypeParameterDeclaration Modifier and Type Method Description java.util.List<Pair<ResolvedTypeParameterDeclaration,ResolvedType>>ResolvedReferenceType. getTypeParametersMap()Get the values for all type parameters declared on this type.Method parameters in com.github.javaparser.resolution.types with type arguments of type ResolvedTypeParameterDeclaration Modifier and Type Method Description default booleanResolvedType. mention(java.util.List<ResolvedTypeParameterDeclaration> typeParameters)Does this type mention at all, directly or indirectly, the given type parameters?booleanResolvedTypeVariable. mention(java.util.List<ResolvedTypeParameterDeclaration> typeParameters)booleanResolvedWildcard. mention(java.util.List<ResolvedTypeParameterDeclaration> typeParameters)ResolvedTypeResolvedArrayType. replaceTypeVariables(ResolvedTypeParameterDeclaration tpToReplace, ResolvedType replaced, java.util.Map<ResolvedTypeParameterDeclaration,ResolvedType> inferredTypes)ResolvedTypeResolvedIntersectionType. replaceTypeVariables(ResolvedTypeParameterDeclaration tp, ResolvedType replaced, java.util.Map<ResolvedTypeParameterDeclaration,ResolvedType> inferredTypes)ResolvedTypeResolvedReferenceType. replaceTypeVariables(ResolvedTypeParameterDeclaration tpToReplace, ResolvedType replaced, java.util.Map<ResolvedTypeParameterDeclaration,ResolvedType> inferredTypes)default ResolvedTypeResolvedType. replaceTypeVariables(ResolvedTypeParameterDeclaration tp, ResolvedType replaced, java.util.Map<ResolvedTypeParameterDeclaration,ResolvedType> inferredTypes)Replace all variables referring to the given TypeParameter with the given value.ResolvedTypeResolvedTypeVariable. replaceTypeVariables(ResolvedTypeParameterDeclaration tpToBeReplaced, ResolvedType replaced, java.util.Map<ResolvedTypeParameterDeclaration,ResolvedType> inferredTypes)ResolvedTypeResolvedWildcard. replaceTypeVariables(ResolvedTypeParameterDeclaration tpToReplace, ResolvedType replaced, java.util.Map<ResolvedTypeParameterDeclaration,ResolvedType> inferredTypes)Constructors in com.github.javaparser.resolution.types with parameters of type ResolvedTypeParameterDeclaration Constructor Description ResolvedTypeVariable(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 ResolvedTypeParameterDeclaration Modifier and Type Field Description private java.util.Map<java.lang.String,ResolvedTypeParameterDeclaration>ResolvedTypeParametersMap.Builder. nameToDeclarationprivate java.util.Map<java.lang.String,ResolvedTypeParameterDeclaration>ResolvedTypeParametersMap. nameToDeclarationMethods in com.github.javaparser.resolution.types.parametrization with parameters of type ResolvedTypeParameterDeclaration Modifier and Type Method Description ResolvedTypeResolvedTypeParametersMap. getValue(ResolvedTypeParameterDeclaration typeParameter)ResolvedTypeParametersMap.BuilderResolvedTypeParametersMap.Builder. setValue(ResolvedTypeParameterDeclaration typeParameter, ResolvedType value)java.util.Optional<ResolvedType>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 ResolvedTypeParameterDeclaration Modifier and Type Method Description protected 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 ResolvedTypeParameterDeclaration Modifier and Type Method Description private ResolvedTypeMethodCallExprContext. applyInferredTypes(ResolvedType type, java.util.Map<ResolvedTypeParameterDeclaration,ResolvedType> inferredTypes)private voidMethodCallExprContext. convertTypesParameters(java.util.Map<ResolvedTypeParameterDeclaration,ResolvedType> matchedTypeParameters, java.util.Map<java.lang.String,ResolvedType> reducedResolvedTypesByTypeVariable)private java.util.Set<ResolvedType>MethodCallExprContext. findResolvedTypesByTypeVariable(java.lang.String typeVariableName, java.util.Map<ResolvedTypeParameterDeclaration,ResolvedType> typeParameters)private java.util.Map<java.lang.String,java.util.Set<ResolvedType>>MethodCallExprContext. groupResolvedTypeByTypeVariable(java.util.Map<ResolvedTypeParameterDeclaration,ResolvedType> typeParameters)private voidMethodCallExprContext. matchTypeParameters(ResolvedType expectedType, ResolvedType actualType, java.util.Map<ResolvedTypeParameterDeclaration,ResolvedType> matchedTypeParameters)private MethodUsageMethodCallExprContext. replaceTypeParameter(MethodUsage methodUsage, java.util.Map<ResolvedTypeParameterDeclaration,ResolvedType> matchedTypeParameters)private ResolvedTypeMethodCallExprContext. usingParameterTypesFromScope(ResolvedType scope, ResolvedType type, java.util.Map<ResolvedTypeParameterDeclaration,ResolvedType> inferredTypes) -
Uses of ResolvedTypeParameterDeclaration in com.github.javaparser.symbolsolver.javaparsermodel.declarations
Classes in com.github.javaparser.symbolsolver.javaparsermodel.declarations that implement ResolvedTypeParameterDeclaration Modifier and Type Class Description classJavaParserTypeParameterMethods in com.github.javaparser.symbolsolver.javaparsermodel.declarations that return ResolvedTypeParameterDeclaration Modifier and Type Method Description ResolvedTypeParameterDeclarationJavaParserTypeParameter. asTypeParameter()ResolvedTypeParameterDeclarationJavaParserTypeVariableDeclaration. asTypeParameter()Methods in com.github.javaparser.symbolsolver.javaparsermodel.declarations that return types with arguments of type ResolvedTypeParameterDeclaration Modifier and Type Method Description java.util.List<ResolvedTypeParameterDeclaration>DefaultConstructorDeclaration. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>JavaParserAnnotationDeclaration. getTypeParameters()Annotation declarations cannot have type parameters and hence this method always returns an empty list.java.util.List<ResolvedTypeParameterDeclaration>JavaParserAnonymousClassDeclaration. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>JavaParserClassDeclaration. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>JavaParserConstructorDeclaration. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>JavaParserEnumDeclaration. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>JavaParserEnumDeclaration.ValueOfMethod. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>JavaParserEnumDeclaration.ValuesMethod. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>JavaParserInterfaceDeclaration. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>JavaParserMethodDeclaration. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>JavaParserRecordDeclaration.CanonicalRecordConstructor. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>JavaParserRecordDeclaration. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>JavaParserRecordDeclaration.ImplicitGetterMethod. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>JavaParserTypeParameter. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>JavaParserTypeVariableDeclaration. getTypeParameters() -
Uses of ResolvedTypeParameterDeclaration in com.github.javaparser.symbolsolver.javassistmodel
Classes in com.github.javaparser.symbolsolver.javassistmodel that implement ResolvedTypeParameterDeclaration Modifier and Type Class Description classJavassistTypeParameterMethods in com.github.javaparser.symbolsolver.javassistmodel that return types with arguments of type ResolvedTypeParameterDeclaration Modifier and Type Method Description java.util.List<ResolvedTypeParameterDeclaration>JavassistAnnotationDeclaration. getTypeParameters()Annotation declarations cannot have type parameters and hence this method always returns an empty list.java.util.List<ResolvedTypeParameterDeclaration>JavassistClassDeclaration. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>JavassistConstructorDeclaration. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>JavassistEnumDeclaration. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>JavassistInterfaceDeclaration. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>JavassistMethodDeclaration. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>JavassistMethodLikeDeclarationAdapter. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>JavassistRecordDeclaration. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>JavassistTypeDeclarationAdapter. getTypeParameters() -
Uses of ResolvedTypeParameterDeclaration in com.github.javaparser.symbolsolver.reflectionmodel
Classes in com.github.javaparser.symbolsolver.reflectionmodel that implement ResolvedTypeParameterDeclaration Modifier and Type Class Description classReflectionTypeParameterMethods in com.github.javaparser.symbolsolver.reflectionmodel that return types with arguments of type ResolvedTypeParameterDeclaration Modifier and Type Method Description java.util.List<ResolvedTypeParameterDeclaration>ReflectionAnnotationDeclaration. getTypeParameters()Annotation declarations cannot have type parameters and hence this method always returns an empty list.java.util.List<ResolvedTypeParameterDeclaration>ReflectionClassAdapter. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>ReflectionClassDeclaration. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>ReflectionConstructorDeclaration. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>ReflectionEnumDeclaration. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>ReflectionInterfaceDeclaration. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>ReflectionMethodDeclaration. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>ReflectionRecordDeclaration. getTypeParameters() -
Uses of ResolvedTypeParameterDeclaration in com.github.javaparser.symbolsolver.resolution.typeinference
Fields in com.github.javaparser.symbolsolver.resolution.typeinference declared as ResolvedTypeParameterDeclaration Modifier and Type Field Description private ResolvedTypeParameterDeclarationInferenceVariable. typeParameterDeclarationFields in com.github.javaparser.symbolsolver.resolution.typeinference with type parameters of type ResolvedTypeParameterDeclaration Modifier and Type Field Description private java.util.List<ResolvedTypeParameterDeclaration>LeastUpperBoundLogic.TypeSubstitution. typeParameterDeclarationsprivate java.util.List<ResolvedTypeParameterDeclaration>Substitution. typeParameterDeclarationsprivate java.util.List<ResolvedTypeParameterDeclaration>MethodType. typeParametersMethods in com.github.javaparser.symbolsolver.resolution.typeinference that return ResolvedTypeParameterDeclaration Modifier and Type Method Description ResolvedTypeParameterDeclarationInferenceVariable. getTypeParameterDeclaration()Methods in com.github.javaparser.symbolsolver.resolution.typeinference that return types with arguments of type ResolvedTypeParameterDeclaration Modifier and Type Method Description java.util.List<ResolvedTypeParameterDeclaration>MethodType. getTypeParameters()java.util.List<ResolvedTypeParameterDeclaration>LeastUpperBoundLogic.TypeSubstitution. typeParameterDeclarations()Methods in com.github.javaparser.symbolsolver.resolution.typeinference with parameters of type ResolvedTypeParameterDeclaration Modifier and Type Method Description private booleanTypeInference. appearInThrowsClause(ResolvedTypeParameterDeclaration p, ResolvedMethodDeclaration methodDeclaration)private booleanLeastUpperBoundLogic. boundedAsObject(ResolvedTypeParameterDeclaration typeDecl)private booleanLeastUpperBoundLogic. isSubstituable(ResolvedTypeParameterDeclaration typeDecl, ResolvedType type)ResolvedTypeLeastUpperBoundLogic.TypeSubstitution. substitutedType(ResolvedTypeParameterDeclaration typeDecl)static InferenceVariableInferenceVariable. unnamed(ResolvedTypeParameterDeclaration typeParameterDeclaration)voidLeastUpperBoundLogic.TypeSubstitution. withPair(ResolvedTypeParameterDeclaration typeParameterDeclaration, ResolvedType type)SubstitutionSubstitution. withPair(ResolvedTypeParameterDeclaration typeParameterDeclaration, ResolvedType type)Method parameters in com.github.javaparser.symbolsolver.resolution.typeinference with type arguments of type ResolvedTypeParameterDeclaration Modifier and Type Method Description private BoundSetTypeInference. boundSetup(java.util.List<ResolvedTypeParameterDeclaration> typeParameterDeclarations, java.util.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 java.util.List<InferenceVariable>InferenceVariable. instantiate(java.util.List<ResolvedTypeParameterDeclaration> typeParameterDeclarations)booleanInferenceVariable. mention(java.util.List<ResolvedTypeParameterDeclaration> typeParameters)private LeastUpperBoundLogic.TypeSubstitutionLeastUpperBoundLogic. substitution(java.util.List<Pair<ResolvedTypeParameterDeclaration,ResolvedType>> pairs)Constructors in com.github.javaparser.symbolsolver.resolution.typeinference with parameters of type ResolvedTypeParameterDeclaration Constructor Description InferenceVariable(java.lang.String name, ResolvedTypeParameterDeclaration typeParameterDeclaration)Constructor parameters in com.github.javaparser.symbolsolver.resolution.typeinference with type arguments of type ResolvedTypeParameterDeclaration Constructor Description MethodType(java.util.List<ResolvedTypeParameterDeclaration> typeParameters, java.util.List<ResolvedType> formalArgumentTypes, ResolvedType returnType, java.util.List<ResolvedType> exceptionTypes)
-