public final class Categories extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEPRECATION
Category for warnings due to usage of deprecate API.
|
static String |
PROPRIETARY_API
Category for warnings due to the usage of proprietary API.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
guessCategory(String message)
Classifies the warning message: tries to guess a category from the warning message.
|
static String |
guessCategoryIfEmpty(String category,
String message)
Returns a category for the current warning.
|
public static final String DEPRECATION
public static final String PROPRIETARY_API
public static String guessCategory(@CheckForNull String message)
message - the message to checkpublic static String guessCategoryIfEmpty(@CheckForNull String category, @CheckForNull String message)
category - the warning category (might be empty)message - the warning messageCopyright © 2018. All rights reserved.