Uses of Interface
com.github.javaparser.resolution.types.ResolvedType
Packages that use ResolvedType
Package
Description
-
Uses of ResolvedType in com.github.javaparser.ast.expr
Methods in com.github.javaparser.ast.expr that return ResolvedTypeModifier and TypeMethodDescriptionExpression.calculateResolvedType()
returns the type associated with the node.Methods in com.github.javaparser.ast.expr with parameters of type ResolvedTypeModifier and TypeMethodDescriptionprivate boolean
MethodCallExpr.hasParameterwithSameTypeThanResultType
(ResolvedType resolvedReturnType) -
Uses of ResolvedType in com.github.javaparser.ast.type
Methods in com.github.javaparser.ast.type that return ResolvedTypeModifier and TypeMethodDescriptionArrayType.convertToUsage
(Context context) ClassOrInterfaceType.convertToUsage
(Context context) Convert aClassOrInterfaceType
into aResolvedType
.ConvertibleToUsage.convertToUsage
(Context context) IntersectionType.convertToUsage
(Context context) PrimitiveType.convertToUsage
(Context context) TypeParameter.convertToUsage
(Context context) UnionType.convertToUsage
(Context context) UnknownType.convertToUsage
(Context context) AUnknownType
cannot be convertible toResolvedType
.VarType.convertToUsage
(Context context) VoidType.convertToUsage
(Context context) WildcardType.convertToUsage
(Context context) Convert aWildcardType
into aResolvedType
.ClassOrInterfaceType.resolve()
abstract ResolvedType
Type.resolve()
UnknownType.resolve()
VarType.resolve()
-
Uses of ResolvedType in com.github.javaparser.resolution
Fields in com.github.javaparser.resolution declared as ResolvedTypeFields in com.github.javaparser.resolution with type parameters of type ResolvedTypeModifier and TypeFieldDescriptionprivate List
<ResolvedType> MethodUsage.exceptionTypes
private List
<ResolvedType> MethodUsage.paramTypes
Methods in com.github.javaparser.resolution that return ResolvedTypeModifier and TypeMethodDescriptionSymbolResolver.calculateType
(Expression expression) For an expression it would find the corresponding resolved type.Solver.classToResolvedType
(Class<?> clazz) Convert aClass
into the correspondingResolvedType
.MethodUsage.getParamType
(int i) Return the type of the formal argument at the given position.MethodUsage.returnType()
Solver.solveTypeUsage
(String name, Context context) Methods in com.github.javaparser.resolution that return types with arguments of type ResolvedTypeModifier and TypeMethodDescriptionMethodUsage.exceptionTypes()
MethodUsage.getParamTypes()
default Optional
<ResolvedType> Context.solveGenericType
(String name) Default to no generics available in this context, delegating solving to the parent context.default Optional
<ResolvedType> Context.solveGenericTypeInParentContext
(String name) Methods in com.github.javaparser.resolution with parameters of type ResolvedTypeModifier and TypeMethodDescriptionMethodUsage.replaceExceptionType
(int i, ResolvedType replaced) MethodUsage.replaceParamType
(int i, ResolvedType replaced) MethodUsage.replaceReturnType
(ResolvedType returnType) MethodUsage.replaceTypeParameter
(ResolvedTypeParameterDeclaration typeParameter, ResolvedType type) Method parameters in com.github.javaparser.resolution with type arguments of type ResolvedTypeModifier and TypeMethodDescriptionContext.solveConstructor
(List<ResolvedType> argumentsTypes) We find the method declaration which is the best match for the given name and list of typeParametersValues.default SymbolReference
<ResolvedMethodDeclaration> Context.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) We find the method declaration which is the best match for the given name and list of typeParametersValues.Solver.solveMethod
(String methodName, List<ResolvedType> argumentsTypes, Node node) Solver.solveMethod
(String methodName, List<ResolvedType> argumentsTypes, Context context) Context.solveMethodAsUsage
(String name, List<ResolvedType> argumentsTypes) Similar to solveMethod but we return a MethodUsage.default SymbolReference
<ResolvedMethodDeclaration> Context.solveMethodInParentContext
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) default SymbolReference
<ResolvedTypeDeclaration> Context.solveType
(String name, List<ResolvedType> typeArguments) Method used to solve a name with an expected list of type arguments.default SymbolReference
<ResolvedTypeDeclaration> Context.solveTypeInParentContext
(String name, List<ResolvedType> typeArguments) Solve a name with type arguments in the parent context.Constructors in com.github.javaparser.resolution with parameters of type ResolvedTypeModifierConstructorDescriptionMethodUsage
(ResolvedMethodDeclaration declaration, List<ResolvedType> paramTypes, ResolvedType returnType) MethodUsage
(ResolvedMethodDeclaration declaration, List<ResolvedType> paramTypes, ResolvedType returnType, List<ResolvedType> exceptionTypes) private
MethodUsage
(ResolvedMethodDeclaration declaration, List<ResolvedType> paramTypes, ResolvedType returnType, List<ResolvedType> exceptionTypes, ResolvedTypeParametersMap typeParametersMap) Constructor parameters in com.github.javaparser.resolution with type arguments of type ResolvedTypeModifierConstructorDescriptionMethodUsage
(ResolvedMethodDeclaration declaration, List<ResolvedType> paramTypes, ResolvedType returnType) MethodUsage
(ResolvedMethodDeclaration declaration, List<ResolvedType> paramTypes, ResolvedType returnType, List<ResolvedType> exceptionTypes) private
MethodUsage
(ResolvedMethodDeclaration declaration, List<ResolvedType> paramTypes, ResolvedType returnType, List<ResolvedType> exceptionTypes, ResolvedTypeParametersMap typeParametersMap) -
Uses of ResolvedType in com.github.javaparser.resolution.declarations
Fields in com.github.javaparser.resolution.declarations declared as ResolvedTypeModifier and TypeFieldDescriptionprivate ResolvedType
ResolvedTypeParameterDeclaration.Bound.type
Methods in com.github.javaparser.resolution.declarations that return ResolvedTypeModifier and TypeMethodDescriptiondefault ResolvedType
ResolvedTypeParameterDeclaration.getLowerBound()
Get the type used as lower bound.ResolvedMethodDeclaration.getReturnType()
The type of the value returned by the current method.ResolvedMethodLikeDeclaration.getSpecifiedException
(int index) Type of the corresponding entry in the throws clause.ResolvedTypeParameterDeclaration.Bound.getType()
Get the type used in the Bound.ResolvedValueDeclaration.getType()
Type of the declaration.default ResolvedType
ResolvedTypeParameterDeclaration.getUpperBound()
Get the type used as upper bound.Methods in com.github.javaparser.resolution.declarations that return types with arguments of type ResolvedTypeModifier and TypeMethodDescriptiondefault List
<ResolvedType> ResolvedMethodLikeDeclaration.formalParameterTypes()
default List
<ResolvedType> ResolvedMethodLikeDeclaration.getSpecifiedExceptions()
Methods in com.github.javaparser.resolution.declarations with parameters of type ResolvedTypeModifier and TypeMethodDescriptionResolvedTypeParameterDeclaration.Bound.extendsBound
(ResolvedType type) Create an extends bound with the given type:boolean
ResolvedReferenceTypeDeclaration.isAssignableBy
(ResolvedType type) Can we assign instances of the given type to variables having the type defined by this declaration?default boolean
ResolvedMethodDeclaration.isReturnTypeSubstituable
(ResolvedType otherResolvedType) ResolvedTypeParameterDeclaration.Bound.superBound
(ResolvedType type) Create a super bound with the given type:Constructors in com.github.javaparser.resolution.declarations with parameters of type ResolvedType -
Uses of ResolvedType in com.github.javaparser.resolution.logic
Classes in com.github.javaparser.resolution.logic that implement ResolvedTypeModifier and TypeClassDescriptionclass
An element using during type inference.Fields in com.github.javaparser.resolution.logic with type parameters of type ResolvedTypeModifier and TypeFieldDescriptionprivate Set
<ResolvedType> InferenceVariableType.equivalentTypes
private Set
<ResolvedType> InferenceVariableType.superTypes
Methods in com.github.javaparser.resolution.logic that return ResolvedTypeModifier and TypeMethodDescriptionInferenceContext.addPair
(ResolvedType target, ResolvedType actual) InferenceContext.addSingle
(ResolvedType actual) InferenceVariableType.equivalentType()
private static ResolvedType
ConstructorResolutionLogic.findCommonType
(List<ResolvedType> variadicValues) private static ResolvedType
MethodResolutionLogic.findCommonType
(List<ResolvedType> variadicValues) private static ResolvedType
MethodResolutionLogic.getMethodsExplicitAndVariadicParameterType
(ResolvedMethodDeclaration method, int i) private ResolvedType
InferenceContext.placeInferenceVariables
(ResolvedType type) static ResolvedType
MethodResolutionLogic.replaceTypeParam
(ResolvedType type, ResolvedTypeParameterDeclaration tp, TypeSolver typeSolver) InferenceContext.resolve
(ResolvedType type) Methods in com.github.javaparser.resolution.logic that return types with arguments of type ResolvedTypeModifier and TypeMethodDescriptionprivate Set
<ResolvedType> InferenceVariableType.concreteEquivalentTypesAlsoIndirectly
(Set<InferenceVariableType> considered, InferenceVariableType inferenceVariableType) private static List
<ResolvedType> MethodResolutionLogic.groupTrailingArgumentsIntoArray
(ResolvedMethodDeclaration methodDeclaration, List<ResolvedType> needleArgumentTypes, ResolvedType expectedVariadicParameterType) private static List
<ResolvedType> ConstructorResolutionLogic.groupVariadicParamValues
(List<ResolvedType> argumentsTypes, int startVariadic, ResolvedType variadicType) private static List
<ResolvedType> MethodResolutionLogic.groupVariadicParamValues
(List<ResolvedType> argumentsTypes, int startVariadic, ResolvedType variadicType) Methods in com.github.javaparser.resolution.logic with parameters of type ResolvedTypeModifier and TypeMethodDescriptionInferenceContext.addPair
(ResolvedType target, ResolvedType actual) InferenceContext.addSingle
(ResolvedType actual) private static ResolvedArrayType
MethodResolutionLogic.convertToVariadicParameter
(ResolvedType type) static Optional
<MethodUsage> FunctionalInterfaceLogic.getFunctionalMethod
(ResolvedType type) Get the functional method defined by the type, if any.private static List
<ResolvedType> MethodResolutionLogic.groupTrailingArgumentsIntoArray
(ResolvedMethodDeclaration methodDeclaration, List<ResolvedType> needleArgumentTypes, ResolvedType expectedVariadicParameterType) private static List
<ResolvedType> ConstructorResolutionLogic.groupVariadicParamValues
(List<ResolvedType> argumentsTypes, int startVariadic, ResolvedType variadicType) private static List
<ResolvedType> MethodResolutionLogic.groupVariadicParamValues
(List<ResolvedType> argumentsTypes, int startVariadic, ResolvedType variadicType) private boolean
InferenceVariableType.hasInferenceVariables
(ResolvedType type) private static void
MethodResolutionLogic.inferTypes
(ResolvedType source, ResolvedType target, Map<ResolvedTypeParameterDeclaration, ResolvedType> mappings) private static boolean
MethodResolutionLogic.isArrayOfObject
(ResolvedType type) boolean
InferenceVariableType.isAssignableBy
(ResolvedType other) static boolean
MethodResolutionLogic.isAssignableMatchTypeParameters
(ResolvedType expected, ResolvedType actual, Map<String, ResolvedType> matchedParameters) static boolean
FunctionalInterfaceLogic.isFunctionalInterfaceType
(ResolvedType type) private static boolean
MethodResolutionLogic.isJavaLangObject
(ResolvedType paramType) private static boolean
MethodResolutionLogic.matchTypeVariable
(ResolvedTypeVariable typeVariable, ResolvedType type, Map<String, ResolvedType> matchedParameters) private ResolvedType
InferenceContext.placeInferenceVariables
(ResolvedType type) private void
InferenceContext.registerCorrespondance
(ResolvedType formalType, ResolvedType actualType) void
InferenceVariableType.registerEquivalentType
(ResolvedType type) static ResolvedType
MethodResolutionLogic.replaceTypeParam
(ResolvedType type, ResolvedTypeParameterDeclaration tp, TypeSolver typeSolver) InferenceContext.resolve
(ResolvedType type) Method parameters in com.github.javaparser.resolution.logic with type arguments of type ResolvedTypeModifier and TypeMethodDescriptionprivate static ResolvedType
ConstructorResolutionLogic.findCommonType
(List<ResolvedType> variadicValues) private static ResolvedType
MethodResolutionLogic.findCommonType
(List<ResolvedType> variadicValues) private static List
<ResolvedType> MethodResolutionLogic.groupTrailingArgumentsIntoArray
(ResolvedMethodDeclaration methodDeclaration, List<ResolvedType> needleArgumentTypes, ResolvedType expectedVariadicParameterType) private static List
<ResolvedType> ConstructorResolutionLogic.groupVariadicParamValues
(List<ResolvedType> argumentsTypes, int startVariadic, ResolvedType variadicType) private static List
<ResolvedType> MethodResolutionLogic.groupVariadicParamValues
(List<ResolvedType> argumentsTypes, int startVariadic, ResolvedType variadicType) private static void
MethodResolutionLogic.inferTypes
(ResolvedType source, ResolvedType target, Map<ResolvedTypeParameterDeclaration, ResolvedType> mappings) static boolean
ConstructorResolutionLogic.isApplicable
(ResolvedConstructorDeclaration constructor, List<ResolvedType> argumentsTypes, TypeSolver typeSolver) private static boolean
ConstructorResolutionLogic.isApplicable
(ResolvedConstructorDeclaration constructor, List<ResolvedType> argumentsTypes, TypeSolver typeSolver, boolean withWildcardTolerance) static boolean
MethodResolutionLogic.isApplicable
(ResolvedMethodDeclaration method, String name, List<ResolvedType> argumentsTypes, TypeSolver typeSolver) private static boolean
MethodResolutionLogic.isApplicable
(ResolvedMethodDeclaration methodDeclaration, String needleName, List<ResolvedType> needleArgumentTypes, TypeSolver typeSolver, boolean withWildcardTolerance) Note the specific naming here -- parameters are part of the method declaration, while arguments are the values passed when calling a method.static boolean
MethodResolutionLogic.isApplicable
(MethodUsage methodUsage, String needleName, List<ResolvedType> needleParameterTypes, TypeSolver typeSolver) Note the specific naming here -- parameters are part of the method declaration, while arguments are the values passed when calling a method.static boolean
MethodResolutionLogic.isAssignableMatchTypeParameters
(ResolvedReferenceType expected, ResolvedReferenceType actual, Map<String, ResolvedType> matchedParameters) static boolean
MethodResolutionLogic.isAssignableMatchTypeParameters
(ResolvedType expected, ResolvedType actual, Map<String, ResolvedType> matchedParameters) private static boolean
MethodResolutionLogic.isAssignableMatchTypeParametersMatchingQName
(ResolvedReferenceType expected, ResolvedReferenceType actual, Map<String, ResolvedType> matchedParameters) protected static boolean
MethodResolutionLogic.isExactMatch
(ResolvedMethodLikeDeclaration method, List<ResolvedType> argumentsTypes) private static boolean
MethodResolutionLogic.isMoreSpecific
(ResolvedMethodDeclaration methodA, ResolvedMethodDeclaration methodB, List<ResolvedType> argumentTypes) private static boolean
MethodResolutionLogic.matchTypeVariable
(ResolvedTypeVariable typeVariable, ResolvedType type, Map<String, ResolvedType> matchedParameters) MethodResolutionCapability.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) MethodResolutionLogic.solveMethodInType
(ResolvedTypeDeclaration typeDeclaration, String name, List<ResolvedType> argumentsTypes) MethodResolutionLogic.solveMethodInType
(ResolvedTypeDeclaration typeDeclaration, String name, List<ResolvedType> argumentsTypes, boolean staticOnly) Constructors in com.github.javaparser.resolution.logic with parameters of type ResolvedTypeModifierConstructorDescriptionConflictingGenericTypesException
(ResolvedType formalType, ResolvedType actualType) -
Uses of ResolvedType in com.github.javaparser.resolution.model
Classes in com.github.javaparser.resolution.model that implement ResolvedTypeModifier and TypeClassDescriptionclass
Placeholder used to represent a lambda argument type while it is being calculated.Fields in com.github.javaparser.resolution.model declared as ResolvedTypeMethods in com.github.javaparser.resolution.model that return ResolvedTypeMethods in com.github.javaparser.resolution.model with parameters of type ResolvedTypeModifier and TypeMethodDescriptionboolean
LambdaArgumentTypePlaceholder.isAssignableBy
(ResolvedType other) Constructors in com.github.javaparser.resolution.model with parameters of type ResolvedType -
Uses of ResolvedType in com.github.javaparser.resolution.model.typesystem
Classes in com.github.javaparser.resolution.model.typesystem that implement ResolvedTypeModifier and TypeClassDescriptionclass
class
This is a virtual type used to represent null values.class
Fields in com.github.javaparser.resolution.model.typesystem declared as ResolvedTypeFields in com.github.javaparser.resolution.model.typesystem with type parameters of type ResolvedTypeMethods in com.github.javaparser.resolution.model.typesystem that return ResolvedTypeModifier and TypeMethodDescriptionLazyType.getType()
LazyType.replaceTypeVariables
(ResolvedTypeParameterDeclaration tp, ResolvedType replaced) LazyType.replaceTypeVariables
(ResolvedTypeParameterDeclaration tp, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) ReferenceTypeImpl.toRawType()
ReferenceTypeImpl.transformTypeParameters
(ResolvedTypeTransformer transformer) Execute a transformation on all the type parameters of this element.Methods in com.github.javaparser.resolution.model.typesystem with parameters of type ResolvedTypeModifier and TypeMethodDescriptionboolean
LazyType.isAssignableBy
(ResolvedType other) boolean
NullType.isAssignableBy
(ResolvedType other) boolean
ReferenceTypeImpl.isAssignableBy
(ResolvedType other) This method checks if ThisType t = new OtherType() would compile.LazyType.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 ResolvedTypeModifier and TypeMethodDescriptionprotected ResolvedReferenceType
ReferenceTypeImpl.create
(ResolvedReferenceTypeDeclaration typeDeclaration, List<ResolvedType> typeParametersCorrected) LazyType.replaceTypeVariables
(ResolvedTypeParameterDeclaration tp, ResolvedType replaced, Map<ResolvedTypeParameterDeclaration, ResolvedType> inferredTypes) Constructor parameters in com.github.javaparser.resolution.model.typesystem with type arguments of type ResolvedTypeModifierConstructorDescriptionLazyType
(Function<Void, ResolvedType> provider) ReferenceTypeImpl
(ResolvedReferenceTypeDeclaration typeDeclaration, List<ResolvedType> typeArguments) -
Uses of ResolvedType in com.github.javaparser.resolution.promotion
Methods in com.github.javaparser.resolution.promotion that return ResolvedType -
Uses of ResolvedType in com.github.javaparser.resolution.types
Classes in com.github.javaparser.resolution.types that implement ResolvedTypeModifier and TypeClassDescriptionclass
Array Type.class
An intersection type is defined in java as list of types separates by ampersands.class
enum
class
A ReferenceType like a class, an interface or an enum.class
From JLS 4.4: A type variable is introduced by the declaration of a type parameter of a generic class, interface, method, or constructor (§8.1.2, §9.1.2, §8.4.4, §8.8.4).class
A union type is defined in java as list of types separates by pipes.class
The special type void.class
A wildcard can be: - unbounded (?) - have a lower bound (? super Number) - have an upper bound (? extends Number) It is not possible to have both a lower and an upper bound at the same time.Fields in com.github.javaparser.resolution.types declared as ResolvedTypeModifier and TypeFieldDescriptionprivate ResolvedType
ResolvedArrayType.baseType
private ResolvedType
ResolvedLambdaConstraintType.bound
private ResolvedType
ResolvedWildcard.boundedType
static final ResolvedType
ResolvedVoidType.INSTANCE
Fields in com.github.javaparser.resolution.types with type parameters of type ResolvedTypeModifier and TypeFieldDescriptionprivate List
<ResolvedType> ResolvedIntersectionType.elements
private List
<ResolvedType> ResolvedUnionType.elements
Methods in com.github.javaparser.resolution.types that return ResolvedTypeModifier and TypeMethodDescriptionstatic ResolvedType
ResolvedArrayType.erasure()
ResolvedReferenceType.erasure()
default ResolvedType
ResolvedType.erasure()
ResolvedTypeVariable.erasure()
ResolvedWildcard.erasure()
ResolvedLambdaConstraintType.getBound()
ResolvedWildcard.getBoundedType()
ResolvedArrayType.getComponentType()
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) This is like (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) default ResolvedType
ResolvedType.solveGenericTypes
(Context context) ResolvedTypeVariable.solveGenericTypes
(Context context) ResolvedWildcard.solveGenericTypes
(Context context) abstract ResolvedType
ResolvedReferenceType.toRawType()
ResolvedTypeTransformer.transform
(ResolvedType type) abstract ResolvedType
ResolvedReferenceType.transformTypeParameters
(ResolvedTypeTransformer transformer) Execute a transformation on all the type parameters of this element.static ResolvedType
ResolvedPrimitiveType.unp
(ResolvedType type) Methods in com.github.javaparser.resolution.types that return types with arguments of type ResolvedTypeModifier and TypeMethodDescriptionstatic Optional
<ResolvedType> ResolvedPrimitiveType.byBoxTypeQName
(String qName) private static List
<ResolvedType> ResolvedReferenceType.deriveParams
(ResolvedReferenceTypeDeclaration typeDeclaration) private List
<ResolvedType> ResolvedReferenceType.erasureOfParamaters
(ResolvedTypeParametersMap typeParametersMap) ResolvedIntersectionType.getElements()
ResolvedUnionType.getElements()
ResolvedReferenceType.getFieldType
(String name) The type of the field could be different from the one in the corresponding FieldDeclaration because type variables would be solved.ResolvedReferenceType.getGenericParameterByName
(String name) Get the type associated with the type parameter with the given name.ResolvedReferenceType.getTypeParametersMap()
Get the values for all type parameters declared on this type.ResolvedReferenceType.typeParametersValues()
Get the values for all type parameters declared on this type.ResolvedReferenceType.typeParamValue
(ResolvedTypeParameterDeclaration typeParameterDeclaration) Methods in com.github.javaparser.resolution.types with parameters of type ResolvedTypeModifier and TypeMethodDescriptionstatic ResolvedLambdaConstraintType
ResolvedLambdaConstraintType.bound
(ResolvedType bound) private boolean
ResolvedReferenceType.compareConsideringVariableTypeParameters
(ResolvedType referenceType, ResolvedTypeVariable typeVariable) static ResolvedWildcard
ResolvedWildcard.extendsBound
(ResolvedType type) boolean
ResolvedArrayType.isAssignableBy
(ResolvedType other) boolean
ResolvedIntersectionType.isAssignableBy
(ResolvedType other) boolean
ResolvedLambdaConstraintType.isAssignableBy
(ResolvedType other) boolean
ResolvedPrimitiveType.isAssignableBy
(ResolvedType other) abstract boolean
ResolvedReferenceType.isAssignableBy
(ResolvedType other) This method checks if ThisType t = new OtherType() would compile.boolean
ResolvedType.isAssignableBy
(ResolvedType other) This method checks if ThisType t = new OtherType() would compile.boolean
ResolvedTypeVariable.isAssignableBy
(ResolvedType other) boolean
ResolvedUnionType.isAssignableBy
(ResolvedType other) boolean
ResolvedVoidType.isAssignableBy
(ResolvedType other) boolean
ResolvedWildcard.isAssignableBy
(ResolvedType other) static boolean
ResolvedPrimitiveType.isBoxType
(ResolvedType type) private boolean
ResolvedReferenceType.isJavaObject
(ResolvedType rt) 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) This is like (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) static ResolvedWildcard
ResolvedWildcard.superBound
(ResolvedType type) ResolvedTypeTransformer.transform
(ResolvedType type) static ResolvedType
ResolvedPrimitiveType.unp
(ResolvedType type) Method parameters in com.github.javaparser.resolution.types with type arguments of type ResolvedTypeModifier and TypeMethodDescriptionprotected abstract ResolvedReferenceType
ResolvedReferenceType.create
(ResolvedReferenceTypeDeclaration typeDeclaration, List<ResolvedType> 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 ResolvedTypeModifierConstructorDescriptionResolvedArrayType
(ResolvedType baseType) private
private
ResolvedWildcard
(ResolvedWildcard.BoundType type, ResolvedType boundedType) Constructor parameters in com.github.javaparser.resolution.types with type arguments of type ResolvedTypeModifierConstructorDescriptionResolvedIntersectionType
(Collection<ResolvedType> elements) ResolvedReferenceType
(ResolvedReferenceTypeDeclaration typeDeclaration, List<ResolvedType> typeArguments) ResolvedUnionType
(List<ResolvedType> elements) -
Uses of ResolvedType in com.github.javaparser.resolution.types.parametrization
Fields in com.github.javaparser.resolution.types.parametrization with type parameters of type ResolvedTypeModifier and TypeFieldDescriptionprivate Map
<String, ResolvedType> ResolvedTypeParametersMap.Builder.nameToValue
private Map
<String, ResolvedType> ResolvedTypeParametersMap.nameToValue
Methods in com.github.javaparser.resolution.types.parametrization that return ResolvedTypeModifier and TypeMethodDescriptionResolvedTypeParametersMap.getValue
(ResolvedTypeParameterDeclaration typeParameter) ResolvedTypeParametersMap.replaceAll
(ResolvedType type) default ResolvedType
ResolvedTypeParameterValueProvider.useThisTypeParametersOnTheGivenType
(ResolvedType type) Replace the type typeParametersValues present in the given type with the ones for which this type has a value.Methods in com.github.javaparser.resolution.types.parametrization that return types with arguments of type ResolvedTypeModifier and TypeMethodDescriptionResolvedTypeParameterValueProvider.getGenericParameterByName
(String name) ResolvedTypeParametersMap.getTypes()
ResolvedTypeParametersMap.getValueBySignature
(String signature) ResolvedTypeParameterValueProvider.typeParamValue
(ResolvedTypeParameterDeclaration typeParameterDeclaration) Calculate the value for the given type parameter.Methods in com.github.javaparser.resolution.types.parametrization with parameters of type ResolvedTypeModifier and TypeMethodDescriptionResolvedTypeParametersMap.replaceAll
(ResolvedType type) ResolvedTypeParametersMap.Builder.setValue
(ResolvedTypeParameterDeclaration typeParameter, ResolvedType value) default ResolvedType
ResolvedTypeParameterValueProvider.useThisTypeParametersOnTheGivenType
(ResolvedType type) Replace the type typeParametersValues present in the given type with the ones for which this type has a value.Constructor parameters in com.github.javaparser.resolution.types.parametrization with type arguments of type ResolvedTypeModifierConstructorDescriptionprivate
Builder
(Map<String, ResolvedType> nameToValue, Map<String, ResolvedTypeParameterDeclaration> nameToDeclaration) private
ResolvedTypeParametersMap
(Map<String, ResolvedType> nameToValue, Map<String, ResolvedTypeParameterDeclaration> nameToDeclaration)