Uses of Interface
com.github.javaparser.resolution.types.ResolvedType
-
-
Uses of ResolvedType in com.github.javaparser.ast
Method parameters in com.github.javaparser.ast with type arguments of type ResolvedType Modifier and Type Method Description voidNode. removeData(DataKey<ResolvedType> key)Remove data by key. -
Uses of ResolvedType in com.github.javaparser.ast.expr
Methods in com.github.javaparser.ast.expr that return ResolvedType Modifier and Type Method Description ResolvedTypeExpression. calculateResolvedType()This constructor is used by the parser and is considered private. -
Uses of ResolvedType in com.github.javaparser.ast.type
Methods in com.github.javaparser.ast.type that return ResolvedType Modifier and Type Method Description abstract ResolvedTypeType. resolve()ResolvedTypeUnknownType. resolve()ResolvedTypeVarType. resolve() -
Uses of ResolvedType in com.github.javaparser.resolution
Methods in com.github.javaparser.resolution that return ResolvedType Modifier and Type Method Description ResolvedTypeSymbolResolver. calculateType(Expression expression)ResolvedTypeMethodUsage. getParamType(int i)Return the type of the formal argument at the given position.ResolvedTypeMethodUsage. returnType()Methods in com.github.javaparser.resolution that return types with arguments of type ResolvedType Modifier and Type Method Description List<ResolvedType>MethodUsage. exceptionTypes()List<ResolvedType>MethodUsage. getParamTypes()Methods in com.github.javaparser.resolution with parameters of type ResolvedType Modifier and Type Method Description MethodUsageMethodUsage. replaceExceptionType(int i, ResolvedType replaced)MethodUsageMethodUsage. replaceParamType(int i, ResolvedType replaced)MethodUsageMethodUsage. replaceReturnType(ResolvedType returnType)MethodUsageMethodUsage. replaceTypeParameter(ResolvedTypeParameterDeclaration typeParameter, ResolvedType type)Constructors in com.github.javaparser.resolution with parameters of type ResolvedType Constructor Description MethodUsage(ResolvedMethodDeclaration declaration, List<ResolvedType> paramTypes, ResolvedType returnType)MethodUsage(ResolvedMethodDeclaration declaration, List<ResolvedType> paramTypes, ResolvedType returnType, List<ResolvedType> exceptionTypes)Constructor parameters in com.github.javaparser.resolution with type arguments of type ResolvedType Constructor Description MethodUsage(ResolvedMethodDeclaration declaration, List<ResolvedType> paramTypes, ResolvedType returnType)MethodUsage(ResolvedMethodDeclaration declaration, List<ResolvedType> paramTypes, ResolvedType returnType, List<ResolvedType> exceptionTypes) -
Uses of ResolvedType in com.github.javaparser.resolution.declarations
Methods in com.github.javaparser.resolution.declarations that return ResolvedType Modifier and Type Method Description default ResolvedTypeResolvedTypeParameterDeclaration. getLowerBound()Get the type used as lower bound.ResolvedTypeResolvedMethodDeclaration. getReturnType()The type of the value returned by the current method.ResolvedTypeResolvedMethodLikeDeclaration. getSpecifiedException(int index)Type of the corresponding entry in the throws clause.ResolvedTypeResolvedTypeParameterDeclaration.Bound. getType()Get the type used in the Bound.ResolvedTypeResolvedValueDeclaration. 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 ResolvedType Modifier and Type Method Description default List<ResolvedType>ResolvedMethodLikeDeclaration. getSpecifiedExceptions()Methods in com.github.javaparser.resolution.declarations with parameters of type ResolvedType Modifier and Type Method Description static ResolvedTypeParameterDeclaration.BoundResolvedTypeParameterDeclaration.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?static ResolvedTypeParameterDeclaration.BoundResolvedTypeParameterDeclaration.Bound. superBound(ResolvedType type)Create a super bound with the given type: -
Uses of ResolvedType in com.github.javaparser.resolution.types
Classes in com.github.javaparser.resolution.types that implement ResolvedType Modifier and Type Class Description classResolvedArrayTypeArray Type.classResolvedIntersectionTypeAn intersection type is defined in java as list of types separates by ampersands.classResolvedLambdaConstraintTypeclassResolvedPrimitiveTypeclassResolvedReferenceTypeA ReferenceType like a class, an interface or an enum.classResolvedTypeVariableFrom 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).classResolvedUnionTypeA union type is defined in java as list of types separates by pipes.classResolvedVoidTypeThe special type void.classResolvedWildcardA 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 ResolvedType Modifier and Type Field Description static ResolvedTypeResolvedVoidType. INSTANCEMethods in com.github.javaparser.resolution.types that return types with arguments of type ResolvedType Modifier and Type Method Description Optional<ResolvedType>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.Optional<ResolvedType>ResolvedReferenceType. getGenericParameterByName(String name)Get the type associated with the type parameter with the given name.List<Pair<ResolvedTypeParameterDeclaration,ResolvedType>>ResolvedReferenceType. getTypeParametersMap()Get the values for all type parameters declared on this type.List<ResolvedType>ResolvedReferenceType. typeParametersValues()Get the values for all type parameters declared on this type.Optional<ResolvedType>ResolvedReferenceType. typeParamValue(ResolvedTypeParameterDeclaration typeParameterDeclaration)Constructors in com.github.javaparser.resolution.types with parameters of type ResolvedType Constructor Description ResolvedArrayType(ResolvedType baseType)Constructor parameters in com.github.javaparser.resolution.types with type arguments of type ResolvedType Constructor Description ResolvedIntersectionType(Collection<ResolvedType> elements)ResolvedReferenceType(ResolvedReferenceTypeDeclaration typeDeclaration, List<ResolvedType> typeArguments)ResolvedUnionType(List<ResolvedType> elements) -
Uses of ResolvedType in com.github.javaparser.resolution.types.parametrization
Methods in com.github.javaparser.resolution.types.parametrization that return ResolvedType Modifier and Type Method Description ResolvedTypeResolvedTypeParametersMap. getValue(ResolvedTypeParameterDeclaration typeParameter)ResolvedTypeResolvedTypeParametersMap. 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 ResolvedType Modifier and Type Method Description Optional<ResolvedType>ResolvedTypeParameterValueProvider. getGenericParameterByName(String name)List<ResolvedType>ResolvedTypeParametersMap. getTypes()Optional<ResolvedType>ResolvedTypeParametersMap. getValueBySignature(String signature)Optional<ResolvedType>ResolvedTypeParameterValueProvider. typeParamValue(ResolvedTypeParameterDeclaration typeParameterDeclaration)Calculate the value for the given type parameter.Methods in com.github.javaparser.resolution.types.parametrization with parameters of type ResolvedType Modifier and Type Method Description ResolvedTypeResolvedTypeParametersMap. replaceAll(ResolvedType type)ResolvedTypeParametersMap.BuilderResolvedTypeParametersMap.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.
-