public class JType extends JNode
| Modifier and Type | Field and Description |
|---|---|
int |
arrayCount |
boolean |
isPrimative |
java.lang.String |
name |
| Constructor and Description |
|---|
JType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object anObj)
Standard equals implementation.
|
protected java.lang.String |
getClassNameImpl()
Tries to resolve the class name for this node.
|
protected java.lang.String |
getNameImpl()
Resolves the type name.
|
java.util.List<JNode> |
getOthers()
Returns a list of all JTypes that match this JType.
|
java.lang.String |
getSimpleName()
Returns the simple name.
|
int |
hashCode()
Standard hashCode implementation.
|
boolean |
isArrayType()
Returns whether type is array.
|
boolean |
isReferenceType()
Returns whether type is reference (array or class/interface type).
|
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, toStringpublic boolean isPrimative
public int arrayCount
public java.lang.String name
protected java.lang.String getNameImpl()
getNameImpl in class JNodepublic java.lang.String getSimpleName()
public boolean isArrayType()
public boolean isReferenceType()
protected java.lang.String getClassNameImpl()
getClassNameImpl in class JNodepublic java.util.List<JNode> getOthers()
public boolean equals(java.lang.Object anObj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object