Closed stephanenicolas closed 11 years ago
The visitor inside the BoundBoxScanner
should take into account the visibility of the types it visits :
TODO :
Typical example :
public class A {
private class B {}
B foo();
}
A.B
is not visible from BoundBoxOfA
, the signature of BoundBoxOfA.foo()
should be :
public Object foo()
When processing a class, it can internally use types that may not be visible in the boundbox scope or in its clients scope.
In that case , the type should be replaced by Object.