|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of ClassNode in ca.ubc.cs.elide.nodes |
Methods in ca.ubc.cs.elide.nodes that return ClassNode | |
ClassNode |
ParseNode.getDeclaringClass()
Returns the ClassNode object representing the class within which this member was declared. |
static ClassNode |
NodeFactory.createClass(java.lang.String text)
Creates a ClassNode from a String of Java source code
defining the class. |
ClassNode[] |
ClassNode.getDeclaredClasses()
Returns an array of ClassNode objects reflecting all the classes and interfaces declared as members of the class represented by
this ClassNode object. |
ClassNode |
ClassNode.getDeclaredClass(java.lang.String name)
Returns a ClassNode object reflecting the specified class or interface declared as a member of the class represented by
this ClassNode object. |
ClassNode |
ClassNode.getClass(java.lang.String name)
Returns a ClassNode object that reflects the specified inner class or interface of the class represented by this ClassNode object. |
ClassNode[] |
ClassNode.getClasses()
Returns an array containing ClassNode objects representing all the public classes and interfaces that are members
of the class represented by this ClassNode object. |
ClassNode |
ClassNode.getSuperclassNode()
Returns the ClassNode representing the superclass of the entity (class, interface, primitive type or void) represented by this ClassNode . |
ClassNode[] |
ClassNode.getSubclasses()
Returns an array containing String objects representing all the subclasses and subinterfaces
of the class represented by this ClassNode object. |
static ClassNode |
ClassNode.forName(java.lang.String name,
ParseNode context)
Returns the ClassNode object associated with the class or interface with the given string name in the given
context. |
ClassNode[] |
PackageNode.getClasses()
Returns an array of ClassNode objects representing the classes contained by this package. |
ClassNode |
PackageNode.getClass(java.lang.String name)
Returns a ClassNode object representing a class contained by this package, given its name. |
ClassNode |
PackageNode.getDeclaringClass()
Throws a RuntimeException if called - included for compatibility. |
Methods in ca.ubc.cs.elide.nodes with parameters of type ClassNode | |
boolean |
ClassNode.isAssignableFrom(ClassNode klass)
Determines if the class or interface represented by this ClassNode object is either the same as, or is a superclass or superinterface of,
the class or interface represented by the specified ClassNode parameter. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |