435 |
* that implements interfaceName |
* that implements interfaceName |
436 |
* @exception NullPointerException if object is null |
* @exception NullPointerException if object is null |
437 |
*/ |
*/ |
438 |
public static Class verifyAttributeCategory(Object object, |
public static Class<?> verifyAttributeCategory(Object object, |
439 |
Class interfaceName) |
Class<?> interfaceName) |
440 |
{ |
{ |
441 |
if (object == null) |
if (object == null) |
442 |
throw new NullPointerException("object may not be null"); |
throw new NullPointerException("object may not be null"); |
461 |
* @exception NullPointerException if object is null |
* @exception NullPointerException if object is null |
462 |
*/ |
*/ |
463 |
public static Attribute verifyAttributeValue(Object object, |
public static Attribute verifyAttributeValue(Object object, |
464 |
Class interfaceName) |
Class<?> interfaceName) |
465 |
{ |
{ |
466 |
if (object == null) |
if (object == null) |
467 |
throw new NullPointerException("object may not be null"); |
throw new NullPointerException("object may not be null"); |
482 |
* @exception IllegalArgumentException if the categories are not equal |
* @exception IllegalArgumentException if the categories are not equal |
483 |
* @exception NullPointerException if category is null |
* @exception NullPointerException if category is null |
484 |
*/ |
*/ |
485 |
public static void verifyCategoryForValue(Class category, |
public static void verifyCategoryForValue(Class<?> category, |
486 |
Attribute attribute) |
Attribute attribute) |
487 |
{ |
{ |
488 |
if (category == null || attribute == null) |
if (category == null || attribute == null) |