public interface StaticImport
Modifier and Type | Method and Description |
---|---|
com.squareup.javapoet.ClassName |
className() |
Iterable<String> |
memberNames()
The members to import from the class for example if memberNames() returned List("trim", "isBlank") for
StringUtils.class then the following static imports would be generated:
import static software.amazon.awssdk.utils.StringUtils.trim;
import static software.amazon.awssdk.utils.StringUtils.isBlank;
|
static StaticImport |
staticMethodImport(Class<?> clz,
String... members)
A helper implementation to create a
StaticImport from a Class |
com.squareup.javapoet.ClassName className()
Iterable<String> memberNames()
static StaticImport staticMethodImport(Class<?> clz, String... members)
StaticImport
from a Class
clz
- the class to importmembers
- the members from that class to import, if none then * is assumedStaticImport
Copyright © 2022. All rights reserved.