Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Server.disabled

I got some confusion about inter-type declaration when reviewing the online doc from eclipse.

private boolean Server.disabled = false;
"will not have *name collision* if Server has another private field named disabled. Since no reference to disabled will be ambiguous."
--> is it because this field is private, so shield from other types/aspects or it is because of the primitive boolean or else?

here, *no name collison* -> does it mean Server's another disabled and the Server.disabled in the aspect are actually two different fields?

public int Point.x = 0;
"will have error if Point already has a field named x (defined by Point or by another aspect)"
--> why?

Thanks

Back to the top