Uses of Interface
com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration
Packages that use ResolvedMethodDeclaration
Package
Description
Implementation of model based on JavaParser.
Implementation of model based on Javassist.
Implementation of model based on reflection.
-
Uses of ResolvedMethodDeclaration in com.github.javaparser.ast.body
Methods in com.github.javaparser.ast.body that return ResolvedMethodDeclaration -
Uses of ResolvedMethodDeclaration in com.github.javaparser.ast.expr
Methods in com.github.javaparser.ast.expr that return ResolvedMethodDeclaration -
Uses of ResolvedMethodDeclaration in com.github.javaparser.resolution
Fields in com.github.javaparser.resolution declared as ResolvedMethodDeclarationMethods in com.github.javaparser.resolution that return ResolvedMethodDeclarationMethods in com.github.javaparser.resolution that return types with arguments of type ResolvedMethodDeclarationModifier and TypeMethodDescriptiondefault SymbolReference
<ResolvedMethodDeclaration> Context.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) We find the method declaration which is the best match for the given name and list of typeParametersValues.default SymbolReference
<ResolvedMethodDeclaration> Context.solveMethodInParentContext
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) Constructors in com.github.javaparser.resolution with parameters of type ResolvedMethodDeclarationModifierConstructorDescriptionMethodUsage
(ResolvedMethodDeclaration declaration) MethodUsage
(ResolvedMethodDeclaration declaration, List<ResolvedType> paramTypes, ResolvedType returnType) MethodUsage
(ResolvedMethodDeclaration declaration, List<ResolvedType> paramTypes, ResolvedType returnType, List<ResolvedType> exceptionTypes) private
MethodUsage
(ResolvedMethodDeclaration declaration, List<ResolvedType> paramTypes, ResolvedType returnType, List<ResolvedType> exceptionTypes, ResolvedTypeParametersMap typeParametersMap) -
Uses of ResolvedMethodDeclaration in com.github.javaparser.resolution.declarations
Methods in com.github.javaparser.resolution.declarations that return ResolvedMethodDeclarationModifier and TypeMethodDescriptiondefault ResolvedMethodDeclaration
ResolvedDeclaration.asMethod()
Return this as a MethodDeclaration or throw an UnsupportedOperationException // FIXME: This is never overridden.Methods in com.github.javaparser.resolution.declarations that return types with arguments of type ResolvedMethodDeclarationModifier and TypeMethodDescriptionResolvedReferenceTypeDeclaration.getDeclaredMethods()
Return a list of all the methods declared in this type declaration. -
Uses of ResolvedMethodDeclaration in com.github.javaparser.resolution.logic
Methods in com.github.javaparser.resolution.logic that return types with arguments of type ResolvedMethodDeclarationModifier and TypeMethodDescriptionMethodResolutionLogic.findMostApplicable
(List<ResolvedMethodDeclaration> methods, String name, List<ResolvedType> argumentsTypes, TypeSolver typeSolver) MethodResolutionLogic.findMostApplicable
(List<ResolvedMethodDeclaration> methods, String name, List<ResolvedType> argumentsTypes, TypeSolver typeSolver, boolean wildcardTolerance) MethodResolutionCapability.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) MethodResolutionLogic.solveMethodInType
(ResolvedTypeDeclaration typeDeclaration, String name, List<ResolvedType> argumentsTypes) MethodResolutionLogic.solveMethodInType
(ResolvedTypeDeclaration typeDeclaration, String name, List<ResolvedType> argumentsTypes, boolean staticOnly) Methods in com.github.javaparser.resolution.logic with parameters of type ResolvedMethodDeclarationModifier and TypeMethodDescriptionprivate static ResolvedType
MethodResolutionLogic.getMethodsExplicitAndVariadicParameterType
(ResolvedMethodDeclaration method, int i) private static List
<ResolvedType> MethodResolutionLogic.groupTrailingArgumentsIntoArray
(ResolvedMethodDeclaration methodDeclaration, List<ResolvedType> needleArgumentTypes, ResolvedType expectedVariadicParameterType) static boolean
MethodResolutionLogic.isApplicable
(ResolvedMethodDeclaration method, String name, List<ResolvedType> argumentsTypes, TypeSolver typeSolver) private static boolean
MethodResolutionLogic.isApplicable
(ResolvedMethodDeclaration methodDeclaration, String needleName, List<ResolvedType> needleArgumentTypes, TypeSolver typeSolver, boolean withWildcardTolerance) 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
(ResolvedMethodDeclaration methodA, ResolvedMethodDeclaration methodB, List<ResolvedType> argumentTypes) Method parameters in com.github.javaparser.resolution.logic with type arguments of type ResolvedMethodDeclarationModifier and TypeMethodDescriptionMethodResolutionLogic.findMostApplicable
(List<ResolvedMethodDeclaration> methods, String name, List<ResolvedType> argumentsTypes, TypeSolver typeSolver) MethodResolutionLogic.findMostApplicable
(List<ResolvedMethodDeclaration> methods, String name, List<ResolvedType> argumentsTypes, TypeSolver typeSolver, boolean wildcardTolerance) -
Uses of ResolvedMethodDeclaration in com.github.javaparser.resolution.types
Methods in com.github.javaparser.resolution.types that return types with arguments of type ResolvedMethodDeclarationModifier and TypeMethodDescriptionResolvedReferenceType.getAllMethods()
Get a list of all the methods available on this type.ResolvedReferenceType.getAllMethodsVisibleToInheritors()
-
Uses of ResolvedMethodDeclaration in com.github.javaparser.symbolsolver
Method parameters in com.github.javaparser.symbolsolver with type arguments of type ResolvedMethodDeclarationModifier and TypeMethodDescriptionprivate String
SourceFileInfoExtractor.toString
(SymbolReference<ResolvedMethodDeclaration> methodDeclarationSymbolReference) -
Uses of ResolvedMethodDeclaration in com.github.javaparser.symbolsolver.declarations.common
Fields in com.github.javaparser.symbolsolver.declarations.common declared as ResolvedMethodDeclarationModifier and TypeFieldDescriptionprivate ResolvedMethodDeclaration
MethodDeclarationCommonLogic.methodDeclaration
Constructors in com.github.javaparser.symbolsolver.declarations.common with parameters of type ResolvedMethodDeclarationModifierConstructorDescriptionMethodDeclarationCommonLogic
(ResolvedMethodDeclaration methodDeclaration, TypeSolver typeSolver) -
Uses of ResolvedMethodDeclaration in com.github.javaparser.symbolsolver.javaparsermodel
Methods in com.github.javaparser.symbolsolver.javaparsermodel that return types with arguments of type ResolvedMethodDeclarationModifier and TypeMethodDescriptionJavaParserFacade.solve
(MethodCallExpr methodCallExpr) JavaParserFacade.solve
(MethodCallExpr methodCallExpr, boolean solveLambdas) Given a method call find out to which method declaration it corresponds.JavaParserFacade.solve
(MethodReferenceExpr methodReferenceExpr) JavaParserFacade.solve
(MethodReferenceExpr methodReferenceExpr, boolean solveLambdas) Given a method reference find out to which method declaration it corresponds. -
Uses of ResolvedMethodDeclaration in com.github.javaparser.symbolsolver.javaparsermodel.contexts
Methods in com.github.javaparser.symbolsolver.javaparsermodel.contexts that return types with arguments of type ResolvedMethodDeclarationModifier and TypeMethodDescriptionAbstractMethodLikeDeclarationContext.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) AnnotationDeclarationContext.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) AnonymousClassDeclarationContext.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) CatchClauseContext.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) ClassOrInterfaceDeclarationContext.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) CompilationUnitContext.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) EnumDeclarationContext.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) FieldAccessContext.solveMethod
(String name, List<ResolvedType> parameterTypes, boolean staticOnly) ForEachStatementContext.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) ForStatementContext.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) JavaParserTypeDeclarationAdapter.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) LambdaExprContext.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) MethodCallExprContext.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) MethodReferenceExprContext.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) ObjectCreationContext.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) RecordDeclarationContext.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) StatementContext.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) SwitchEntryContext.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) TryWithResourceContext.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) -
Uses of ResolvedMethodDeclaration in com.github.javaparser.symbolsolver.javaparsermodel.declarations
Classes in com.github.javaparser.symbolsolver.javaparsermodel.declarations that implement ResolvedMethodDeclarationModifier and TypeClassDescriptionstatic class
Needed by ContextHelper An implicitly declared methodpublic static E valueOf(String name)
, which returns the enum constant ofE
with the specified name.static class
Needed by ContextHelper An implicitly declared methodpublic static E[] values()
, which returns an array containing the enum constants ofE
, in the same order as they appear in the body of the declaration of E.class
static class
Methods in com.github.javaparser.symbolsolver.javaparsermodel.declarations that return types with arguments of type ResolvedMethodDeclarationModifier and TypeMethodDescriptionJavaParserAnnotationDeclaration.getDeclaredMethods()
JavaParserAnonymousClassDeclaration.getDeclaredMethods()
JavaParserClassDeclaration.getDeclaredMethods()
JavaParserEnumDeclaration.getDeclaredMethods()
JavaParserInterfaceDeclaration.getDeclaredMethods()
JavaParserRecordDeclaration.getDeclaredMethods()
This method returns both the explicit methods declared in the record and the implicit getter methods for the record parameters.JavaParserTypeParameter.getDeclaredMethods()
JavaParserTypeVariableDeclaration.getDeclaredMethods()
JavaParserAnonymousClassDeclaration.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) JavaParserClassDeclaration.solveMethod
(String name, List<ResolvedType> parameterTypes) JavaParserClassDeclaration.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) JavaParserEnumDeclaration.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) JavaParserInterfaceDeclaration.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) JavaParserRecordDeclaration.solveMethod
(String name, List<ResolvedType> parameterTypes) JavaParserRecordDeclaration.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) JavaParserTypeParameter.solveMethod
(String name, List<ResolvedType> parameterTypes) JavaParserTypeVariableDeclaration.solveMethod
(String name, List<ResolvedType> parameterTypes) -
Uses of ResolvedMethodDeclaration in com.github.javaparser.symbolsolver.javassistmodel
Classes in com.github.javaparser.symbolsolver.javassistmodel that implement ResolvedMethodDeclarationMethods in com.github.javaparser.symbolsolver.javassistmodel that return types with arguments of type ResolvedMethodDeclarationModifier and TypeMethodDescriptionJavassistAnnotationDeclaration.getDeclaredMethods()
JavassistClassDeclaration.getDeclaredMethods()
JavassistEnumDeclaration.getDeclaredMethods()
JavassistInterfaceDeclaration.getDeclaredMethods()
JavassistRecordDeclaration.getDeclaredMethods()
JavassistTypeDeclarationAdapter.getDeclaredMethods()
JavassistClassDeclaration.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) Deprecated.JavassistEnumDeclaration.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) JavassistInterfaceDeclaration.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) Deprecated.(package private) static SymbolReference
<ResolvedMethodDeclaration> JavassistUtils.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly, TypeSolver typeSolver, ResolvedReferenceTypeDeclaration scopeType, javassist.CtClass ctClass) -
Uses of ResolvedMethodDeclaration in com.github.javaparser.symbolsolver.reflectionmodel
Classes in com.github.javaparser.symbolsolver.reflectionmodel that implement ResolvedMethodDeclarationMethods in com.github.javaparser.symbolsolver.reflectionmodel that return types with arguments of type ResolvedMethodDeclarationModifier and TypeMethodDescriptionReflectionAnnotationDeclaration.getDeclaredMethods()
ReflectionClassAdapter.getDeclaredMethods()
ReflectionClassDeclaration.getDeclaredMethods()
ReflectionEnumDeclaration.getDeclaredMethods()
ReflectionInterfaceDeclaration.getDeclaredMethods()
ReflectionRecordDeclaration.getDeclaredMethods()
ReflectionAnnotationDeclaration.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) ReflectionClassDeclaration.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) Deprecated.ReflectionEnumDeclaration.solveMethod
(String name, List<ResolvedType> parameterTypes, boolean staticOnly) ReflectionInterfaceDeclaration.solveMethod
(String name, List<ResolvedType> parameterTypes, boolean staticOnly) Deprecated.(package private) static SymbolReference
<ResolvedMethodDeclaration> ReflectionMethodResolutionLogic.solveMethod
(String name, List<ResolvedType> parameterTypes, boolean staticOnly, TypeSolver typeSolver, ResolvedReferenceTypeDeclaration scopeType, Class clazz) ReflectionRecordDeclaration.solveMethod
(String name, List<ResolvedType> argumentsTypes, boolean staticOnly) Deprecated.Methods in com.github.javaparser.symbolsolver.reflectionmodel with parameters of type ResolvedMethodDeclarationModifier and TypeMethodDescriptionprivate static MethodUsage
ReflectionMethodResolutionLogic.replaceParams
(List<ResolvedType> typeParameterValues, ResolvedReferenceTypeDeclaration typeParametrizable, ResolvedMethodDeclaration methodDeclaration) -
Uses of ResolvedMethodDeclaration in com.github.javaparser.symbolsolver.resolution.typeinference
Methods in com.github.javaparser.symbolsolver.resolution.typeinference with parameters of type ResolvedMethodDeclarationModifier and TypeMethodDescriptionprivate boolean
TypeInference.appearInThrowsClause
(ResolvedTypeParameterDeclaration p, ResolvedMethodDeclaration methodDeclaration) private List
<ResolvedType> TypeInference.formalParameterTypes
(ResolvedMethodDeclaration methodDeclaration) TypeInference.instantiationInference
(MethodCallExpr methodCallExpr, ResolvedMethodDeclaration methodDeclaration) TypeInference.instantiationInference
(List<Expression> argumentExpressions, ResolvedMethodDeclaration methodDeclaration) private static MethodUsage
TypeInference.instantiationSetToMethodUsage
(ResolvedMethodDeclaration methodDeclaration, InstantiationSet instantiationSet) boolean
TypeInference.invocationApplicabilityInference
(MethodCallExpr methodCallExpr, ResolvedMethodDeclaration methodDeclaration) Determine whether a potentially applicable generic method m is applicable for a method invocation that provides no explicit type arguments.boolean
TypeInference.moreSpecificMethodInference
(MethodCallExpr methodCall, ResolvedMethodDeclaration m1, ResolvedMethodDeclaration m2) Return if m2 is more specific than m1static MethodUsage
TypeInference.toMethodUsage
(MethodCallExpr call, ResolvedMethodDeclaration methodDeclaration, TypeSolver typeSolver)