public final class ESImport
extends Object
| Constructor and Description |
|---|
ESImport(String module,
String symbol)
Construct an ESM import for a given symbol and module.
|
ESImport(String alias,
String module,
String symbol)
Construct an ESM import for a given symbol and module, where the symbol
is aliased.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object)
The semantics for the equality of two
ESImport objects are that
they are the same as long as the symbol and module match, not taking the
alias into account. |
String |
getAlias() |
String |
getModule() |
String |
getSymbol() |
int |
hashCode() |
public ESImport(String module,
String symbol)
public ESImport(String alias,
String module,
String symbol)
public boolean equals(Object object)
ESImport objects are that
they are the same as long as the symbol and module match, not taking the
alias into account.equals in class Objectpublic String getAlias()
public String getModule()
public String getSymbol()
public int hashCode()
hashCode in class Object