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 booleanMethodCallExpr.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 aClassOrInterfaceTypeinto 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) AUnknownTypecannot be convertible toResolvedType.VarType.convertToUsage(Context context) VoidType.convertToUsage(Context context) WildcardType.convertToUsage(Context context) Convert aWildcardTypeinto aResolvedType.ClassOrInterfaceType.resolve()abstract ResolvedTypeType.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.exceptionTypesprivate List<ResolvedType> MethodUsage.paramTypesMethods 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 aClassinto 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) privateMethodUsage(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) privateMethodUsage(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 ResolvedTypeResolvedTypeParameterDeclaration.Bound.typeMethods in com.github.javaparser.resolution.declarations that return ResolvedTypeModifier and TypeMethodDescriptiondefault ResolvedTypeResolvedTypeParameterDeclaration.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 ResolvedTypeResolvedTypeParameterDeclaration.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:booleanResolvedReferenceTypeDeclaration.isAssignableBy(ResolvedType type) Can we assign instances of the given type to variables having the type defined by this declaration?default booleanResolvedMethodDeclaration.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 TypeClassDescriptionclassAn element using during type inference.Fields in com.github.javaparser.resolution.logic with type parameters of type ResolvedTypeModifier and TypeFieldDescriptionprivate Set<ResolvedType> InferenceVariableType.equivalentTypesprivate Set<ResolvedType> InferenceVariableType.superTypesMethods in com.github.javaparser.resolution.logic that return ResolvedTypeModifier and TypeMethodDescriptionInferenceContext.addPair(ResolvedType target, ResolvedType actual) InferenceContext.addSingle(ResolvedType actual) InferenceVariableType.equivalentType()private static ResolvedTypeConstructorResolutionLogic.findCommonType(List<ResolvedType> variadicValues) private static ResolvedTypeMethodResolutionLogic.findCommonType(List<ResolvedType> variadicValues) private static ResolvedTypeMethodResolutionLogic.getMethodsExplicitAndVariadicParameterType(ResolvedMethodDeclaration method, int i) private ResolvedTypeInferenceContext.placeInferenceVariables(ResolvedType type) static ResolvedTypeMethodResolutionLogic.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 ResolvedArrayTypeMethodResolutionLogic.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 booleanInferenceVariableType.hasInferenceVariables(ResolvedType type) private static voidMethodResolutionLogic.inferTypes(ResolvedType source, ResolvedType target, Map<ResolvedTypeParameterDeclaration, ResolvedType> mappings) private static booleanMethodResolutionLogic.isArrayOfObject(ResolvedType type) booleanInferenceVariableType.isAssignableBy(ResolvedType other) static booleanMethodResolutionLogic.isAssignableMatchTypeParameters(ResolvedType expected, ResolvedType actual, Map<String, ResolvedType> matchedParameters) static booleanFunctionalInterfaceLogic.isFunctionalInterfaceType(ResolvedType type) private static booleanMethodResolutionLogic.isJavaLangObject(ResolvedType paramType) private static booleanMethodResolutionLogic.matchTypeVariable(ResolvedTypeVariable typeVariable, ResolvedType type, Map<String, ResolvedType> matchedParameters) private ResolvedTypeInferenceContext.placeInferenceVariables(ResolvedType type) private voidInferenceContext.registerCorrespondance(ResolvedType formalType, ResolvedType actualType) voidInferenceVariableType.registerEquivalentType(ResolvedType type) static ResolvedTypeMethodResolutionLogic.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 ResolvedTypeConstructorResolutionLogic.findCommonType(List<ResolvedType> variadicValues) private static ResolvedTypeMethodResolutionLogic.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 voidMethodResolutionLogic.inferTypes(ResolvedType source, ResolvedType target, Map<ResolvedTypeParameterDeclaration, ResolvedType> mappings) static booleanConstructorResolutionLogic.isApplicable(ResolvedConstructorDeclaration constructor, List<ResolvedType> argumentsTypes, TypeSolver typeSolver) private static booleanConstructorResolutionLogic.isApplicable(ResolvedConstructorDeclaration constructor, List<ResolvedType> argumentsTypes, TypeSolver typeSolver, boolean withWildcardTolerance) static booleanMethodResolutionLogic.isApplicable(ResolvedMethodDeclaration method, String name, List<ResolvedType> argumentsTypes, TypeSolver typeSolver) private static booleanMethodResolutionLogic.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 booleanMethodResolutionLogic.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 booleanMethodResolutionLogic.isAssignableMatchTypeParameters(ResolvedReferenceType expected, ResolvedReferenceType actual, Map<String, ResolvedType> matchedParameters) static booleanMethodResolutionLogic.isAssignableMatchTypeParameters(ResolvedType expected, ResolvedType actual, Map<String, ResolvedType> matchedParameters) private static booleanMethodResolutionLogic.isAssignableMatchTypeParametersMatchingQName(ResolvedReferenceType expected, ResolvedReferenceType actual, Map<String, ResolvedType> matchedParameters) protected static booleanMethodResolutionLogic.isExactMatch(ResolvedMethodLikeDeclaration method, List<ResolvedType> argumentsTypes) private static booleanMethodResolutionLogic.isMoreSpecific(ResolvedMethodDeclaration methodA, ResolvedMethodDeclaration methodB, List<ResolvedType> argumentTypes) private static booleanMethodResolutionLogic.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 TypeClassDescriptionclassPlaceholder 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 TypeMethodDescriptionbooleanLambdaArgumentTypePlaceholder.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 TypeClassDescriptionclassclassThis is a virtual type used to represent null values.classFields 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 TypeMethodDescriptionprivate ResolvedTypeLazyType.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 TypeMethodDescriptionbooleanLazyType.isAssignableBy(ResolvedType other) booleanNullType.isAssignableBy(ResolvedType other) booleanReferenceTypeImpl.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 ResolvedReferenceTypeReferenceTypeImpl.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 TypeClassDescriptionclassArray Type.classAn intersection type is defined in java as list of types separates by ampersands.classenumclassA ReferenceType like a class, an interface or an enum.classFrom 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).classA union type is defined in java as list of types separates by pipes.classThe special type void.classA 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 ResolvedTypeResolvedArrayType.baseTypeprivate ResolvedTypeResolvedLambdaConstraintType.boundprivate ResolvedTypeResolvedWildcard.boundedTypestatic final ResolvedTypeResolvedVoidType.INSTANCEFields in com.github.javaparser.resolution.types with type parameters of type ResolvedTypeModifier and TypeFieldDescriptionprivate List<ResolvedType> ResolvedIntersectionType.elementsprivate List<ResolvedType> ResolvedUnionType.elementsMethods in com.github.javaparser.resolution.types that return ResolvedTypeModifier and TypeMethodDescriptionstatic ResolvedTypeResolvedArrayType.erasure()ResolvedReferenceType.erasure()default ResolvedTypeResolvedType.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 ResolvedTypeResolvedType.replaceTypeVariables(ResolvedTypeParameterDeclaration tp, ResolvedType replaced) This is like (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) default ResolvedTypeResolvedType.solveGenericTypes(Context context) ResolvedTypeVariable.solveGenericTypes(Context context) ResolvedWildcard.solveGenericTypes(Context context) abstract ResolvedTypeResolvedReferenceType.toRawType()ResolvedTypeTransformer.transform(ResolvedType type) abstract ResolvedTypeResolvedReferenceType.transformTypeParameters(ResolvedTypeTransformer transformer) Execute a transformation on all the type parameters of this element.static ResolvedTypeResolvedPrimitiveType.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 ResolvedLambdaConstraintTypeResolvedLambdaConstraintType.bound(ResolvedType bound) private booleanResolvedReferenceType.compareConsideringVariableTypeParameters(ResolvedType referenceType, ResolvedTypeVariable typeVariable) static ResolvedWildcardResolvedWildcard.extendsBound(ResolvedType type) booleanResolvedArrayType.isAssignableBy(ResolvedType other) booleanResolvedIntersectionType.isAssignableBy(ResolvedType other) booleanResolvedLambdaConstraintType.isAssignableBy(ResolvedType other) booleanResolvedPrimitiveType.isAssignableBy(ResolvedType other) abstract booleanResolvedReferenceType.isAssignableBy(ResolvedType other) This method checks if ThisType t = new OtherType() would compile.booleanResolvedType.isAssignableBy(ResolvedType other) This method checks if ThisType t = new OtherType() would compile.booleanResolvedTypeVariable.isAssignableBy(ResolvedType other) booleanResolvedUnionType.isAssignableBy(ResolvedType other) booleanResolvedVoidType.isAssignableBy(ResolvedType other) booleanResolvedWildcard.isAssignableBy(ResolvedType other) static booleanResolvedPrimitiveType.isBoxType(ResolvedType type) private booleanResolvedReferenceType.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 ResolvedTypeResolvedType.replaceTypeVariables(ResolvedTypeParameterDeclaration tp, ResolvedType replaced) This is like (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) static ResolvedWildcardResolvedWildcard.superBound(ResolvedType type) ResolvedTypeTransformer.transform(ResolvedType type) static ResolvedTypeResolvedPrimitiveType.unp(ResolvedType type) Method parameters in com.github.javaparser.resolution.types with type arguments of type ResolvedTypeModifier and TypeMethodDescriptionprotected abstract ResolvedReferenceTypeResolvedReferenceType.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 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 ResolvedTypeModifierConstructorDescriptionResolvedArrayType(ResolvedType baseType) privateprivateResolvedWildcard(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.nameToValueprivate Map<String, ResolvedType> ResolvedTypeParametersMap.nameToValueMethods in com.github.javaparser.resolution.types.parametrization that return ResolvedTypeModifier and TypeMethodDescriptionResolvedTypeParametersMap.getValue(ResolvedTypeParameterDeclaration typeParameter) ResolvedTypeParametersMap.replaceAll(ResolvedType type) default ResolvedTypeResolvedTypeParameterValueProvider.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 ResolvedTypeResolvedTypeParameterValueProvider.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 ResolvedTypeModifierConstructorDescriptionprivateBuilder(Map<String, ResolvedType> nameToValue, Map<String, ResolvedTypeParameterDeclaration> nameToDeclaration) privateResolvedTypeParametersMap(Map<String, ResolvedType> nameToValue, Map<String, ResolvedTypeParameterDeclaration> nameToDeclaration)