Class JClassRef
java.lang.Object
com.inductiveautomation.snap.javatree.JClassRef
This class represents a JFile class reference, so that classes don't have to be resolved until the last moment.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetClassRef
(String aName) Returns a JClassRef for inner class with given name, if one exists.Return component class if array.protected String
Returns the component type name.Return component class if array.Return component class reference for array.Returns the enclosing class ref.Returns a field.Returns a Method for name and list of arg expressions.getName()
Returns the class name.Returns the class.Returns the super class ref.boolean
isArray()
Returns whether this class is array.toString()
Standard toString implementation.
-
Constructor Details
-
JClassRef
Creates a new class ref for a name.
-
-
Method Details
-
getName
Returns the class name. -
getRefClass
Returns the class. -
isArray
public boolean isArray()Returns whether this class is array. -
getComponentTypeRef
Return component class if array. -
getComponentTypeRefImpl
Return component class reference for array. -
getComponentTypeName
Return component class if array. -
getComponentTypeNameImpl
Returns the component type name. -
getField
Returns a field. -
getMethod
Returns a Method for name and list of arg expressions. -
getClassRef
Returns a JClassRef for inner class with given name, if one exists. -
getEnclosingClass
Returns the enclosing class ref. -
getSuperClassRef
Returns the super class ref. -
toString
Standard toString implementation.
-