Example usage for org.eclipse.jdt.internal.compiler.lookup Scope findExactMethod

List of usage examples for org.eclipse.jdt.internal.compiler.lookup Scope findExactMethod

Introduction

In this page you can find the example usage for org.eclipse.jdt.internal.compiler.lookup Scope findExactMethod.

Prototype

public MethodBinding findExactMethod(ReferenceBinding receiverType, char[] selector,
            TypeBinding[] argumentTypes, InvocationSite invocationSite) 

Source Link

Usage

From source file:lombok.eclipse.agent.PatchVisibleForTesting.java

License:Open Source License

public static MethodBinding onFindExactMethod(final Scope scope, final ReferenceBinding receiverType,
        final char[] selector, final TypeBinding[] argumentTypes, final InvocationSite invocationSite) {
    return handleVisibleForTestingOnMethod(scope,
            scope.findExactMethod(receiverType, selector, argumentTypes, invocationSite));
}