Class JImportDecl
java.lang.Object
com.inductiveautomation.snap.javatree.JNode
com.inductiveautomation.snap.javatree.JImportDecl
A Java part for import declaration.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the identifier.protected StringResolves the name from identifier, if available.booleanReturns whether import is inclusive.booleanisStatic()Returns whether import is static.voidsetIdentifier(JExpr anId) Sets the identifier.voidsetInclusive(boolean aValue) Sets whether import is inclusive.voidsetStatic(boolean aValue) Sets whether import is static.Methods inherited from class com.inductiveautomation.snap.javatree.JNode
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
-
Constructor Details
-
JImportDecl
public JImportDecl()
-
-
Method Details
-
isStatic
public boolean isStatic()Returns whether import is static. -
setStatic
public void setStatic(boolean aValue) Sets whether import is static. -
isInclusive
public boolean isInclusive()Returns whether import is inclusive. -
setInclusive
public void setInclusive(boolean aValue) Sets whether import is inclusive. -
getIdentifier
Returns the identifier. -
setIdentifier
Sets the identifier. -
getNameImpl
Resolves the name from identifier, if available.- Overrides:
getNameImplin classJNode
-