Class MethodSignature

java.lang.Object
dagger.hilt.processor.internal.MethodSignature

public abstract class MethodSignature extends Object
Represents the method signature needed to uniquely identify a method.
  • Method Details

    • of

      public static MethodSignature of(String methodName, com.squareup.javapoet.TypeName... typeNames)
      Creates a MethodSignature from a method name and parameter
      invalid @link
      TypeNames
    • of

      public static MethodSignature of(com.squareup.javapoet.MethodSpec method)
      Creates a MethodSignature from a MethodSpec
    • of

      public static MethodSignature of(androidx.room.compiler.processing.XExecutableElement executableElement)
      Creates a MethodSignature from an XExecutableElement
    • toString

      public final String toString()
      Returns a string in the format: METHOD_NAME(PARAM_TYPE1,PARAM_TYEP2,...)
      Overrides:
      toString in class Object