Why magenta colored methods name in class browser method panel?

35 Views Asked by At

Why do some method have their name colored in magenta in the class browser method panel ?

1

There are 1 best solutions below

0
bruno bb On

Magenta color methods are loose methods.

A "loose method" is a method that belong a package different from the package of it's class.

If you have ClassB in PackageB. And at the same time there are some methods in ClassB that belong to PackageC these methods are "loose".

To move a method to a package is simple drag and drop.