Top Description Fields Constructors Methods
com.google.auto.value.extension.serializable.processor

pack-priv final Class PropertyMirror

extends Object
Class Inheritance
Imports
javax.lang.model.type.TypeMirror

A POJO containing information about an AutoValue's property.

For example, given this AutoValue property: abstract T getX();

  1. The type would be T.
  2. The name would be x.
  3. The method would be getX.

Field Summary

Modifier and TypeField and Description
private final String
private final String
private final javax.lang.model.type.TypeMirror

Constructor Summary

AccessConstructor and Description
pack-priv
PropertyMirror(javax.lang.model.type.TypeMirror type, String name, String method)

Method Summary

Modifier and TypeMethod and Description
pack-priv String
getMethod()

Gets the AutoValue property accessor method.

pack-priv String
getName()

Gets the AutoValue property's name.

pack-priv javax.lang.model.type.TypeMirror
getType()

Gets the AutoValue property's type.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

methodback to summary
private final String method
nameback to summary
private final String name
typeback to summary
private final javax.lang.model.type.TypeMirror type

Constructor Detail

PropertyMirrorback to summary
pack-priv PropertyMirror(javax.lang.model.type.TypeMirror type, String name, String method)

Method Detail

getMethodback to summary
pack-priv String getMethod()

Gets the AutoValue property accessor method.

getNameback to summary
pack-priv String getName()

Gets the AutoValue property's name.

getTypeback to summary
pack-priv javax.lang.model.type.TypeMirror getType()

Gets the AutoValue property's type.