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