forMethod

public static MethodAccessChecker forMethod(Method method)

Creates a new instance of the MethodAccessChecker for the specified Method.

Return

a new instance of MethodAccessChecker

Parameters

method

the method to create new instance for