public interface Import extends HasCopy<Import>, HasType<Import>, ImportModifier<Import>
Modifier and Type | Interface and Description |
---|---|
static class |
Import.Factory
Factory holder.
|
Modifier and Type | Method and Description |
---|---|
Optional<String> |
getStaticMember()
Returns any static member referenced in this import.
|
static Import |
of(Type type)
Creates a new instance implementing this interface by using the class
supplied by the default factory.
|
Import |
setStaticMember(String member)
Sets the static member referenced by this import.
|
static void |
setSupplier(Function<Type,Import> mapper)
Sets the instantiation method used to create new instances of this
interface.
|
static_
getModifiers
Optional<String> getStaticMember()
Import setStaticMember(String member)
Keyword.static_.static_()
method!member
- the new static member to referencestatic Import of(Type type)
setSupplier
method.type
- the typeCopyright © 2016 Speedment, Inc.. All rights reserved.