Package dagger.hilt.processor.internal
Class MethodSignature
- java.lang.Object
-
- dagger.hilt.processor.internal.MethodSignature
-
public abstract class MethodSignature extends java.lang.ObjectRepresents 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 MethodSignatureof(androidx.room.compiler.processing.XExecutableElement executableElement)Creates aMethodSignaturefrom anXExecutableElementstatic MethodSignatureof(com.squareup.javapoet.MethodSpec method)Creates aMethodSignaturefrom aMethodSpecstatic MethodSignatureof(java.lang.String methodName, com.squareup.javapoet.TypeName... typeNames)Creates aMethodSignaturefrom a method name and parameterTypeNamesjava.lang.StringtoString()Returns a string in the format: METHOD_NAME(PARAM_TYPE1,PARAM_TYEP2,...)
-
-
-
Method Detail
-
of
public static MethodSignature of(java.lang.String methodName, com.squareup.javapoet.TypeName... typeNames)
Creates aMethodSignaturefrom a method name and parameterTypeNames
-
of
public static MethodSignature of(com.squareup.javapoet.MethodSpec method)
Creates aMethodSignaturefrom aMethodSpec
-
of
public static MethodSignature of(androidx.room.compiler.processing.XExecutableElement executableElement)
Creates aMethodSignaturefrom anXExecutableElement
-
toString
public final java.lang.String toString()
Returns a string in the format: METHOD_NAME(PARAM_TYPE1,PARAM_TYEP2,...)- Overrides:
toStringin classjava.lang.Object
-
-