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(java.lang.String methodName, java.util.List<ResolvedType> argumentsTypes, Node node)
MethodUsage
Solver. solveMethod(java.lang.String methodName, java.util.List<ResolvedType> argumentsTypes, Context context)
Methods in com.github.javaparser.resolution that return types with arguments of type MethodUsage Modifier and Type Method Description java.util.Optional<MethodUsage>
Context. solveMethodAsUsage(java.lang.String name, java.util.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 java.util.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 java.util.Optional<MethodUsage>
MethodResolutionLogic. findMostApplicableUsage(java.util.List<MethodUsage> methods, java.lang.String name, java.util.List<ResolvedType> argumentsTypes, TypeSolver typeSolver)
static java.util.Optional<MethodUsage>
FunctionalInterfaceLogic. getFunctionalMethod(ResolvedReferenceTypeDeclaration typeDeclaration)
Get the functional method defined by the type, if any.static java.util.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 private static boolean
MethodResolutionLogic. areOverride(MethodUsage winningCandidate, MethodUsage other)
static boolean
MethodResolutionLogic. isApplicable(MethodUsage methodUsage, java.lang.String needleName, java.util.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 MethodUsage Modifier and Type Method Description static java.util.Optional<MethodUsage>
MethodResolutionLogic. findMostApplicableUsage(java.util.List<MethodUsage> methods, java.lang.String name, java.util.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 java.util.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 java.util.Set<MethodUsage>
ResolvedReferenceType. getDeclaredMethods()
Methods declared on this type.
-