- org.codehaus.groovy.control.customizers.builder.ImportCustomizerFactory
-
public class ImportCustomizerFactory
extends AbstractFactory
This factory allows the generation of an import customizer. You may embed several
elements:
- normal for "regular" imports
- star for "star" imports
- staticStar for "static star" imports
- alias for imports with alias
- staticMember for static imports of individual members
For example:
builder.imports {
alias 'AI', 'java.util.concurrent.atomic.AtomicInteger'
alias 'AL', 'java.util.concurrent.atomic.AtomicLong'
}
- Since:
- 2.1.0
-
-
Methods Summary
-
Inherited Methods Summary
Inherited Methods
Methods inherited from class |
Name |
class AbstractFactory |
setParent, isLeaf, onNodeChildren, onNodeCompleted, setChild, onFactoryRegistration, onHandleNodeAttributes, isHandlesNodeChildren, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll, newInstance |
-
-
Method Detail
-
@Override
public boolean isHandlesNodeChildren()
- Summary:
Nested Field Constructor - Method
- | Detail:
Field Constructor - Method
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.