addImports(String...) or addImport(String, String)addStarImports(String...) addStaticImport(String, String) or addStaticImport(String, String, String)addStaticStars(String...) | Modifier and Type | Class and Description |
|---|---|
| private static class | ImportCustomizer.Import
Represents imports which are possibly aliased. |
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ImportCustomizer | |
| private void | |
| public ImportCustomizer | |
| private void | |
| public ImportCustomizer | |
| public ImportCustomizer | |
| public ImportCustomizer | |
| private void | |
| public ImportCustomizer | |
| public void | call(final SourceUnit source, final GeneratorContext context, final ClassNode classNode)
Implements org. |
| imports | back to summary |
|---|---|
| private final List<ImportCustomizer. | |
| ImportCustomizer | back to summary |
|---|---|
| public ImportCustomizer() | |
| addImport | back to summary |
|---|---|
| public ImportCustomizer addImport(final String alias, final String className) | |
| addImport | back to summary |
|---|---|
| private void addImport(final String className) | |
| addImports | back to summary |
|---|---|
| public ImportCustomizer addImports(final String... classNames) | |
| addStarImport | back to summary |
|---|---|
| private void addStarImport(final String packageName) | |
| addStarImports | back to summary |
|---|---|
| public ImportCustomizer addStarImports(final String... packageNames) | |
| addStaticImport | back to summary |
|---|---|
| public ImportCustomizer addStaticImport(final String className, final String fieldName) | |
| addStaticImport | back to summary |
|---|---|
| public ImportCustomizer addStaticImport(final String alias, final String className, final String fieldName) | |
| addStaticStar | back to summary |
|---|---|
| private void addStaticStar(final String className) | |
| addStaticStars | back to summary |
|---|---|
| public ImportCustomizer addStaticStars(final String... classNames) | |
| call | back to summary |
|---|---|
| public void call(final SourceUnit source, final GeneratorContext context, final ClassNode classNode) Implements org.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final String | |
| pack-priv final ClassNode | |
| pack-priv final String | |
| pack-priv final String | |
| pack-priv final ImportCustomizer. |
| Access | Constructor and Description |
|---|---|
| private | Import(final ImportCustomizer.
|
| private | |
| private |
| alias | back to summary |
|---|---|
| pack-priv final String alias | |
| classNode | back to summary |
|---|---|
| pack-priv final ClassNode classNode | |
| field | back to summary |
|---|---|
| pack-priv final String field | |
| star | back to summary |
|---|---|
| pack-priv final String star | |
| type | back to summary |
|---|---|
| pack-priv final ImportCustomizer. | |
| Import | back to summary |
|---|---|
| private Import(final ImportCustomizer. | |
| Import | back to summary |
|---|---|
| private Import(final ImportCustomizer. | |
| Import | back to summary |
|---|---|
| private Import(final ImportCustomizer. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final ImportCustomizer. | |
| public static final ImportCustomizer. | |
| public static final ImportCustomizer. | |
| public static final ImportCustomizer. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static ImportCustomizer. | |
| public static ImportCustomizer. |
| regular | back to summary |
|---|---|
| public static final ImportCustomizer. | |
| star | back to summary |
|---|---|
| public static final ImportCustomizer. | |
| staticImport | back to summary |
|---|---|
| public static final ImportCustomizer. | |
| staticStar | back to summary |
|---|---|
| public static final ImportCustomizer. | |
| ImportType | back to summary |
|---|---|
| private ImportType() | |
| valueOf | back to summary |
|---|---|
| public static ImportCustomizer. | |
| values | back to summary |
|---|---|
| public static ImportCustomizer. | |