Uses of Interface
com.github.javaparser.resolution.types.ResolvedType
-
-
Uses of ResolvedType in com.github.javaparser.ast.expr
Methods in com.github.javaparser.ast.expr that return ResolvedType Modifier and Type Method Description ResolvedType
Expression. 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 ResolvedType
Type. resolve()
ResolvedType
UnknownType. resolve()
ResolvedType
VarType. resolve()
-
Uses of ResolvedType in com.github.javaparser.resolution
Methods in com.github.javaparser.resolution that return ResolvedType Modifier and Type Method Description ResolvedType
SymbolResolver. calculateType(Expression expression)
ResolvedType
MethodUsage. getParamType(int i)
Return the type of the formal argument at the given position.ResolvedType
MethodUsage. 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 MethodUsage
MethodUsage. replaceExceptionType(int i, ResolvedType replaced)
MethodUsage
MethodUsage. replaceParamType(int i, ResolvedType replaced)
MethodUsage
MethodUsage. replaceReturnType(ResolvedType returnType)
MethodUsage
MethodUsage. 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 ResolvedType
ResolvedTypeParameterDeclaration. getLowerBound()
Get the type used as lower bound.ResolvedType
ResolvedMethodDeclaration. getReturnType()
The type of the value returned by the current method.ResolvedType
ResolvedMethodLikeDeclaration. getSpecifiedException(int index)
Type of the corresponding entry in the throws clause.ResolvedType
ResolvedTypeParameterDeclaration.Bound. getType()
Get the type used in the Bound.ResolvedType
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 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.Bound
ResolvedTypeParameterDeclaration.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?static ResolvedTypeParameterDeclaration.Bound
ResolvedTypeParameterDeclaration.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 class
ResolvedArrayType
Array Type.class
ResolvedIntersectionType
An intersection type is defined in java as list of types separates by ampersands.class
ResolvedLambdaConstraintType
class
ResolvedPrimitiveType
class
ResolvedReferenceType
A ReferenceType like a class, an interface or an enum.class
ResolvedTypeVariable
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
ResolvedUnionType
A union type is defined in java as list of types separates by pipes.class
ResolvedVoidType
The special type void.class
ResolvedWildcard
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 ResolvedType Modifier and Type Field Description static ResolvedType
ResolvedVoidType. INSTANCE
Methods 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 ResolvedType
ResolvedTypeParametersMap. getValue(ResolvedTypeParameterDeclaration typeParameter)
ResolvedType
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 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 ResolvedType
ResolvedTypeParametersMap. replaceAll(ResolvedType type)
ResolvedTypeParametersMap.Builder
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.
-