Class JImportDecl
java.lang.Object
com.inductiveautomation.snap.javatree.JNode
com.inductiveautomation.snap.javatree.JImportDecl
A Java part for import declaration.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.JNodeaddChild, 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- 
JImportDeclpublic JImportDecl()
 
- 
- 
Method Details- 
isStaticpublic boolean isStatic()Returns whether import is static.
- 
setStaticpublic void setStatic(boolean aValue) Sets whether import is static.
- 
isInclusivepublic boolean isInclusive()Returns whether import is inclusive.
- 
setInclusivepublic void setInclusive(boolean aValue) Sets whether import is inclusive.
- 
getIdentifierReturns the identifier.
- 
setIdentifierSets the identifier.
- 
getNameImplResolves the name from identifier, if available.- Overrides:
- getNameImplin class- JNode
 
 
-