Package dagger.hilt.processor.internal
Class ElementDescriptors
- java.lang.Object
-
- dagger.hilt.processor.internal.ElementDescriptors
-
public final class ElementDescriptors extends java.lang.ObjectUtility class for getting field and method descriptors.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetFieldDescriptor(javax.lang.model.element.VariableElement element)Returns the field descriptor of the givenelement.static java.lang.StringgetMethodDescriptor(javax.lang.model.element.ExecutableElement element)Returns the method descriptor of the givenelement.
-
-
-
Method Detail
-
getFieldDescriptor
public static java.lang.String getFieldDescriptor(javax.lang.model.element.VariableElement element)
Returns the field descriptor of the givenelement.This is useful for matching Kotlin Metadata JVM Signatures with elements from the AST.
For reference, see the JVM specification, section 4.3.2.
-
getMethodDescriptor
public static java.lang.String getMethodDescriptor(javax.lang.model.element.ExecutableElement element)
Returns the method descriptor of the givenelement.This is useful for matching Kotlin Metadata JVM Signatures with elements from the AST.
For reference, see the JVM specification, section 4.3.3.
-
-