import qualifiedIdentifier ; import static qualifiedIdentifier ;
Modifier and Type | Method and Description |
---|---|
public Tree | Returns: a qualified identifier, ending in "*" if and only if this is an import-on-demandReturns the qualified identifier for the declaration(s) being imported. |
public boolean | Returns: true if this is an module import declaration.
Preview
Preview of Module Import Declarations (JEP 476).
Returns true if this is an module import declaration. |
public boolean | Returns: true if this is a static importReturns true if this is a static import declaration. |
getQualifiedIdentifier | back to summary |
---|---|
public Tree getQualifiedIdentifier() Returns the qualified identifier for the declaration(s) being imported. If this is an import-on-demand declaration, the qualified identifier will end in "*".
|
isModule | back to summary |
---|---|
public boolean isModule()
Preview Preview of Module Import Declarations (JEP 476).
Returns true if this is an module import declaration.
|
isStatic | back to summary |
---|---|
public boolean isStatic() Returns true if this is a static import declaration.
|