- castError
- castObject
Attempt to cast an object instance to a new type if possible via BeanShell
extended syntax rules. Th
- getTypes
Get the Java types of the arguments.
- isBshAssignable
Test if a type can be converted to another type via BeanShell extended syntax
rules (a superset of J
- isJavaAssignable
Test if a conversion of the rhsType type to the lhsType type is legal via
standard Java assignment c
- isJavaBaseAssignable
Is the assignment legal via original Java (up to version 1.4) assignment rules,
not including auto-b
- isJavaBoxTypesAssignable
Determine if the type is assignable via Java boxing/unboxing rules.
- isSignatureAssignable
Is the 'from' signature (argument types) assignable to the 'to' signature
(candidate method types) T
- areSignaturesEqual
Are the two signatures exactly equal? This is checked for a special case in
overload resolution.
- arrayDimensions
Find the number of array dimensions for class. By counting the number of [
prefixing the class name.
- arrayElementType
Find array element type for class. Roll back component type until class is not
an array anymore.
- getBaseName
Return the baseName of an inner class. This should live in utilities somewhere.