public class ImportContextImpl extends Object implements ImportContext
Constructor and Description |
---|
ImportContextImpl(String basePackage) |
Modifier and Type | Method and Description |
---|---|
String |
generateImports() |
String |
importType(String fqcn)
Add fqcn to the import list.
|
static String |
qualifier(String qualifiedName) |
String |
staticImport(String fqcn,
String member) |
static String |
unqualify(String qualifiedName) |
public ImportContextImpl(String basePackage)
public String importType(String fqcn)
importType
in interface ImportContext
fqcn
- Fully qualified class namepublic String staticImport(String fqcn, String member)
staticImport
in interface ImportContext
public String generateImports()
generateImports
in interface ImportContext
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.