Uses of Interface
com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration
-
Packages that use ResolvedMethodDeclaration Package Description com.github.javaparser.ast.body com.github.javaparser.ast.expr com.github.javaparser.resolution com.github.javaparser.resolution.declarations com.github.javaparser.resolution.logic com.github.javaparser.resolution.types com.github.javaparser.symbolsolver 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.reflectionmodel Implementation of model based on reflection.com.github.javaparser.symbolsolver.resolution.typeinference -
-
Uses of ResolvedMethodDeclaration in com.github.javaparser.ast.body
Methods in com.github.javaparser.ast.body that return ResolvedMethodDeclaration Modifier and Type Method Description ResolvedMethodDeclarationMethodDeclaration. resolve() -
Uses of ResolvedMethodDeclaration in com.github.javaparser.ast.expr
Methods in com.github.javaparser.ast.expr that return ResolvedMethodDeclaration Modifier and Type Method Description ResolvedMethodDeclarationMethodCallExpr. resolve()Attempts to resolve the declaration corresponding to the invoked method.ResolvedMethodDeclarationMethodReferenceExpr. resolve() -
Uses of ResolvedMethodDeclaration in com.github.javaparser.resolution
Fields in com.github.javaparser.resolution declared as ResolvedMethodDeclaration Modifier and Type Field Description private ResolvedMethodDeclarationMethodUsage. declarationMethods in com.github.javaparser.resolution that return ResolvedMethodDeclaration Modifier and Type Method Description ResolvedMethodDeclarationMethodUsage. getDeclaration()Methods in com.github.javaparser.resolution that return types with arguments of type ResolvedMethodDeclaration Modifier and Type Method Description default SymbolReference<ResolvedMethodDeclaration>Context. solveMethod(java.lang.String name, java.util.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(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)Constructors in com.github.javaparser.resolution with parameters of type ResolvedMethodDeclaration Constructor Description MethodUsage(ResolvedMethodDeclaration declaration)MethodUsage(ResolvedMethodDeclaration declaration, java.util.List<ResolvedType> paramTypes, ResolvedType returnType)MethodUsage(ResolvedMethodDeclaration declaration, java.util.List<ResolvedType> paramTypes, ResolvedType returnType, java.util.List<ResolvedType> exceptionTypes)MethodUsage(ResolvedMethodDeclaration declaration, java.util.List<ResolvedType> paramTypes, ResolvedType returnType, java.util.List<ResolvedType> exceptionTypes, ResolvedTypeParametersMap typeParametersMap) -
Uses of ResolvedMethodDeclaration in com.github.javaparser.resolution.declarations
Methods in com.github.javaparser.resolution.declarations that return ResolvedMethodDeclaration Modifier and Type Method Description default ResolvedMethodDeclarationResolvedDeclaration. 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 ResolvedMethodDeclaration Modifier and Type Method Description java.util.Set<ResolvedMethodDeclaration>ResolvedReferenceTypeDeclaration. 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 ResolvedMethodDeclaration Modifier and Type Method Description static SymbolReference<ResolvedMethodDeclaration>MethodResolutionLogic. findMostApplicable(java.util.List<ResolvedMethodDeclaration> methods, java.lang.String name, java.util.List<ResolvedType> argumentsTypes, TypeSolver typeSolver)static SymbolReference<ResolvedMethodDeclaration>MethodResolutionLogic. findMostApplicable(java.util.List<ResolvedMethodDeclaration> methods, java.lang.String name, java.util.List<ResolvedType> argumentsTypes, TypeSolver typeSolver, boolean wildcardTolerance)SymbolReference<ResolvedMethodDeclaration>MethodResolutionCapability. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)static SymbolReference<ResolvedMethodDeclaration>MethodResolutionLogic. solveMethodInType(ResolvedTypeDeclaration typeDeclaration, java.lang.String name, java.util.List<ResolvedType> argumentsTypes)static SymbolReference<ResolvedMethodDeclaration>MethodResolutionLogic. solveMethodInType(ResolvedTypeDeclaration typeDeclaration, java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)Methods in com.github.javaparser.resolution.logic with parameters of type ResolvedMethodDeclaration Modifier and Type Method Description private static ResolvedTypeMethodResolutionLogic. getMethodsExplicitAndVariadicParameterType(ResolvedMethodDeclaration method, int i)private static java.util.List<ResolvedType>MethodResolutionLogic. groupTrailingArgumentsIntoArray(ResolvedMethodDeclaration methodDeclaration, java.util.List<ResolvedType> needleArgumentTypes, ResolvedType expectedVariadicParameterType)static booleanMethodResolutionLogic. isApplicable(ResolvedMethodDeclaration method, java.lang.String name, java.util.List<ResolvedType> argumentsTypes, TypeSolver typeSolver)private static booleanMethodResolutionLogic. isApplicable(ResolvedMethodDeclaration methodDeclaration, java.lang.String needleName, java.util.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 booleanMethodResolutionLogic. isMoreSpecific(ResolvedMethodDeclaration methodA, ResolvedMethodDeclaration methodB, java.util.List<ResolvedType> argumentTypes)Method parameters in com.github.javaparser.resolution.logic with type arguments of type ResolvedMethodDeclaration Modifier and Type Method Description static SymbolReference<ResolvedMethodDeclaration>MethodResolutionLogic. findMostApplicable(java.util.List<ResolvedMethodDeclaration> methods, java.lang.String name, java.util.List<ResolvedType> argumentsTypes, TypeSolver typeSolver)static SymbolReference<ResolvedMethodDeclaration>MethodResolutionLogic. findMostApplicable(java.util.List<ResolvedMethodDeclaration> methods, java.lang.String name, java.util.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 ResolvedMethodDeclaration Modifier and Type Method Description java.util.List<ResolvedMethodDeclaration>ResolvedReferenceType. getAllMethods()Get a list of all the methods available on this type.java.util.List<ResolvedMethodDeclaration>ResolvedReferenceType. getAllMethodsVisibleToInheritors() -
Uses of ResolvedMethodDeclaration in com.github.javaparser.symbolsolver
Method parameters in com.github.javaparser.symbolsolver with type arguments of type ResolvedMethodDeclaration Modifier and Type Method Description private java.lang.StringSourceFileInfoExtractor. toString(SymbolReference<ResolvedMethodDeclaration> methodDeclarationSymbolReference) -
Uses of ResolvedMethodDeclaration in com.github.javaparser.symbolsolver.declarations.common
Fields in com.github.javaparser.symbolsolver.declarations.common declared as ResolvedMethodDeclaration Modifier and Type Field Description private ResolvedMethodDeclarationMethodDeclarationCommonLogic. methodDeclarationConstructors in com.github.javaparser.symbolsolver.declarations.common with parameters of type ResolvedMethodDeclaration Constructor Description MethodDeclarationCommonLogic(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 ResolvedMethodDeclaration Modifier and Type Method Description SymbolReference<ResolvedMethodDeclaration>JavaParserFacade. solve(MethodCallExpr methodCallExpr)SymbolReference<ResolvedMethodDeclaration>JavaParserFacade. solve(MethodCallExpr methodCallExpr, boolean solveLambdas)Given a method call find out to which method declaration it corresponds.SymbolReference<ResolvedMethodDeclaration>JavaParserFacade. solve(MethodReferenceExpr methodReferenceExpr)SymbolReference<ResolvedMethodDeclaration>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 ResolvedMethodDeclaration Modifier and Type Method Description SymbolReference<ResolvedMethodDeclaration>AbstractMethodLikeDeclarationContext. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>AnnotationDeclarationContext. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>AnonymousClassDeclarationContext. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>CatchClauseContext. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>ClassOrInterfaceDeclarationContext. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>CompilationUnitContext. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>EnumDeclarationContext. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>FieldAccessContext. solveMethod(java.lang.String name, java.util.List<ResolvedType> parameterTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>ForEachStatementContext. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>ForStatementContext. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>JavaParserTypeDeclarationAdapter. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>LambdaExprContext. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>MethodCallExprContext. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>MethodReferenceExprContext. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>ObjectCreationContext. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>RecordDeclarationContext. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>StatementContext. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>SwitchEntryContext. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>TryWithResourceContext. solveMethod(java.lang.String name, java.util.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 ResolvedMethodDeclaration Modifier and Type Class Description static classJavaParserEnumDeclaration.ValueOfMethodNeeded by ContextHelper An implicitly declared methodpublic static E valueOf(String name), which returns the enum constant ofEwith the specified name.static classJavaParserEnumDeclaration.ValuesMethodNeeded 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.classJavaParserMethodDeclarationstatic classJavaParserRecordDeclaration.ImplicitGetterMethodMethods in com.github.javaparser.symbolsolver.javaparsermodel.declarations that return types with arguments of type ResolvedMethodDeclaration Modifier and Type Method Description java.util.Set<ResolvedMethodDeclaration>JavaParserAnnotationDeclaration. getDeclaredMethods()java.util.Set<ResolvedMethodDeclaration>JavaParserAnonymousClassDeclaration. getDeclaredMethods()java.util.Set<ResolvedMethodDeclaration>JavaParserClassDeclaration. getDeclaredMethods()java.util.Set<ResolvedMethodDeclaration>JavaParserEnumDeclaration. getDeclaredMethods()java.util.Set<ResolvedMethodDeclaration>JavaParserInterfaceDeclaration. getDeclaredMethods()java.util.Set<ResolvedMethodDeclaration>JavaParserRecordDeclaration. getDeclaredMethods()This method returns both the explicit methods declared in the record and the implicit getter methods for the record parameters.java.util.Set<ResolvedMethodDeclaration>JavaParserTypeParameter. getDeclaredMethods()java.util.Set<ResolvedMethodDeclaration>JavaParserTypeVariableDeclaration. getDeclaredMethods()SymbolReference<ResolvedMethodDeclaration>JavaParserAnonymousClassDeclaration. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>JavaParserClassDeclaration. solveMethod(java.lang.String name, java.util.List<ResolvedType> parameterTypes)SymbolReference<ResolvedMethodDeclaration>JavaParserClassDeclaration. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>JavaParserEnumDeclaration. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>JavaParserInterfaceDeclaration. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>JavaParserRecordDeclaration. solveMethod(java.lang.String name, java.util.List<ResolvedType> parameterTypes)SymbolReference<ResolvedMethodDeclaration>JavaParserRecordDeclaration. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>JavaParserTypeParameter. solveMethod(java.lang.String name, java.util.List<ResolvedType> parameterTypes)SymbolReference<ResolvedMethodDeclaration>JavaParserTypeVariableDeclaration. solveMethod(java.lang.String name, java.util.List<ResolvedType> parameterTypes) -
Uses of ResolvedMethodDeclaration in com.github.javaparser.symbolsolver.javassistmodel
Classes in com.github.javaparser.symbolsolver.javassistmodel that implement ResolvedMethodDeclaration Modifier and Type Class Description classJavassistMethodDeclarationMethods in com.github.javaparser.symbolsolver.javassistmodel that return types with arguments of type ResolvedMethodDeclaration Modifier and Type Method Description java.util.Set<ResolvedMethodDeclaration>JavassistAnnotationDeclaration. getDeclaredMethods()java.util.Set<ResolvedMethodDeclaration>JavassistClassDeclaration. getDeclaredMethods()java.util.Set<ResolvedMethodDeclaration>JavassistEnumDeclaration. getDeclaredMethods()java.util.Set<ResolvedMethodDeclaration>JavassistInterfaceDeclaration. getDeclaredMethods()java.util.Set<ResolvedMethodDeclaration>JavassistRecordDeclaration. getDeclaredMethods()java.util.Set<ResolvedMethodDeclaration>JavassistTypeDeclarationAdapter. getDeclaredMethods()SymbolReference<ResolvedMethodDeclaration>JavassistClassDeclaration. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)Deprecated.SymbolReference<ResolvedMethodDeclaration>JavassistEnumDeclaration. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>JavassistInterfaceDeclaration. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)Deprecated.(package private) static SymbolReference<ResolvedMethodDeclaration>JavassistUtils. solveMethod(java.lang.String name, java.util.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 ResolvedMethodDeclaration Modifier and Type Class Description classReflectionMethodDeclarationMethods in com.github.javaparser.symbolsolver.reflectionmodel that return types with arguments of type ResolvedMethodDeclaration Modifier and Type Method Description java.util.Set<ResolvedMethodDeclaration>ReflectionAnnotationDeclaration. getDeclaredMethods()java.util.Set<ResolvedMethodDeclaration>ReflectionClassAdapter. getDeclaredMethods()java.util.Set<ResolvedMethodDeclaration>ReflectionClassDeclaration. getDeclaredMethods()java.util.Set<ResolvedMethodDeclaration>ReflectionEnumDeclaration. getDeclaredMethods()java.util.Set<ResolvedMethodDeclaration>ReflectionInterfaceDeclaration. getDeclaredMethods()java.util.Set<ResolvedMethodDeclaration>ReflectionRecordDeclaration. getDeclaredMethods()SymbolReference<ResolvedMethodDeclaration>ReflectionAnnotationDeclaration. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>ReflectionClassDeclaration. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)Deprecated.SymbolReference<ResolvedMethodDeclaration>ReflectionEnumDeclaration. solveMethod(java.lang.String name, java.util.List<ResolvedType> parameterTypes, boolean staticOnly)SymbolReference<ResolvedMethodDeclaration>ReflectionInterfaceDeclaration. solveMethod(java.lang.String name, java.util.List<ResolvedType> parameterTypes, boolean staticOnly)Deprecated.(package private) static SymbolReference<ResolvedMethodDeclaration>ReflectionMethodResolutionLogic. solveMethod(java.lang.String name, java.util.List<ResolvedType> parameterTypes, boolean staticOnly, TypeSolver typeSolver, ResolvedReferenceTypeDeclaration scopeType, java.lang.Class clazz)SymbolReference<ResolvedMethodDeclaration>ReflectionRecordDeclaration. solveMethod(java.lang.String name, java.util.List<ResolvedType> argumentsTypes, boolean staticOnly)Deprecated.Methods in com.github.javaparser.symbolsolver.reflectionmodel with parameters of type ResolvedMethodDeclaration Modifier and Type Method Description private static MethodUsageReflectionMethodResolutionLogic. replaceParams(java.util.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 ResolvedMethodDeclaration Modifier and Type Method Description private booleanTypeInference. appearInThrowsClause(ResolvedTypeParameterDeclaration p, ResolvedMethodDeclaration methodDeclaration)private java.util.List<ResolvedType>TypeInference. formalParameterTypes(ResolvedMethodDeclaration methodDeclaration)java.util.Optional<InstantiationSet>TypeInference. instantiationInference(MethodCallExpr methodCallExpr, ResolvedMethodDeclaration methodDeclaration)java.util.Optional<InstantiationSet>TypeInference. instantiationInference(java.util.List<Expression> argumentExpressions, ResolvedMethodDeclaration methodDeclaration)private static MethodUsageTypeInference. instantiationSetToMethodUsage(ResolvedMethodDeclaration methodDeclaration, InstantiationSet instantiationSet)booleanTypeInference. 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.booleanTypeInference. moreSpecificMethodInference(MethodCallExpr methodCall, ResolvedMethodDeclaration m1, ResolvedMethodDeclaration m2)Return if m2 is more specific than m1static MethodUsageTypeInference. toMethodUsage(MethodCallExpr call, ResolvedMethodDeclaration methodDeclaration, TypeSolver typeSolver)
-