| java.lang.Object com.sun.tools.xjc.generator.bean.BeanGenerator
BeanGenerator | final public class BeanGenerator implements Outline(Code) | | Generates fields and accessors.
|
generate | public static Outline generate(Model model, ErrorReceiver _errorReceiver)(Code) | | Generates beans into code model according to the BGM,
and produces the reflection model.
Parameters: _errorReceiver - This object will receive all the errors discoveredduring the back-end stage.returns a Outline which will in turnbe used to further generate marshaller/unmarshaller,or null if the processing fails (errors should have beenreported to the error recevier.) |
getUsedPackages | final public JPackage[] getUsedPackages(Aspect aspect)(Code) | | Returns all used JPackages.
A JPackage is considered as "used" if a ClassItem or
a InterfaceItem resides in that package.
This value is dynamically calculated every time because
one can freely remove ClassItem/InterfaceItem.
Given the same input, the order of packages in the arrayis always the same regardless of the environment. |
|
|