CodePackage

  • @CodePackage is an annotation used to indicate the package of code, especially important because package names might be obfuscated during runtime.

  • It provides several predefined constants such as COMMON, DRIVE, FITNESS, GCM, ICING, LOCATION, LOCATION_SHARING, OTA, REMINDERS, and SECURITY to represent common code packages.

  • This annotation helps in identifying the origin of code even after obfuscation, which can be useful for debugging and analysis.

public abstract @interface CodePackage implements Annotation

This is used to indicate which package the code in it. This is necessary because package name may be obfuscated in runtime.

Constant Summary

String COMMON
String DRIVE
String FITNESS
String GCM
String ICING
String LOCATION
String LOCATION_SHARING
String OTA
String REMINDERS
String SECURITY

Inherited Method Summary

Constants

public static final String COMMON

Constant Value: "COMMON"

public static final String DRIVE

Constant Value: "DRIVE"

public static final String FITNESS

Constant Value: "FITNESS"

public static final String GCM

Constant Value: "GCM"

public static final String ICING

Constant Value: "ICING"

public static final String LOCATION

Constant Value: "LOCATION"

public static final String LOCATION_SHARING

Constant Value: "LOCATION_SHARING"

public static final String OTA

Constant Value: "OTA"

public static final String REMINDERS

Constant Value: "REMINDERS"

public static final String SECURITY

Constant Value: "SECURITY"