This object also provides access to various utilities, such as error reporting etc, for the convenience of code that builds the outline.
| Modifier and Type | Method and Description |
|---|---|
| public JClass | addRuntime(Class<?> clazz)
Copies the specified class into the user's package and returns a reference to it. |
| public Iterable | |
| public Collection | |
| public CodeModelClassFactory | |
| public ClassOutline | |
| public JCodeModel | |
| public JClassContainer | |
| public ElementOutline | |
| public EnumOutline | |
| public Collection | |
| public ErrorReceiver | |
| public FieldOutline | |
| public Model | |
| public PackageOutline | Returns: If this grammar doesn't produce anything in the specified package, return null.Gets per-package context information. |
| public JType |
| addRuntime | back to summary |
|---|---|
| public JClass addRuntime(Class<?> clazz) Copies the specified class into the user's package and returns a reference to it. | |
| getAllPackageContexts | back to summary |
|---|---|
| public Iterable Gets all package-wise contexts at once. | |
| getClasses | back to summary |
|---|---|
| public Collection Returns all the | |
| getClassFactory | back to summary |
|---|---|
| public CodeModelClassFactory getClassFactory() Gets a reference to
| |
| getClazz | back to summary |
|---|---|
| public ClassOutline getClazz(CClassInfo clazz) Obtains per-class context information. | |
| getCodeModel | back to summary |
|---|---|
| public JCodeModel getCodeModel() Short for | |
| getContainer | back to summary |
|---|---|
| public JClassContainer getContainer(CClassInfoParent parent, Aspect aspect) | |
| getElement | back to summary |
|---|---|
| public ElementOutline getElement(CElementInfo ei) If the | |
| getEnum | back to summary |
|---|---|
| public EnumOutline getEnum(CEnumLeafInfo eli) | |
| getEnums | back to summary |
|---|---|
| public Collection Gets all the | |
| getErrorReceiver | back to summary |
|---|---|
| public ErrorReceiver getErrorReceiver() Any error during the back-end proccessing should be sent to this object. | |
| getField | back to summary |
|---|---|
| public FieldOutline getField(CPropertyInfo fu) Gets the object that wraps the generated field for a given | |
| getModel | back to summary |
|---|---|
| public Model getModel() This outline is for this model. | |
| getPackageContext | back to summary |
|---|---|
| public PackageOutline getPackageContext(JPackage _Package) Gets per-package context information. This method works for every visible package (those packages which are supposed to be used by client applications.)
| |
| resolve | back to summary |
|---|---|
| public JType resolve(CTypeRef ref, Aspect aspect) Resolves a type reference to the actual (possibly generated) type.
Short for | |