Uses of Class
com.github.javaparser.resolution.MethodUsage
-
-
Uses of MethodUsage in com.github.javaparser.resolution
Methods in com.github.javaparser.resolution that return MethodUsage 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)
MethodUsage
Solver. solveMethod(String methodName, List<ResolvedType> argumentsTypes, Node node)
MethodUsage
Solver. solveMethod(String methodName, List<ResolvedType> argumentsTypes, Context context)
Methods in com.github.javaparser.resolution that return types with arguments of type MethodUsage Modifier and Type Method Description Optional<MethodUsage>
Context. solveMethodAsUsage(String name, List<ResolvedType> argumentsTypes)
Similar to solveMethod but we return a MethodUsage.Methods in com.github.javaparser.resolution with parameters of type MethodUsage Modifier and Type Method Description boolean
MethodUsage. isReturnTypeSubstituable(MethodUsage otherMethodUsage)
boolean
MethodUsage. isSameSignature(MethodUsage otherMethodUsage)
boolean
MethodUsage. isSubSignature(MethodUsage otherMethodUsage)
-
Uses of MethodUsage in com.github.javaparser.resolution.declarations
Methods in com.github.javaparser.resolution.declarations that return types with arguments of type MethodUsage Modifier and Type Method Description Set<MethodUsage>
ResolvedReferenceTypeDeclaration. getAllMethods()
Return a list of all the methods declared of this type declaration, either declared or inherited. -
Uses of MethodUsage in com.github.javaparser.resolution.logic
Methods in com.github.javaparser.resolution.logic that return types with arguments of type MethodUsage Modifier and Type Method Description static Optional<MethodUsage>
MethodResolutionLogic. findMostApplicableUsage(List<MethodUsage> methods, String name, List<ResolvedType> argumentsTypes, TypeSolver typeSolver)
static Optional<MethodUsage>
FunctionalInterfaceLogic. getFunctionalMethod(ResolvedReferenceTypeDeclaration typeDeclaration)
Get the functional method defined by the type, if any.static Optional<MethodUsage>
FunctionalInterfaceLogic. getFunctionalMethod(ResolvedType type)
Get the functional method defined by the type, if any.Methods in com.github.javaparser.resolution.logic with parameters of type MethodUsage Modifier and Type Method Description 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.Method parameters in com.github.javaparser.resolution.logic with type arguments of type MethodUsage Modifier and Type Method Description static Optional<MethodUsage>
MethodResolutionLogic. findMostApplicableUsage(List<MethodUsage> methods, String name, List<ResolvedType> argumentsTypes, TypeSolver typeSolver)
-
Uses of MethodUsage in com.github.javaparser.resolution.model.typesystem
Methods in com.github.javaparser.resolution.model.typesystem that return types with arguments of type MethodUsage Modifier and Type Method Description Set<MethodUsage>
ReferenceTypeImpl. getDeclaredMethods()
-
Uses of MethodUsage in com.github.javaparser.resolution.types
Methods in com.github.javaparser.resolution.types that return types with arguments of type MethodUsage Modifier and Type Method Description abstract Set<MethodUsage>
ResolvedReferenceType. getDeclaredMethods()
Methods declared on this type.
-