Top Fields Constructors Methods
com.google.protobuf

pack-priv final Class Android

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private static final boolean
private static final Class<?>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static <T> Class<T>
pack-priv static Class<?>
getMemoryClass()

Returns the memory class or null if not on Android device.

pack-priv static boolean
isOnAndroidDevice()

Returns true if running on an Android device.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

IS_ROBOLECTRICback to summary
private static final boolean IS_ROBOLECTRIC
MEMORY_CLASSback to summary
private static final Class<?> MEMORY_CLASS

Constructor Detail

Androidback to summary
pack-priv Android()

Method Detail

getClassForNameback to summary
private static <T> Class<T> getClassForName(String name)
Annotations
@SuppressWarnings:unchecked
getMemoryClassback to summary
pack-priv static Class<?> getMemoryClass()

Returns the memory class or null if not on Android device.

isOnAndroidDeviceback to summary
pack-priv static boolean isOnAndroidDevice()

Returns true if running on an Android device.