Class MethodDeclarationCommonLogic

java.lang.Object
com.github.javaparser.symbolsolver.declarations.common.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)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.github.javaparser.resolution.MethodUsage
    resolveTypeVariables(com.github.javaparser.resolution.Context context, List<com.github.javaparser.resolution.types.ResolvedType> parameterTypes)
     
    protected com.github.javaparser.resolution.types.ResolvedType
    toType(com.github.javaparser.resolution.declarations.ResolvedTypeParameterDeclaration typeParameterDeclaration)
     
    protected Optional<com.github.javaparser.resolution.types.ResolvedType>
    typeParamByName(String name, com.github.javaparser.resolution.Context context)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MethodDeclarationCommonLogic

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

    • 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)