Uses of Class
com.sun.codemodel.JClass
-
Packages that use JClass Package Description com.sun.codemodel Library for generating Java source codecom.sun.codemodel.fmt com.sun.codemodel.util com.sun.tools.ws.api.wsdl com.sun.tools.ws.processor.model com.sun.tools.ws.wsdl.document com.sun.tools.xjc.api API for programmatic invocation of XJC and schemagen.com.sun.tools.xjc.generator.bean com.sun.tools.xjc.generator.bean.field FieldRenderer and its implementation classes.com.sun.tools.xjc.model Implementation of thecom.sun.xml.bind.v2.model.corepackage for XJC.com.sun.tools.xjc.model.nav Compile-time representation of Java type system.com.sun.tools.xjc.outline Provides the outline of the generated Java source code so that additional processing (such as adding more annotations) can be done on the generated code.com.sun.tools.xjc.reader.dtd.bindinfo Object Model that represents DTD binding information. -
-
Uses of JClass in com.sun.codemodel
Subclasses of JClass in com.sun.codemodel Modifier and Type Class Description classJDefinedClassA generated Java class/interface/enum/....classJNullTypeSpecial class object that represents the type of "null".classJTypeVarType variable used to declare generics.Methods in com.sun.codemodel that return JClass Modifier and Type Method Description abstract JClassJClass. _extends()Gets the super class of this class.JClassJDefinedClass. _extends()Returns the class extended by this class.JClassJNullType. _extends()JClassJTypeVar. _extends()Returns the class bound of this variable.JClassJClass. array()JClassJPrimitiveType. array()abstract JClassJType. array()Create an array type of this type.JClassJClass. boxify()Deprecated.calling this method fromJClasswould be meaningless, since it's always guaranteed to returnthis.JClassJPrimitiveType. boxify()Obtains the wrapper class for this primitive type.abstract JClassJType. boxify()If this class is a primitive type, return the boxed class.JClassJCodeModel. directClass(String name)Creates a dummy, unknownJClassthat represents a given name.JClassJClass. erasure()JClassJAnnotationUse. getAnnotationClass()JClassJClass. getBaseClass(JClass baseType)Gets the parameterization of the given base type.JClassJClass. getBaseClass(Class<?> baseType)JClassJPrimitiveType. getWrapperClass()Deprecated.JClass[]JDefinedClass. listClasses()Returns all the nested classes defined in this class.JClassJClass. narrow(JClass clazz)"Narrows" a generic class to a concrete class by specifying a type argument.JClassJClass. narrow(JClass... clazz)JClassJClass. narrow(JType type)JClassJClass. narrow(Class<?> clazz)"Narrows" a generic class to a concrete class by specifying a type argument.JClassJClass. narrow(Class<?>... clazz)JClassJClass. narrow(List<? extends JClass> clazz)JClassJClass. outer()Returns the class in which this class is nested, ornullif this is a top-level class.JClassJDefinedClass. outer()JClassJCodeModel. ref(Class<?> clazz)Obtains a reference to an existing class from its Class object.JClassJCodeModel. ref(String fullyQualifiedClassName)Obtains a reference to an existing class from its fully-qualified class name.JClassJPackage. ref(String name)Reference a class within this package.protected abstract JClassJClass. substituteParams(JTypeVar[] variables, List<JClass> bindings)Substitutes the type variables with their actual arguments.protected JClassJDefinedClass. substituteParams(JTypeVar[] variables, List<JClass> bindings)protected JClassJNullType. substituteParams(JTypeVar[] variables, List<JClass> bindings)protected JClassJTypeVar. substituteParams(JTypeVar[] variables, List<JClass> bindings)JClassJClass. wildcard()Create "? extends T" from T.JClassJCodeModel. wildcard()Gets aJClassrepresentation for "?", which is equivalent to "? extends Object".Methods in com.sun.codemodel that return types with arguments of type JClass Modifier and Type Method Description abstract Iterator<JClass>JClass. _implements()Iterates all super interfaces directly implemented by this class/interface.Iterator<JClass>JDefinedClass. _implements()Returns an iterator that walks the nested classes defined in this class.Iterator<JClass>JNullType. _implements()Iterator<JClass>JTypeVar. _implements()Returns the interface bounds of this variable.List<JClass>JClass. getTypeParameters()If this class is parameterized, return the type parameter of the given index.Methods in com.sun.codemodel with parameters of type JClass Modifier and Type Method Description JCatchBlockJTryBlock. _catch(JClass exception)JDefinedClassJDefinedClass. _extends(JClass superClass)This class extends the specifed class.JDefinedClassJDefinedClass. _implements(JClass iface)This class implements the specifed interface.static JInvocationJExpr. _new(JClass c)JMethodJMethod. _throws(JClass exception)Add an exception to the list of exceptions that this method may throw.JCommentPartJDocComment. addThrows(JClass exception)add an @throws tag to the javadocJAnnotationUseJAnnotatable. annotate(JClass clazz)Adds an annotation to this program element.JAnnotationUseJAnnotationArrayMember. annotate(JClass clazz)Adds a new annotation to the array.JAnnotationUseJDefinedClass. annotate(JClass clazz)Adding ability to annotate a classJAnnotationUseJEnumConstant. annotate(JClass clazz)Adds an annotation to this variable.JAnnotationUseJMethod. annotate(JClass clazz)Adds an annotation to this variable.JAnnotationUseJPackage. annotate(JClass clazz)JAnnotationUseJVar. annotate(JClass clazz)Adds an annotation to this variable.JDefinedClassJCodeModel. anonymousClass(JClass baseType)Creates a new anonymous class.JTypeVarJTypeVar. bound(JClass c)Adds a bound to this variable.static JExpressionJExpr. dotclass(JClass cl)JTypeVarJDefinedClass. generify(String name, JClass bound)JTypeVarJGenerifiable. generify(String name, JClass bound)Adds a new type variable to this declaration with a bound.JClassJClass. getBaseClass(JClass baseType)Gets the parameterization of the given base type.booleanJClass. isAssignableFrom(JClass derived)Checks the relationship between two classes.JClassJClass. narrow(JClass clazz)"Narrows" a generic class to a concrete class by specifying a type argument.JClassJClass. narrow(JClass... clazz)JDefinedClassJCodeModel. newAnonymousClass(JClass baseType)Deprecated.The naming convention doesn't match the rest of the CodeModel.voidJPackage. remove(JClass c)Removes a class from this package.JInvocationJBlock. staticInvoke(JClass type, String method)Creates a static invocation statement.JFormatterJFormatter. t(JClass type)Print a type name.Method parameters in com.sun.codemodel with type arguments of type JClass Modifier and Type Method Description JClassJClass. narrow(List<? extends JClass> clazz)protected abstract JClassJClass. substituteParams(JTypeVar[] variables, List<JClass> bindings)Substitutes the type variables with their actual arguments.protected JClassJDefinedClass. substituteParams(JTypeVar[] variables, List<JClass> bindings)protected JClassJNullType. substituteParams(JTypeVar[] variables, List<JClass> bindings)protected JClassJTypeVar. substituteParams(JTypeVar[] variables, List<JClass> bindings) -
Uses of JClass in com.sun.codemodel.fmt
Methods in com.sun.codemodel.fmt that return JClass Modifier and Type Method Description JClassJStaticJavaFile. getJClass()Returns a class object that represents a statically generated code. -
Uses of JClass in com.sun.codemodel.util
Fields in com.sun.codemodel.util with type parameters of type JClass Modifier and Type Field Description static Comparator<JClass>ClassNameComparator. theInstanceMethods in com.sun.codemodel.util with parameters of type JClass Modifier and Type Method Description intClassNameComparator. compare(JClass l, JClass r) -
Uses of JClass in com.sun.tools.ws.api.wsdl
Methods in com.sun.tools.ws.api.wsdl that return types with arguments of type JClass Modifier and Type Method Description Map<String,JClass>TWSDLOperation. getFaults()Deprecated.Gives a Map of fault name attribute value to theJClass -
Uses of JClass in com.sun.tools.ws.processor.model
Methods in com.sun.tools.ws.processor.model that return JClass Modifier and Type Method Description JClassFault. getExceptionClass()Methods in com.sun.tools.ws.processor.model with parameters of type JClass Modifier and Type Method Description voidFault. setExceptionClass(JClass ex) -
Uses of JClass in com.sun.tools.ws.wsdl.document
Methods in com.sun.tools.ws.wsdl.document that return types with arguments of type JClass Modifier and Type Method Description Map<String,JClass>Operation. getFaults()Methods in com.sun.tools.ws.wsdl.document with parameters of type JClass Modifier and Type Method Description voidOperation. putFault(String faultName, JClass exception) -
Uses of JClass in com.sun.tools.xjc.api
Methods in com.sun.tools.xjc.api that return types with arguments of type JClass Modifier and Type Method Description List<JClass>S2JJAXBModel. getAllObjectFactories()Gets all theObjectFactoryclasses generated by the compilation. -
Uses of JClass in com.sun.tools.xjc.generator.bean
Methods in com.sun.tools.xjc.generator.bean that return JClass Modifier and Type Method Description JClassBeanGenerator. addRuntime(Class clazz)JClassBeanGenerator. generateStaticClass(Class src, JPackage out) -
Uses of JClass in com.sun.tools.xjc.generator.bean.field
Fields in com.sun.tools.xjc.generator.bean.field declared as JClass Modifier and Type Field Description protected JClassAbstractListField. listTprotected JClassAbstractListField. listTprotected JClassAbstractListField. listTprotected JClassAbstractListField. listTMethods in com.sun.tools.xjc.generator.bean.field that return JClass Modifier and Type Method Description protected JClassContentListField. getCoreListType()protected JClassDummyListField. getCoreListType()protected JClassNoExtendedContentField. getCoreListType()protected JClassUntypedListField. getCoreListType()Methods in com.sun.tools.xjc.generator.bean.field with parameters of type JClass Modifier and Type Method Description FieldRendererFieldRendererFactory. getContentList(JClass coreList)FieldRendererFieldRendererFactory. getDummyList(JClass coreList)FieldRendererFieldRendererFactory. getList(JClass coreList)Constructors in com.sun.tools.xjc.generator.bean.field with parameters of type JClass Constructor Description ContentListField(ClassOutlineImpl context, CPropertyInfo prop, JClass coreList)DummyListField(ClassOutlineImpl context, CPropertyInfo prop, JClass coreList)NoExtendedContentField(ClassOutlineImpl context, CPropertyInfo prop, JClass coreList)UntypedListField(ClassOutlineImpl context, CPropertyInfo prop, JClass coreList)UntypedListFieldRenderer(JClass coreList)UntypedListFieldRenderer(JClass coreList, boolean dummy, boolean content) -
Uses of JClass in com.sun.tools.xjc.model
Fields in com.sun.tools.xjc.model declared as JClass Modifier and Type Field Description JClassModel. rootClassIf non-null, all the generated classes should eventually derive from this class.JClassModel. rootInterfaceIf non-null, all the generated interfaces should eventually derive from this interface.Methods in com.sun.tools.xjc.model that return JClass Modifier and Type Method Description JClassCAdapter. getAdapterClass(Outline o)JClassCClassInfo. toType(Outline o, Aspect aspect)JClassCClassRef. toType(Outline o, Aspect aspect)JClassCEnumLeafInfo. toType(Outline o, Aspect aspect)Methods in com.sun.tools.xjc.model with parameters of type JClass Modifier and Type Method Description voidCClassInfo. _implements(JClass c)Constructors in com.sun.tools.xjc.model with parameters of type JClass Constructor Description CAdapter(JClass adapter) -
Uses of JClass in com.sun.tools.xjc.model.nav
Methods in com.sun.tools.xjc.model.nav that return JClass Modifier and Type Method Description JClassEagerNClass. toType(Outline o, Aspect aspect)JClassNClass. toType(Outline o, Aspect aspect)Methods in com.sun.tools.xjc.model.nav with parameters of type JClass Modifier and Type Method Description NClassNavigatorImpl. ref(JClass c) -
Uses of JClass in com.sun.tools.xjc.outline
Fields in com.sun.tools.xjc.outline declared as JClass Modifier and Type Field Description JClassClassOutline. implRefThe implementation class that shall be used for reference.Methods in com.sun.tools.xjc.outline that return JClass Modifier and Type Method Description JClassOutline. addRuntime(Class clazz)Copies the specified class into the user's package and returns a reference to it.Constructors in com.sun.tools.xjc.outline with parameters of type JClass Constructor Description ClassOutline(CClassInfo _target, JDefinedClass exposedClass, JClass implRef, JDefinedClass _implClass) -
Uses of JClass in com.sun.tools.xjc.reader.dtd.bindinfo
Methods in com.sun.tools.xjc.reader.dtd.bindinfo that return JClass Modifier and Type Method Description JClassBindInfo. getSuperClass()Gets the xjc:superClass customization if it's turned on.JClassBindInfo. getSuperInterface()Gets the xjc:superInterface customization if it's turned on.JClassBIContent. getType()Gets the type of this property, if any.
-