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
Fields in com.github.javaparser.resolution declared as ResolvedType Modifier and Type Field Description private ResolvedTypeMethodUsage. returnTypeFields in com.github.javaparser.resolution with type parameters of type ResolvedType Modifier and Type Field Description private java.util.List<ResolvedType>MethodUsage. exceptionTypesprivate java.util.List<ResolvedType>MethodUsage. paramTypesMethods 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 java.util.List<ResolvedType>MethodUsage. exceptionTypes()java.util.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, java.util.List<ResolvedType> paramTypes, ResolvedType returnType)MethodUsage(ResolvedMethodDeclaration declaration, java.util.List<ResolvedType> paramTypes, ResolvedType returnType, java.util.List<ResolvedType> exceptionTypes)MethodUsage(ResolvedMethodDeclaration declaration, java.util.List<ResolvedType> paramTypes, ResolvedType returnType, java.util.List<ResolvedType> exceptionTypes, ResolvedTypeParametersMap typeParametersMap)Constructor parameters in com.github.javaparser.resolution with type arguments of type ResolvedType Constructor Description MethodUsage(ResolvedMethodDeclaration declaration, java.util.List<ResolvedType> paramTypes, ResolvedType returnType)MethodUsage(ResolvedMethodDeclaration declaration, java.util.List<ResolvedType> paramTypes, ResolvedType returnType, java.util.List<ResolvedType> exceptionTypes)MethodUsage(ResolvedMethodDeclaration declaration, java.util.List<ResolvedType> paramTypes, ResolvedType returnType, java.util.List<ResolvedType> exceptionTypes, ResolvedTypeParametersMap typeParametersMap) -
Uses of ResolvedType in com.github.javaparser.resolution.declarations
Fields in com.github.javaparser.resolution.declarations declared as ResolvedType Modifier and Type Field Description private ResolvedTypeResolvedTypeParameterDeclaration.Bound. typeMethods 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 java.util.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:Constructors in com.github.javaparser.resolution.declarations with parameters of type ResolvedType Constructor Description Bound(boolean extendsBound, ResolvedType 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 private ResolvedTypeResolvedArrayType. baseTypeprivate ResolvedTypeResolvedLambdaConstraintType. boundprivate ResolvedTypeResolvedWildcard. boundedTypestatic ResolvedTypeResolvedVoidType. INSTANCEFields in com.github.javaparser.resolution.types with type parameters of type ResolvedType Modifier and Type Field Description private java.util.List<ResolvedType>ResolvedIntersectionType. elementsprivate java.util.List<ResolvedType>ResolvedUnionType. elementsMethods in com.github.javaparser.resolution.types that return types with arguments of type ResolvedType Modifier and Type Method Description private static java.util.List<ResolvedType>ResolvedReferenceType. deriveParams(ResolvedReferenceTypeDeclaration typeDeclaration)java.util.Optional<ResolvedType>ResolvedReferenceType. getFieldType(java.lang.String name)The type of the field could be different from the one in the corresponding FieldDeclaration because type variables would be solved.java.util.Optional<ResolvedType>ResolvedReferenceType. getGenericParameterByName(java.lang.String name)Get the type associated with the type parameter with the given name.java.util.List<Pair<ResolvedTypeParameterDeclaration,ResolvedType>>ResolvedReferenceType. getTypeParametersMap()Get the values for all type parameters declared on this type.java.util.List<ResolvedType>ResolvedReferenceType. typeParametersValues()Get the values for all type parameters declared on this type.java.util.Optional<ResolvedType>ResolvedReferenceType. typeParamValue(ResolvedTypeParameterDeclaration typeParameterDeclaration)Methods in com.github.javaparser.resolution.types with parameters of type ResolvedType Modifier and Type Method Description static ResolvedLambdaConstraintTypeResolvedLambdaConstraintType. bound(ResolvedType bound)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)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)This is like (replaceTypeVariables(ResolvedTypeParameterDeclaration, ResolvedType, Map)but ignores the inferred values.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)static ResolvedWildcardResolvedWildcard. superBound(ResolvedType type)ResolvedTypeResolvedTypeTransformer. transform(ResolvedType type)Constructors in com.github.javaparser.resolution.types with parameters of type ResolvedType Constructor Description ResolvedArrayType(ResolvedType baseType)ResolvedLambdaConstraintType(ResolvedType bound)ResolvedWildcard(ResolvedWildcard.BoundType type, ResolvedType boundedType)Constructor parameters in com.github.javaparser.resolution.types with type arguments of type ResolvedType Constructor Description ResolvedIntersectionType(java.util.Collection<ResolvedType> elements)ResolvedReferenceType(ResolvedReferenceTypeDeclaration typeDeclaration, java.util.List<ResolvedType> typeArguments)ResolvedUnionType(java.util.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 ResolvedType Modifier and Type Field Description private java.util.Map<java.lang.String,ResolvedType>ResolvedTypeParametersMap.Builder. nameToValueprivate java.util.Map<java.lang.String,ResolvedType>ResolvedTypeParametersMap. nameToValueMethods 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 java.util.Optional<ResolvedType>ResolvedTypeParameterValueProvider. getGenericParameterByName(java.lang.String name)java.util.List<ResolvedType>ResolvedTypeParametersMap. getTypes()java.util.Optional<ResolvedType>ResolvedTypeParametersMap. getValueBySignature(java.lang.String signature)java.util.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.Constructor parameters in com.github.javaparser.resolution.types.parametrization with type arguments of type ResolvedType Constructor Description Builder(java.util.Map<java.lang.String,ResolvedType> nameToValue, java.util.Map<java.lang.String,ResolvedTypeParameterDeclaration> nameToDeclaration)ResolvedTypeParametersMap(java.util.Map<java.lang.String,ResolvedType> nameToValue, java.util.Map<java.lang.String,ResolvedTypeParameterDeclaration> nameToDeclaration)
-