*******************************************************************************/
package org.eclipse.jdt.internal.compiler.impl;
+import org.eclipse.jdt.internal.compiler.env.AccessRestriction;
import org.eclipse.jdt.internal.compiler.env.IBinaryType;
import org.eclipse.jdt.internal.compiler.env.ICompilationUnit;
import org.eclipse.jdt.internal.compiler.env.ISourceType;
/**
* Accept the resolved binary form for the requested type.
*/
- void accept(IBinaryType binaryType, PackageBinding packageBinding);
+ void accept(IBinaryType binaryType, PackageBinding packageBinding, AccessRestriction accessRestriction);
/**
* Accept the requested type's compilation unit.
*/
- void accept(ICompilationUnit unit);
+ void accept(ICompilationUnit unit, AccessRestriction accessRestriction);
/**
* Accept the unresolved source forms for the requested type.
* contains multiple types. The first one is then guaranteed to be the one corresponding to the
* requested type.
*/
- void accept(ISourceType[] sourceType, PackageBinding packageBinding);
+ void accept(ISourceType[] sourceType, PackageBinding packageBinding, AccessRestriction accessRestriction);
}