Uses of Class
com.github.javaparser.resolution.MethodUsage
Packages that use MethodUsage
Package
Description
-
Uses of MethodUsage in com.github.javaparser.resolution
Methods in com.github.javaparser.resolution that return MethodUsageModifier and TypeMethodDescriptionMethodUsage.replaceExceptionType
(int i, ResolvedType replaced) MethodUsage.replaceParamType
(int i, ResolvedType replaced) MethodUsage.replaceReturnType
(ResolvedType returnType) MethodUsage.replaceTypeParameter
(ResolvedTypeParameterDeclaration typeParameter, ResolvedType type) Solver.solveMethod
(String methodName, List<ResolvedType> argumentsTypes, Node node) Solver.solveMethod
(String methodName, List<ResolvedType> argumentsTypes, Context context) Methods in com.github.javaparser.resolution that return types with arguments of type MethodUsageModifier and TypeMethodDescriptionContext.solveMethodAsUsage
(String name, List<ResolvedType> argumentsTypes) Similar to solveMethod but we return a MethodUsage.Methods in com.github.javaparser.resolution with parameters of type MethodUsageModifier and TypeMethodDescriptionboolean
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 MethodUsageModifier and TypeMethodDescriptionResolvedReferenceTypeDeclaration.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 MethodUsageModifier and TypeMethodDescriptionstatic 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 MethodUsageModifier and TypeMethodDescriptionprivate static boolean
MethodResolutionLogic.areOverride
(MethodUsage winningCandidate, MethodUsage other) 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.private static boolean
MethodResolutionLogic.isMoreSpecific
(MethodUsage methodA, MethodUsage methodB) private static boolean
FunctionalInterfaceLogic.isPublicMemberOfObject
(MethodUsage m) Method parameters in com.github.javaparser.resolution.logic with type arguments of type MethodUsageModifier and TypeMethodDescriptionstatic 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 -
Uses of MethodUsage in com.github.javaparser.resolution.types
Methods in com.github.javaparser.resolution.types that return types with arguments of type MethodUsageModifier and TypeMethodDescriptionabstract Set
<MethodUsage> ResolvedReferenceType.getDeclaredMethods()
Methods declared on this type.