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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetClassRef(String aName) Returns a JClassRef for inner class with given name, if one exists.Return component class if array.protected StringReturns 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.booleanisArray()Returns whether this class is array.toString()Standard toString implementation.
- 
Constructor Details- 
JClassRefCreates a new class ref for a name.
 
- 
- 
Method Details- 
getNameReturns the class name.
- 
getRefClassReturns the class.
- 
isArraypublic boolean isArray()Returns whether this class is array.
- 
getComponentTypeRefReturn component class if array.
- 
getComponentTypeRefImplReturn component class reference for array.
- 
getComponentTypeNameReturn component class if array.
- 
getComponentTypeNameImplReturns the component type name.
- 
getFieldReturns a field.
- 
getMethodReturns a Method for name and list of arg expressions.
- 
getClassRefReturns a JClassRef for inner class with given name, if one exists.
- 
getEnclosingClassReturns the enclosing class ref.
- 
getSuperClassRefReturns the super class ref.
- 
toStringStandard toString implementation.
 
-