Class MethodDeclarationCommonLogic


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

      • MethodDeclarationCommonLogic

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

      • resolveTypeVariables

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

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

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