Uses of Class
com.sun.codemodel.JClass

Uses of JClass in com.sun.codemodel
 

Subclasses of JClass in com.sun.codemodel
 class JArrayClass
          Array class.
 class JDefinedClass
          A generated Java class.
 class JNullType
          Special class object that represents the type of "null".
 

Methods in com.sun.codemodel that return JClass
 JClass JDefinedClass._extends()
          Returns the class extended by this class, or null if this class does not explicitly extend a class.
 JClass JArrayClass._extends()
           
 JClass JNullType._extends()
           
abstract  JClass JClass._extends()
          Gets the super class of this class.
abstract  JClass JType.array()
          Create an array type from this type.
 JClass JPrimitiveType.array()
           
 JClass JClass.array()
           
 JClass JPrimitiveType.getWrapperClass()
          Obtains the wrapper class for this primitive type.
 JClass[] JDefinedClass.listClasses()
          Returns all the nested classes defined in this class.
 JClass JDefinedClass.outer()
          Returns the class in which this class is nested, or null if this is a top-level class.
 JClass JCodeModel.ref(java.lang.Class clazz)
          Obtains a reference to an existing class from its Class object.
 JClass JCodeModel.ref(java.lang.String fullyQualifiedClassName)
          Obtains a reference to an existing class from its fully-qualified class name.
 JClass JPackage.ref(java.lang.String name)
          Reference a class within this package.
 

Methods in com.sun.codemodel with parameters of type JClass
 JCatchBlock JTryBlock._catch(JClass exception)
           
 JDefinedClass JDefinedClass._extends(JClass superClass)
          This class extends the specifed class.
 JDefinedClass JDefinedClass._implements(JClass iface)
          This class implements the specifed interface.
static JInvocation JExpr._new(JClass c)
           
 JMethod JMethod._throws(JClass exception)
          Add an exception to the list of exceptions that this method may throw.
 JDocComment JDocComment.addThrows(JClass exception, java.lang.String comment)
          add an @throws tag to the javadoc
static JExpression JExpr.dotclass(JClass cl)
           
 boolean JClass.isAssignableFrom(JClass derived)
          Checks the relationship between two classes.
 JDefinedClass JCodeModel.newAnonymousClass(JClass baseType)
          Creates a new anonymous class.
 void JPackage.remove(JClass c)
          Removes a class from this package.
 JInvocation JBlock.staticInvoke(JClass type, java.lang.String method)
          Creates a static invocation statement.