Class Signatures in Java