FieldDescriptor
public
final
class
FieldDescriptor
extends Object
java.lang.Object | |
↳ | android.support.test.espresso.remote.FieldDescriptor |
Provides additional meta data about a Field
declared in a class.
The data provided here is used at runtime to reflectively access fields that require proto serialization.
Summary
Fields | |
---|---|
public
final
String |
fieldName
|
public
final
Class<?> |
fieldType
|
public
final
int |
order
|
Public methods | |
---|---|
boolean
|
equals(Object o)
|
int
|
hashCode()
|
static
FieldDescriptor
|
of(Class<?> fieldType, String fieldName, int order)
Creates a |
Inherited methods | |
---|---|
From
class
java.lang.Object
|
Fields
order
int order
Public methods
hashCode
int hashCode ()
Returns | |
---|---|
int |
of
FieldDescriptor of (Class<?> fieldType, String fieldName, int order)
Creates a FieldDescriptor
instance.
Parameters | |
---|---|
fieldType |
Class : the type of the field |
fieldName |
String : the name of the field as declared in the class |
order |
int : the declared order of the field, order values need to start with 0
|
Returns | |
---|---|
FieldDescriptor |
Interfaces
Classes
- ConstructorInvocation
- EspressoRemote
- FieldDescriptor
- GenericRemoteMessage
- InteractionRequest
- InteractionRequest.Builder
- InteractionResponse
- InteractionResponse.Builder
- InteractionResponse.RemoteError
- NoopRemoteInteraction
- ProtoUtils
- RemoteDescriptor
- RemoteDescriptor.Builder
- RemoteDescriptorRegistry
- RemoteInteractionRegistry
- TypeProtoConverters
Enums
Exceptions