|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.progeeks.util.InspectionUtils
public class InspectionUtils
Utility methods for reflective operations.
Constructor Summary | |
---|---|
InspectionUtils()
|
Method Summary | |
---|---|
static boolean |
areTypesCompatible(java.lang.Class[] targets,
java.lang.Class[] sources)
Returns true if all classes in the sources list are assignment compatible with the targets list. |
static java.lang.Class |
translateFromPrimitive(java.lang.Class primitive)
If this specified class represents a primitive type (int, float, etc.) then it is translated into its wrapper type (Integer, Float, etc.). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InspectionUtils()
Method Detail |
---|
public static boolean areTypesCompatible(java.lang.Class[] targets, java.lang.Class[] sources)
public static java.lang.Class translateFromPrimitive(java.lang.Class primitive)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |