Java org.apache.commons.beanutils MethodUtils fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.beanutils MethodUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.beanutils MethodUtils.

The text is from its open source code.

Method

MethodgetAccessibleMethod(Class clazz, String methodName, Class parameterType)

Return an accessible method (that is, one that can be invoked via reflection) with given name and a single parameter.

MethodgetAccessibleMethod(Class clazz, String methodName, Class[] parameterTypes)

Return an accessible method (that is, one that can be invoked via reflection) with given name and parameters.

MethodgetAccessibleMethod(Method method)

Return an accessible method (that is, one that can be invoked via reflection) that implements the specified Method.

MethodgetMatchingAccessibleMethod(Class clazz, String methodName, Class[] parameterTypes)

Find an accessible method that matches the given name and has compatible parameters.

ClassgetPrimitiveType(Class wrapperType)
Gets the class for the primitive type corresponding to the primitive wrapper class given.
ClassgetPrimitiveWrapper(Class primitiveType)
Gets the wrapper object class for the given primitive type class.
ObjectinvokeExactMethod(Object object, String methodName, Object arg)

Invoke a method whose parameter type matches exactly the object type.

This is a convenient wrapper for #invokeExactMethod(Object object,String methodName,Object[] args) .

ObjectinvokeExactMethod(Object object, String methodName, Object[] args)

Invoke a method whose parameter types match exactly the object types.

This uses reflection to invoke the method obtained from a call to #getAccessibleMethod .

ObjectinvokeExactMethod(Object object, String methodName, Object[] args, Class[] parameterTypes)

Invoke a method whose parameter types match exactly the parameter types given.

This uses reflection to invoke the method obtained from a call to #getAccessibleMethod .

ObjectinvokeMethod(Object object, String methodName, Object arg)

Invoke a named method whose parameter type matches the object type.

The behaviour of this method is less deterministic than #invokeExactMethod .

ObjectinvokeMethod(Object object, String methodName, Object[] args)

Invoke a named method whose parameter type matches the object type.

The behaviour of this method is less deterministic than #invokeExactMethod(Object object,String methodName,Object[] args) .

ObjectinvokeMethod(Object object, String methodName, Object[] args, Class[] parameterTypes)

Invoke a named method whose parameter type matches the object type.

The behaviour of this method is less deterministic than #invokeExactMethod(Object object,String methodName,Object[] args,Class[] parameterTypes) .

booleanisAssignmentCompatible(Class parameterType, Class parameterization)

Determine whether a type can be used as a parameter in a method invocation.

ClasstoNonPrimitiveClass(Class clazz)
Find a non primitive representation for given primitive class.