Class MethodSignature


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

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static MethodSignature of​(androidx.room.compiler.processing.XExecutableElement executableElement)
      Creates a MethodSignature from an XExecutableElement
      static MethodSignature of​(com.squareup.javapoet.MethodSpec method)
      Creates a MethodSignature from a MethodSpec
      static MethodSignature of​(java.lang.String methodName, com.squareup.javapoet.TypeName... typeNames)
      Creates a MethodSignature from a method name and parameter TypeNames
      java.lang.String toString()
      Returns a string in the format: METHOD_NAME(PARAM_TYPE1,PARAM_TYEP2,...)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • of

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

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

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