Class JImportDecl
- java.lang.Object
- 
- com.inductiveautomation.snap.javatree.JNode
- 
- com.inductiveautomation.snap.javatree.JImportDecl
 
 
- 
 public class JImportDecl extends JNode A Java part for import declaration.
- 
- 
Constructor SummaryConstructors Constructor Description JImportDecl()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description JExprgetIdentifier()Returns the identifier.protected java.lang.StringgetNameImpl()Resolves the name from identifier, if available.booleanisInclusive()Returns 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
 
- 
 
- 
- 
- 
Method Detail- 
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.
 - 
getIdentifierpublic JExpr getIdentifier() Returns the identifier.
 - 
setIdentifierpublic void setIdentifier(JExpr anId) Sets the identifier.
 - 
getNameImplprotected java.lang.String getNameImpl() Resolves the name from identifier, if available.- Overrides:
- getNameImplin class- JNode
 
 
- 
 
-