@SuppressWarnings("unchecked")
	private static Method getMethod(Class clazzParam, String nameParam) {
    """
	Retrieves the java method from class {@code clazzParam}.
	
	@param clazzParam The class.
	@param nameParam The class name.
	
	@return Method from {@code clazzParam} and {@code nameParam}.
    """
		try {
			if(clazzParam == null || nameParam == null)
			{
				return null;
			}

			Method returnVal = clazzParam.getDeclaredMethod(nameParam);
			returnVal.setAccessible(true);

			return returnVal;
		}
		//
		catch (NoSuchMethodException e) {

			throw new FluidCacheException(
					"Unable to get method '"+
							nameParam +"'. "+e.getMessage(),e);
		}
	}
@SuppressWarnings("unchecked")
	private static Method getMethod(Class clazzParam, String nameParam)
	{
		try {
			if(clazzParam == null || nameParam == null)
			{
				return null;
			}

			Method returnVal = clazzParam.getDeclaredMethod(nameParam);
			returnVal.setAccessible(true);

			return returnVal;
		}
		//
		catch (NoSuchMethodException e) {

			throw new FluidCacheException(
					"Unable to get method '"+
							nameParam +"'. "+e.getMessage(),e);
		}
	}
@ SuppressWarnings ( "unchecked" ) private static Method getMethod ( Class clazzParam , String nameParam ) { try { if ( clazzParam == null || nameParam == null ) { return null ; } Method returnVal = clazzParam . getDeclaredMethod ( nameParam ) ; returnVal . setAccessible ( true ) ; return returnVal ; } // catch ( NoSuchMethodException e ) { throw new FluidCacheException ( "Unable to get method '" + nameParam + "'. " + e . getMessage ( ) , e ) ; } }
Retrieves the java method from class {@code clazzParam}.

@param clazzParam The class.
@param nameParam The class name.

@return Method from {@code clazzParam} and {@code nameParam}.
Retrieves the java method from class { @code clazzParam } .