Class JType
java.lang.Object
com.inductiveautomation.snap.javatree.JNode
com.inductiveautomation.snap.javatree.JType
A JNode for types.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanStandard equals implementation.protected StringTries to resolve the class name for this node.protected StringResolves the type name.Returns a list of all JTypes that match this JType.Returns the simple name.inthashCode()Standard hashCode implementation.booleanReturns whether type is array.booleanReturns whether type is reference (array or class/interface type).Methods inherited from class JNode
addChild, buildChildren, getBlock, getChild, getChildCount, getChildren, getClassLoader, getClassName, getClassRef, getClassRefImpl, getEnclosingClassDecl, getEnclosingMemberDecl, getEnclosingMethodDecl, getEnd, getEndToken, getFile, getJClass, getLineIndex, getName, getNodeAtCharIndex, getNodeFields, getNodeFieldsImpl, getNodeParents, getNodePath, getNodeString, getParent, getParent, getReferencedClasses, getReferencedClassNames, getReferencedClassNames, getReferencedClassNames, getStart, getStartToken, getString, getVariableDecl, getVariableDeclInside, getVariableDecls, isBlock, setClassName, setClassRef, setEndToken, setJClass, setParent, setStartToken, toString
-
Field Details
-
isPrimative
public boolean isPrimative -
arrayCount
public int arrayCount -
name
-
-
Constructor Details
-
JType
public JType()
-
-
Method Details
-
getNameImpl
-
getSimpleName
Returns the simple name. -
isArrayType
public boolean isArrayType()Returns whether type is array. -
isReferenceType
public boolean isReferenceType()Returns whether type is reference (array or class/interface type). -
getClassNameImpl
Tries to resolve the class name for this node.- Overrides:
getClassNameImplin classJNode
-
getOthers
-
equals
-
hashCode
-