class Introspector extends Object
Constructor and Description |
---|
Introspector() |
Modifier and Type | Method and Description |
---|---|
static String |
extractClassName(String fullName) |
static String |
getFieldString(Field f,
boolean showModifier,
boolean showPackage)
Print the modifiers, type, and name of a field.
|
static String |
getModifierString(int m)
Return a string version of modifiers, handling spaces nicely.
|
static String |
getTypename(Class t,
boolean showPackage)
Return the name of an interface or primitive type, handling arrays.
|
static boolean |
isHidden(Field f) |
static boolean |
isString(Class clazz) |
static boolean |
isWrapper(Class clazz) |
public static boolean isHidden(Field f)
public static boolean isString(Class clazz)
public static boolean isWrapper(Class clazz)
public static String getTypename(Class t, boolean showPackage)
public static String getModifierString(int m)
public static String getFieldString(Field f, boolean showModifier, boolean showPackage)
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.