public final class ESImport
extends java.lang.Object
| Constructor and Description |
|---|
ESImport(java.lang.String module,
java.lang.String symbol)
Construct an ESM import for a given symbol and module.
|
ESImport(java.lang.String alias,
java.lang.String module,
java.lang.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(java.lang.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. |
java.lang.String |
getAlias() |
java.lang.String |
getModule() |
java.lang.String |
getSymbol() |
int |
hashCode() |
public ESImport(java.lang.String module,
java.lang.String symbol)
public ESImport(java.lang.String alias,
java.lang.String module,
java.lang.String symbol)
public boolean equals(java.lang.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 java.lang.Objectpublic java.lang.String getAlias()
public java.lang.String getModule()
public java.lang.String getSymbol()
public int hashCode()
hashCode in class java.lang.Object