public class PrimitiveMemberChecker extends Object
| Constructor and Description |
|---|
PrimitiveMemberChecker() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isPrimitiveArgument(AccessibleObject member,
int i)
Checks if the target argument is primative.
|
public PrimitiveMemberChecker()
public static boolean isPrimitiveArgument(AccessibleObject member, int i) throws ArrayIndexOutOfBoundsException, UnsupportedOperationException
member - target member instance, may be constructor, field, or method.i - parameter index.UnsupportedOperationException - if for some reason the member parameter
is not a Constructor, Method, or Field.ArrayIndexOutOfBoundsException - if 'i' is an inappropriate index for the
given parameters. For example, i should never be anything but zero for a field.Copyright © 2003-2014 Codehaus. All Rights Reserved.