Object.finalize() is called by the Garbage Collector at some point after the object becomes unreferenced.
In general, overloading Object.finalize() is a bad idea because:
Object.finalize() and will get confused. But beyond that it's a terrible idea to name a method "finalize" if it doesn't actually override Object.finalize().
public int finalize(int someParameter) { // Noncompliant
/* ... */
}
public int someBetterName(int someParameter) { // Compliant
/* ... */
}