public class

IntrospectionHelper.MethodTypeAndElement

extends java.lang.Object

 java.lang.Object

↳androidx.appsearch.compiler.IntrospectionHelper.MethodTypeAndElement

Overview

A method's type and element (i.e. declaration).

Note: The parameter and return types may differ between the type and the element. For example,

 
 public class StringSet implements Set {...}
 
 

Here, the type of StringSet.add() is (String) -> boolean and the element points to the generic declaration within Set with a return type of boolean and a single parameter of type T.

Summary

Constructors
publicMethodTypeAndElement(javax.lang.model.type.ExecutableType type, javax.lang.model.element.ExecutableElement element)

Methods
public javax.lang.model.element.ExecutableElementgetElement()

public javax.lang.model.type.ExecutableTypegetType()

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructors

public MethodTypeAndElement(javax.lang.model.type.ExecutableType type, javax.lang.model.element.ExecutableElement element)

Methods

public javax.lang.model.type.ExecutableType getType()

public javax.lang.model.element.ExecutableElement getElement()