Uses of Class
com.github.javaparser.resolution.MethodUsage
Packages that use MethodUsage
Package
Description
Implementation of model based on JavaParser.
Implementation of model based on Javassist.
Implementation of model based on reflection.
-
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 TypeMethodDescriptionbooleanMethodUsage.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 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 TypeMethodDescriptionstatic 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 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. -
Uses of MethodUsage in com.github.javaparser.symbolsolver.core.resolution
Methods in com.github.javaparser.symbolsolver.core.resolution that return MethodUsageModifier and TypeMethodDescriptionTypeVariableResolutionCapability.resolveTypeVariables(Context context, List<ResolvedType> parameterTypes) Methods in com.github.javaparser.symbolsolver.core.resolution that return types with arguments of type MethodUsageModifier and TypeMethodDescriptionMethodUsageResolutionCapability.solveMethodAsUsage(String name, List<ResolvedType> argumentTypes, Context invocationContext, List<ResolvedType> typeParameters) -
Uses of MethodUsage in com.github.javaparser.symbolsolver.declarations.common
Methods in com.github.javaparser.symbolsolver.declarations.common that return MethodUsageModifier and TypeMethodDescriptionMethodDeclarationCommonLogic.resolveTypeVariables(Context context, List<ResolvedType> parameterTypes) -
Uses of MethodUsage in com.github.javaparser.symbolsolver.javaparsermodel
Methods in com.github.javaparser.symbolsolver.javaparsermodel that return MethodUsageModifier and TypeMethodDescriptionJavaParserFacade.solveMethodAsUsage(MethodCallExpr call) protected MethodUsageJavaParserFacade.toMethodUsage(MethodReferenceExpr methodReferenceExpr, List<ResolvedType> paramTypes) -
Uses of MethodUsage in com.github.javaparser.symbolsolver.javaparsermodel.contexts
Methods in com.github.javaparser.symbolsolver.javaparsermodel.contexts that return types with arguments of type MethodUsageModifier and TypeMethodDescriptionAbstractJavaParserContext.solveMethodAsUsage(String name, List<ResolvedType> argumentsTypes) Similar to solveMethod but we return a MethodUsage.static Optional<MethodUsage> ContextHelper.solveMethodAsUsage(ResolvedTypeDeclaration typeDeclaration, String name, List<ResolvedType> argumentsTypes, Context invokationContext, List<ResolvedType> typeParameters) MethodCallExprContext.solveMethodAsUsage(String name, List<ResolvedType> argumentsTypes) -
Uses of MethodUsage in com.github.javaparser.symbolsolver.javaparsermodel.declarations
Methods in com.github.javaparser.symbolsolver.javaparsermodel.declarations that return MethodUsageModifier and TypeMethodDescriptionJavaParserEnumDeclaration.ValueOfMethod.resolveTypeVariables(Context context, List<ResolvedType> parameterTypes) JavaParserEnumDeclaration.ValuesMethod.resolveTypeVariables(Context context, List<ResolvedType> parameterTypes) JavaParserMethodDeclaration.resolveTypeVariables(Context context, List<ResolvedType> parameterTypes) JavaParserRecordDeclaration.ImplicitGetterMethod.resolveTypeVariables(Context context, List<ResolvedType> parameterTypes) Methods in com.github.javaparser.symbolsolver.javaparsermodel.declarations that return types with arguments of type MethodUsageModifier and TypeMethodDescriptionJavaParserAnonymousClassDeclaration.solveMethodAsUsage(String name, List<ResolvedType> argumentTypes, Context invocationContext, List<ResolvedType> typeParameters) JavaParserClassDeclaration.solveMethodAsUsage(String name, List<ResolvedType> argumentTypes, Context invocationContext, List<ResolvedType> typeParameters) JavaParserEnumDeclaration.solveMethodAsUsage(String name, List<ResolvedType> argumentTypes, Context invokationContext, List<ResolvedType> typeParameters) JavaParserInterfaceDeclaration.solveMethodAsUsage(String name, List<ResolvedType> argumentTypes, Context invocationContext, List<ResolvedType> typeParameters) JavaParserRecordDeclaration.solveMethodAsUsage(String name, List<ResolvedType> argumentTypes, Context invocationContext, List<ResolvedType> typeParameters) -
Uses of MethodUsage in com.github.javaparser.symbolsolver.javassistmodel
Methods in com.github.javaparser.symbolsolver.javassistmodel that return MethodUsageModifier and TypeMethodDescriptionJavassistMethodDeclaration.resolveTypeVariables(Context context, List<ResolvedType> parameterTypes) Methods in com.github.javaparser.symbolsolver.javassistmodel that return types with arguments of type MethodUsageModifier and TypeMethodDescriptionJavassistClassDeclaration.solveMethodAsUsage(String name, List<ResolvedType> argumentsTypes, Context invokationContext, List<ResolvedType> typeParameterValues) Deprecated.JavassistEnumDeclaration.solveMethodAsUsage(String name, List<ResolvedType> argumentsTypes, Context invokationContext, List<ResolvedType> typeParameterValues) JavassistInterfaceDeclaration.solveMethodAsUsage(String name, List<ResolvedType> argumentsTypes, Context invokationContext, List<ResolvedType> typeParameterValues) Deprecated.JavassistRecordDeclaration.solveMethodAsUsage(String name, List<ResolvedType> argumentsTypes, Context invokationContext, List<ResolvedType> typeParameterValues) Deprecated. -
Uses of MethodUsage in com.github.javaparser.symbolsolver.logic
Methods in com.github.javaparser.symbolsolver.logic that return types with arguments of type MethodUsage -
Uses of MethodUsage in com.github.javaparser.symbolsolver.reflectionmodel
Methods in com.github.javaparser.symbolsolver.reflectionmodel that return MethodUsageModifier and TypeMethodDescriptionReflectionMethodDeclaration.resolveTypeVariables(Context context, List<ResolvedType> parameterTypes) Methods in com.github.javaparser.symbolsolver.reflectionmodel that return types with arguments of type MethodUsageModifier and TypeMethodDescriptionReflectionAnnotationDeclaration.solveMethodAsUsage(String name, List<ResolvedType> parameterTypes, Context invokationContext, List<ResolvedType> typeParameterValues) ReflectionClassDeclaration.solveMethodAsUsage(String name, List<ResolvedType> argumentsTypes, Context invokationContext, List<ResolvedType> typeParameterValues) ReflectionEnumDeclaration.solveMethodAsUsage(String name, List<ResolvedType> parameterTypes, Context invokationContext, List<ResolvedType> typeParameterValues) ReflectionInterfaceDeclaration.solveMethodAsUsage(String name, List<ResolvedType> parameterTypes, Context invokationContext, List<ResolvedType> typeParameterValues) ReflectionRecordDeclaration.solveMethodAsUsage(String name, List<ResolvedType> argumentsTypes, Context invokationContext, List<ResolvedType> typeParameterValues) -
Uses of MethodUsage in com.github.javaparser.symbolsolver.resolution
Methods in com.github.javaparser.symbolsolver.resolution that return MethodUsageModifier and TypeMethodDescriptionSymbolSolver.solveMethod(String methodName, List<ResolvedType> argumentsTypes, Node node) SymbolSolver.solveMethod(String methodName, 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 MethodUsageModifier and TypeMethodDescriptionstatic MethodUsageTypeInference.toMethodUsage(MethodCallExpr call, ResolvedMethodDeclaration methodDeclaration, TypeSolver typeSolver) Public static methodsMethods in com.github.javaparser.symbolsolver.resolution.typeinference with parameters of type MethodUsageModifier and TypeMethodDescriptionstatic MethodTypeMethodType.fromMethodUsage(MethodUsage methodUsage)