public class Utils
extends java.lang.Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getConstantName(java.lang.Object value,
java.lang.Class c)
Gets user-friendly name of the public static final constant defined in a class or an
interface for display purpose.
|
public static java.lang.String getConstantName(java.lang.Object value,
java.lang.Class c)
value - the constant valuec - type of class or interface