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

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

Introduction

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

Prototype

public ReferenceBinding findType(char[] typeName, PackageBinding declarationPackage,
            PackageBinding invocationPackage) 

Source Link

Usage

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

License:Open Source License

public static ReferenceBinding onFindType(final Scope scope, final char[] typeName,
        final PackageBinding declarationPackage, final PackageBinding invocationPackage) {
    return handleVisibleForTestingOnType(scope,
            scope.findType(typeName, declarationPackage, invocationPackage));
}