public class JImportDecl extends JNode
Constructor and Description |
---|
JImportDecl() |
Modifier and Type | Method and Description |
---|---|
JExpr |
getIdentifier()
Returns the identifier.
|
protected java.lang.String |
getNameImpl()
Resolves the name from identifier, if available.
|
boolean |
isInclusive()
Returns whether import is inclusive.
|
boolean |
isStatic()
Returns whether import is static.
|
void |
setIdentifier(JExpr anId)
Sets the identifier.
|
void |
setInclusive(boolean aValue)
Sets whether import is inclusive.
|
void |
setStatic(boolean aValue)
Sets whether import is static.
|
addChild, buildChildren, getBlock, getChild, getChildCount, getChildren, getClassLoader, getClassName, getClassNameImpl, getClassRef, getClassRefImpl, getEnclosingClassDecl, getEnclosingMemberDecl, getEnclosingMethodDecl, getEnd, getEndToken, getFile, getJClass, getLineIndex, getName, getNodeAtCharIndex, getNodeFields, getNodeFieldsImpl, getNodeParents, getNodePath, getNodeString, getOthers, getParent, getParent, getReferencedClasses, getReferencedClassNames, getReferencedClassNames, getReferencedClassNames, getStart, getStartToken, getString, getVariableDecl, getVariableDeclInside, getVariableDecls, isBlock, setClassName, setClassRef, setEndToken, setJClass, setParent, setStartToken, toString
public boolean isStatic()
public void setStatic(boolean aValue)
public boolean isInclusive()
public void setInclusive(boolean aValue)
public JExpr getIdentifier()
public void setIdentifier(JExpr anId)
protected java.lang.String getNameImpl()
getNameImpl
in class JNode