public class Import extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
name |
static String |
NO_CLASS |
static String |
NO_CONSTRUCTOR |
static String |
NO_MEMBER |
Class |
target |
| Modifier and Type | Method and Description |
|---|---|
static Import |
create(String packageName,
String className,
String name) |
Selection |
getConstructors() |
Selection |
lookup(String member) |
String |
toString()
Gets a String representation for this Reference
.
|
public final String name
public final Class target
public static final String NO_CLASS
public static final String NO_CONSTRUCTOR
public static final String NO_MEMBER
public static Import create(String packageName, String className, String name) throws GenericException
name - may be nullGenericExceptionpublic String toString()
public Selection lookup(String member) throws GenericException
GenericExceptionpublic Selection getConstructors() throws GenericException
GenericExceptionCopyright © 1998–2017 1&1. All rights reserved.