java shared class docs