Uses of Class
com.sun.codemodel.JClass
Packages that use JClass
Package
Description
Library for generating Java source code
API for programmatic invocation of XJC and schemagen.
FieldRenderer and its implementation classes.
Implementation of the
org.glassfish.jaxb.core.v2.model.core package for XJC.
Compile-time representation of Java type system.
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.
Object Model that represents DTD binding information.
-
Uses of JClass in com.sun.codemodel
Subclasses of JClass in com.sun.codemodelModifier and TypeClassDescriptionclassA generated Java class/interface/enum/....final classSpecial class object that represents the type of "null".final classType variable used to declare generics.Methods in com.sun.codemodel that return JClassModifier and TypeMethodDescriptionabstract JClassJClass._extends()Gets the super class of this class.JDefinedClass._extends()Returns the class extended by this class.JNullType._extends()JTypeVar._extends()Returns the class bound of this variable.JClass.array()JPrimitiveType.array()abstract JClassJType.array()Create an array type of this type.JTypeVar.bound()JClass.boxify()Deprecated.JPrimitiveType.boxify()Obtains the wrapper class for this primitive type.abstract JClassJType.boxify()If this class is a primitive type, return the boxed class.JCodeModel.directClass(String name) Creates a dummy, unknownJClassthat represents a given name.JClass.erasure()JAnnotationUse.getAnnotationClass()final JClassJClass.getBaseClass(JClass baseType) Gets the parameterization of the given base type.final JClassJClass.getBaseClass(Class<?> baseType) JPrimitiveType.getWrapperClass()Deprecated.final JClass[]JDefinedClass.listClasses()Returns all the nested classes defined in this class."Narrows" a generic class to a concrete class by specifying a type argument."Narrows" a generic class to a concrete class by specifying a type argument.JClass.outer()Returns the class in which this class is nested, ornullif this is a top-level class.JDefinedClass.outer()Obtains a reference to an existing class from its Class object.Obtains a reference to an existing class from its fully-qualified class 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) JDefinedClass.superClass()JAnnotationClassValue.type()final JClassJClass.wildcard()Create "? extends T" from T.JCodeModel.wildcard()Gets aJClassrepresentation for "?", which is equivalent to "? extends Object".Methods in com.sun.codemodel that return types with arguments of type JClassModifier and TypeMethodDescriptionJClass._implements()Iterates all super interfaces directly implemented by this class/interface.JDefinedClass._implements()Returns an iterator that walks the nested classes defined in this class.JNullType._implements()JTypeVar._implements()Returns the interface bounds of this variable.JClass.getTypeParameters()If this class is parameterized, return the type parameter of the given index.Methods in com.sun.codemodel with parameters of type JClassModifier and TypeMethodDescriptionThis class extends the specifed class.JDefinedClass._implements(JClass iface) This class implements the specifed interface.static JInvocationAdd an exception to the list of exceptions that this method may throw.add an @throws tag to the javadocAdds an annotation to this program element.Adds a new annotation to the array.Adding ability to annotate a classAdds an annotation to this variable.Adds an annotation to this variable.Adds an annotation to this variable.JCodeModel.anonymousClass(JClass baseType) Creates a new anonymous class.Adds a bound to this variable.static JExpressionAdds a new type variable to this declaration with a bound.final JClassJClass.getBaseClass(JClass baseType) Gets the parameterization of the given base type.final booleanJClass.isAssignableFrom(JClass derived) Checks the relationship between two classes."Narrows" a generic class to a concrete class by specifying a type argument.JCodeModel.newAnonymousClass(JClass baseType) Deprecated.The naming convention doesn't match the rest of the CodeModel.voidRemoves a class from this package.JBlock.staticInvoke(JClass type, String method) Creates a static invocation statement.Print a type name.Method parameters in com.sun.codemodel with type arguments of type JClassModifier and TypeMethodDescriptionprotected 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 -
Uses of JClass in com.sun.codemodel.util
Fields in com.sun.codemodel.util with type parameters of type JClassMethods in com.sun.codemodel.util with parameters of type JClass -
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 -
Uses of JClass in com.sun.tools.ws.processor.model
Methods in com.sun.tools.ws.processor.model that return JClassMethods in com.sun.tools.ws.processor.model with parameters of type JClass -
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 JClassMethods in com.sun.tools.ws.wsdl.document with parameters of type JClass -
Uses of JClass in com.sun.tools.xjc.api
Methods in com.sun.tools.xjc.api that return types with arguments of type JClassModifier and TypeMethodDescriptionS2JJAXBModel.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 JClassModifier and TypeMethodDescriptionfinal JClassBeanGenerator.addRuntime(Class<?> clazz) BeanGenerator.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 JClassModifier and TypeFieldDescriptionprotected final JClassAbstractListField.listTprotected final JClassAbstractListField.listTprotected final JClassAbstractListField.listTprotected final JClassAbstractListField.listTMethods in com.sun.tools.xjc.generator.bean.field that return JClassModifier and TypeMethodDescriptionprotected final JClassContentListField.getCoreListType()protected final JClassDummyListField.getCoreListType()protected final JClassNoExtendedContentField.getCoreListType()protected final JClassUntypedListField.getCoreListType()Methods in com.sun.tools.xjc.generator.bean.field with parameters of type JClassModifier and TypeMethodDescriptionFieldRendererFactory.getContentList(JClass coreList) FieldRendererFactory.getDummyList(JClass coreList) Constructors in com.sun.tools.xjc.generator.bean.field with parameters of type JClassModifierConstructorDescriptionprotectedContentListField(ClassOutlineImpl context, CPropertyInfo prop, JClass coreList) protectedDummyListField(ClassOutlineImpl context, CPropertyInfo prop, JClass coreList) protectedNoExtendedContentField(ClassOutlineImpl context, CPropertyInfo prop, JClass coreList) protectedUntypedListField(ClassOutlineImpl context, CPropertyInfo prop, JClass coreList) protectedUntypedListFieldRenderer(JClass coreList) protectedUntypedListFieldRenderer(JClass coreList, boolean dummy, boolean content) -
Uses of JClass in com.sun.tools.xjc.model
Fields in com.sun.tools.xjc.model declared as JClassModifier and TypeFieldDescriptionModel.rootClassIf non-null, all the generated classes should eventually derive from this class.Model.rootInterfaceIf non-null, all the generated interfaces should eventually derive from this interface.Methods in com.sun.tools.xjc.model that return JClassMethods in com.sun.tools.xjc.model with parameters of type JClassConstructors in com.sun.tools.xjc.model with parameters of type JClass -
Uses of JClass in com.sun.tools.xjc.outline
Fields in com.sun.tools.xjc.outline declared as JClassModifier and TypeFieldDescriptionfinal JClassClassOutline.implRefThe implementation class that shall be used for reference.Methods in com.sun.tools.xjc.outline that return JClassModifier and TypeMethodDescriptionOutline.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 JClassModifierConstructorDescriptionprotectedClassOutline(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 JClassModifier and TypeMethodDescriptionBindInfo.getSuperClass()Gets the xjc:superClass customization if it's turned on.BindInfo.getSuperInterface()Gets the xjc:superInterface customization if it's turned on.final JClassBIContent.getType()Gets the type of this property, if any.
JClasswould be meaningless, since it's always guaranteed to returnthis.