private void checkWeaveAccess(UnresolvedType typeX, ASTNode location) {
World world = inAspect.factory.getWorld();
Lint.Kind check = world.getLint().typeNotExposedToWeaver;
if (check.isEnabled()) {
if (!world.resolve(typeX).isExposedToWeaver()) {
ISourceLocation loc = null;
if (location != null) {
loc = new EclipseSourceLocation(inAspect.compilationResult,
location.sourceStart, location.sourceEnd);
}