FieldDescriptor
This package is part of the
Android support library which
is no longer maintained.
The support library has been superseded by AndroidX
which is part of Jetpack .
We recommend using the AndroidX libraries in all new projects. You should also consider
migrating existing projects to AndroidX.
To find the AndroidX class that maps to this deprecated class, see the AndroidX
support library class
mappings .
public
final
class
FieldDescriptor
extends Object
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
Inherited methods
From
class
java.lang.Object
Object
clone()
boolean
equals(Object arg0)
void
finalize()
final
Class <?>
getClass()
int
hashCode()
final
void
notify()
final
void
notifyAll()
String
toString()
final
void
wait(long arg0, int arg1)
final
void
wait(long arg0)
final
void
wait()
Fields
fieldType
Class <?> fieldType
Public methods
equals
boolean equals (Object o)
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
Interfaces
Classes
Enums
Exceptions
Content and code samples on this page are subject to the licenses described in the Content License . Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[]]