Uses of Class
com.github.javaparser.resolution.MethodUsage
-
Packages that use MethodUsage Package Description com.github.javaparser.resolution com.github.javaparser.resolution.declarations com.github.javaparser.resolution.logic com.github.javaparser.resolution.model.typesystem com.github.javaparser.resolution.types com.github.javaparser.symbolsolver.core.resolution com.github.javaparser.symbolsolver.declarations.common com.github.javaparser.symbolsolver.javaparsermodel Implementation of model based on JavaParser.com.github.javaparser.symbolsolver.javaparsermodel.contexts com.github.javaparser.symbolsolver.javaparsermodel.declarations com.github.javaparser.symbolsolver.javassistmodel Implementation of model based on Javassist.com.github.javaparser.symbolsolver.logic com.github.javaparser.symbolsolver.reflectionmodel Implementation of model based on reflection.com.github.javaparser.symbolsolver.resolution com.github.javaparser.symbolsolver.resolution.typeinference -
-
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, java.util.List<ResolvedType> argumentTypes)
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. -
Uses of MethodUsage in com.github.javaparser.symbolsolver.core.resolution
Methods in com.github.javaparser.symbolsolver.core.resolution that return MethodUsage Modifier and Type Method Description MethodUsage
TypeVariableResolutionCapability. resolveTypeVariables(Context context, java.util.List<ResolvedType> parameterTypes)
Methods in com.github.javaparser.symbolsolver.core.resolution that return types with arguments of type MethodUsage Modifier and Type Method Description java.util.Optional<MethodUsage>
MethodUsageResolutionCapability. solveMethodAsUsage(java.lang.String name, java.util.List<ResolvedType> argumentTypes, Context invocationContext, java.util.List<ResolvedType> typeParameters)
-
Uses of MethodUsage in com.github.javaparser.symbolsolver.declarations.common
Methods in com.github.javaparser.symbolsolver.declarations.common that return MethodUsage Modifier and Type Method Description MethodUsage
MethodDeclarationCommonLogic. resolveTypeVariables(Context context, java.util.List<ResolvedType> parameterTypes)
-
Uses of MethodUsage in com.github.javaparser.symbolsolver.javaparsermodel
Methods in com.github.javaparser.symbolsolver.javaparsermodel that return MethodUsage Modifier and Type Method Description MethodUsage
JavaParserFacade. solveMethodAsUsage(MethodCallExpr call)
protected MethodUsage
JavaParserFacade. toMethodUsage(MethodReferenceExpr methodReferenceExpr, java.util.List<ResolvedType> paramTypes)
-
Uses of MethodUsage in com.github.javaparser.symbolsolver.javaparsermodel.contexts
Methods in com.github.javaparser.symbolsolver.javaparsermodel.contexts that return MethodUsage Modifier and Type Method Description private MethodUsage
MethodCallExprContext. replaceTypeParameter(MethodUsage methodUsage, java.util.Map<ResolvedTypeParameterDeclaration,ResolvedType> matchedTypeParameters)
private MethodUsage
MethodCallExprContext. resolveMethodTypeParameters(MethodUsage methodUsage, java.util.List<ResolvedType> actualParamTypes)
private MethodUsage
MethodCallExprContext. resolveMethodTypeParametersFromExplicitList(TypeSolver typeSolver, MethodUsage methodUsage)
Methods in com.github.javaparser.symbolsolver.javaparsermodel.contexts that return types with arguments of type MethodUsage Modifier and Type Method Description java.util.Optional<MethodUsage>
AbstractJavaParserContext. solveMethodAsUsage(java.lang.String name, java.util.List<ResolvedType> argumentsTypes)
Similar to solveMethod but we return a MethodUsage.static java.util.Optional<MethodUsage>
ContextHelper. solveMethodAsUsage(ResolvedTypeDeclaration typeDeclaration, java.lang.String name, java.util.List<ResolvedType> argumentsTypes, Context invokationContext, java.util.List<ResolvedType> typeParameters)
private java.util.Optional<MethodUsage>
MethodCallExprContext. solveMethodAsUsage(ResolvedReferenceType refType, java.lang.String name, java.util.List<ResolvedType> argumentsTypes, Context invokationContext)
private java.util.Optional<MethodUsage>
MethodCallExprContext. solveMethodAsUsage(ResolvedType type, java.lang.String name, java.util.List<ResolvedType> argumentsTypes, Context invokationContext)
private java.util.Optional<MethodUsage>
MethodCallExprContext. solveMethodAsUsage(ResolvedTypeVariable tp, java.lang.String name, java.util.List<ResolvedType> argumentsTypes, Context invokationContext)
java.util.Optional<MethodUsage>
MethodCallExprContext. solveMethodAsUsage(java.lang.String name, java.util.List<ResolvedType> argumentsTypes)
Methods in com.github.javaparser.symbolsolver.javaparsermodel.contexts with parameters of type MethodUsage Modifier and Type Method Description private MethodUsage
MethodCallExprContext. replaceTypeParameter(MethodUsage methodUsage, java.util.Map<ResolvedTypeParameterDeclaration,ResolvedType> matchedTypeParameters)
private MethodUsage
MethodCallExprContext. resolveMethodTypeParameters(MethodUsage methodUsage, java.util.List<ResolvedType> actualParamTypes)
private MethodUsage
MethodCallExprContext. resolveMethodTypeParametersFromExplicitList(TypeSolver typeSolver, MethodUsage methodUsage)
-
Uses of MethodUsage in com.github.javaparser.symbolsolver.javaparsermodel.declarations
Methods in com.github.javaparser.symbolsolver.javaparsermodel.declarations that return MethodUsage Modifier and Type Method Description MethodUsage
JavaParserEnumDeclaration.ValueOfMethod. getUsage(Node node)
MethodUsage
JavaParserEnumDeclaration.ValuesMethod. getUsage(Node node)
MethodUsage
JavaParserMethodDeclaration. getUsage(Node node)
MethodUsage
JavaParserEnumDeclaration.ValueOfMethod. resolveTypeVariables(Context context, java.util.List<ResolvedType> parameterTypes)
MethodUsage
JavaParserEnumDeclaration.ValuesMethod. resolveTypeVariables(Context context, java.util.List<ResolvedType> parameterTypes)
MethodUsage
JavaParserMethodDeclaration. resolveTypeVariables(Context context, java.util.List<ResolvedType> parameterTypes)
MethodUsage
JavaParserRecordDeclaration.ImplicitGetterMethod. resolveTypeVariables(Context context, java.util.List<ResolvedType> parameterTypes)
Methods in com.github.javaparser.symbolsolver.javaparsermodel.declarations that return types with arguments of type MethodUsage Modifier and Type Method Description java.util.Optional<MethodUsage>
JavaParserAnonymousClassDeclaration. solveMethodAsUsage(java.lang.String name, java.util.List<ResolvedType> argumentTypes, Context invocationContext, java.util.List<ResolvedType> typeParameters)
java.util.Optional<MethodUsage>
JavaParserClassDeclaration. solveMethodAsUsage(java.lang.String name, java.util.List<ResolvedType> argumentTypes, Context invocationContext, java.util.List<ResolvedType> typeParameters)
java.util.Optional<MethodUsage>
JavaParserEnumDeclaration. solveMethodAsUsage(java.lang.String name, java.util.List<ResolvedType> argumentTypes, Context invokationContext, java.util.List<ResolvedType> typeParameters)
java.util.Optional<MethodUsage>
JavaParserInterfaceDeclaration. solveMethodAsUsage(java.lang.String name, java.util.List<ResolvedType> argumentTypes, Context invocationContext, java.util.List<ResolvedType> typeParameters)
java.util.Optional<MethodUsage>
JavaParserRecordDeclaration. solveMethodAsUsage(java.lang.String name, java.util.List<ResolvedType> argumentTypes, Context invocationContext, java.util.List<ResolvedType> typeParameters)
-
Uses of MethodUsage in com.github.javaparser.symbolsolver.javassistmodel
Methods in com.github.javaparser.symbolsolver.javassistmodel that return MethodUsage Modifier and Type Method Description MethodUsage
JavassistMethodDeclaration. getUsage(Node node)
MethodUsage
JavassistMethodDeclaration. resolveTypeVariables(Context context, java.util.List<ResolvedType> parameterTypes)
Methods in com.github.javaparser.symbolsolver.javassistmodel that return types with arguments of type MethodUsage Modifier and Type Method Description java.util.Optional<MethodUsage>
JavassistClassDeclaration. solveMethodAsUsage(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, Context invokationContext, java.util.List<ResolvedType> typeParameterValues)
Deprecated.java.util.Optional<MethodUsage>
JavassistEnumDeclaration. solveMethodAsUsage(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, Context invokationContext, java.util.List<ResolvedType> typeParameterValues)
java.util.Optional<MethodUsage>
JavassistInterfaceDeclaration. solveMethodAsUsage(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, Context invokationContext, java.util.List<ResolvedType> typeParameterValues)
Deprecated.java.util.Optional<MethodUsage>
JavassistRecordDeclaration. solveMethodAsUsage(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, Context invokationContext, java.util.List<ResolvedType> typeParameterValues)
Deprecated.(package private) static java.util.Optional<MethodUsage>
JavassistUtils. solveMethodAsUsage(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, TypeSolver typeSolver, Context invokationContext, java.util.List<ResolvedType> typeParameterValues, ResolvedReferenceTypeDeclaration scopeType, javassist.CtClass ctClass)
-
Uses of MethodUsage in com.github.javaparser.symbolsolver.logic
Methods in com.github.javaparser.symbolsolver.logic that return types with arguments of type MethodUsage Modifier and Type Method Description java.util.Set<MethodUsage>
AbstractTypeDeclaration. getAllMethods()
-
Uses of MethodUsage in com.github.javaparser.symbolsolver.reflectionmodel
Methods in com.github.javaparser.symbolsolver.reflectionmodel that return MethodUsage Modifier and Type Method Description private static MethodUsage
ReflectionMethodResolutionLogic. replaceParams(java.util.List<ResolvedType> typeParameterValues, ResolvedReferenceTypeDeclaration typeParametrizable, ResolvedMethodDeclaration methodDeclaration)
MethodUsage
ReflectionMethodDeclaration. resolveTypeVariables(Context context, java.util.List<ResolvedType> parameterTypes)
Methods in com.github.javaparser.symbolsolver.reflectionmodel that return types with arguments of type MethodUsage Modifier and Type Method Description java.util.Optional<MethodUsage>
ReflectionAnnotationDeclaration. solveMethodAsUsage(java.lang.String name, java.util.List<ResolvedType> parameterTypes, Context invokationContext, java.util.List<ResolvedType> typeParameterValues)
java.util.Optional<MethodUsage>
ReflectionClassDeclaration. solveMethodAsUsage(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, Context invokationContext, java.util.List<ResolvedType> typeParameterValues)
java.util.Optional<MethodUsage>
ReflectionEnumDeclaration. solveMethodAsUsage(java.lang.String name, java.util.List<ResolvedType> parameterTypes, Context invokationContext, java.util.List<ResolvedType> typeParameterValues)
java.util.Optional<MethodUsage>
ReflectionInterfaceDeclaration. solveMethodAsUsage(java.lang.String name, java.util.List<ResolvedType> parameterTypes, Context invokationContext, java.util.List<ResolvedType> typeParameterValues)
(package private) static java.util.Optional<MethodUsage>
ReflectionMethodResolutionLogic. solveMethodAsUsage(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, TypeSolver typeSolver, Context invokationContext, java.util.List<ResolvedType> typeParameterValues, ResolvedReferenceTypeDeclaration scopeType, java.lang.Class clazz)
java.util.Optional<MethodUsage>
ReflectionRecordDeclaration. solveMethodAsUsage(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, Context invokationContext, java.util.List<ResolvedType> typeParameterValues)
-
Uses of MethodUsage in com.github.javaparser.symbolsolver.resolution
Methods in com.github.javaparser.symbolsolver.resolution that return MethodUsage Modifier and Type Method Description MethodUsage
SymbolSolver. solveMethod(java.lang.String methodName, java.util.List<ResolvedType> argumentsTypes, Node node)
MethodUsage
SymbolSolver. solveMethod(java.lang.String methodName, java.util.List<ResolvedType> argumentsTypes, Context context)
-
Uses of MethodUsage in com.github.javaparser.symbolsolver.resolution.typeinference
Methods in com.github.javaparser.symbolsolver.resolution.typeinference that return MethodUsage Modifier and Type Method Description private static MethodUsage
TypeInference. instantiationSetToMethodUsage(ResolvedMethodDeclaration methodDeclaration, InstantiationSet instantiationSet)
static MethodUsage
TypeInference. toMethodUsage(MethodCallExpr call, ResolvedMethodDeclaration methodDeclaration, TypeSolver typeSolver)
Methods in com.github.javaparser.symbolsolver.resolution.typeinference with parameters of type MethodUsage Modifier and Type Method Description static MethodType
MethodType. fromMethodUsage(MethodUsage methodUsage)
-