Class MethodDeclarationCommonLogic


  • public class MethodDeclarationCommonLogic
    extends Object
    Author:
    Federico Tomassetti
    • Constructor Summary

      Constructors 
      Constructor Description
      MethodDeclarationCommonLogic​(com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration methodDeclaration, com.github.javaparser.resolution.TypeSolver typeSolver)  
    • Constructor Detail

      • MethodDeclarationCommonLogic

        public MethodDeclarationCommonLogic​(com.github.javaparser.resolution.declarations.ResolvedMethodDeclaration methodDeclaration,
                                            com.github.javaparser.resolution.TypeSolver typeSolver)
    • Method Detail

      • resolveTypeVariables

        public com.github.javaparser.resolution.MethodUsage resolveTypeVariables​(com.github.javaparser.resolution.Context context,
                                                                                 List<com.github.javaparser.resolution.types.ResolvedType> parameterTypes)
      • typeParamByName

        protected Optional<com.github.javaparser.resolution.types.ResolvedType> typeParamByName​(String name,
                                                                                                com.github.javaparser.resolution.Context context)
      • toType

        protected com.github.javaparser.resolution.types.ResolvedType toType​(com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration typeParameterDeclaration)