A compiler using annotations to identify fields of a Java class that are to be wrapped into a subclass of the compiled class. The compiler exposes methods from interfaces as the exported components of the wrapper. An Eclipse plugin is being designed.