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 MethodUsageMethodUsage. replaceExceptionType(int i, ResolvedType replaced)MethodUsageMethodUsage. replaceParamType(int i, ResolvedType replaced)MethodUsageMethodUsage. replaceReturnType(ResolvedType returnType)MethodUsageMethodUsage. replaceTypeParameter(ResolvedTypeParameterDeclaration typeParameter, ResolvedType type)MethodUsageSolver. solveMethod(String methodName, List<ResolvedType> argumentsTypes, Node node)MethodUsageSolver. 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 booleanMethodUsage. isReturnTypeSubstituable(MethodUsage otherMethodUsage)booleanMethodUsage. isSameSignature(MethodUsage otherMethodUsage)booleanMethodUsage. 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 booleanMethodResolutionLogic. 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.
-