Uses of Class
com.sun.codemodel.JDefinedClass
Packages that use JDefinedClass
-
Uses of JDefinedClass in com.sun.codemodel
Methods in com.sun.codemodel that return JDefinedClassModifier and TypeMethodDescriptionJClassContainer._annotationTypeDeclaration(String name) Add an annotationType Declaration to this packageJDefinedClass._annotationTypeDeclaration(String name) Add an annotationType Declaration to this packageJPackage._annotationTypeDeclaration(String name) Add an annotationType Declaration to this packageAdd a new class to this package/class.Deprecated.Creates a new class/enum/interface/annotation.Add a new public class to this class/package.Creates a new generated class.Creates a new generated class.Creates a new generated class.Add a new nested class to this class.Deprecated.Add a new public nested class to this class.Add a class to this package.Deprecated.Adds a public class to this package.Add a public enum to this packageAdd a public enum to this packageAdd a public enum to this packageAdd a public enum to this packageThis class extends the specifed class.Gets a reference to the already created generated class.Gets a reference to the already createdJDefinedClass.JDefinedClass._implements(JClass iface) This class implements the specifed interface.JDefinedClass._implements(Class<?> iface) JClassContainer._interface(int mods, String name) Add an interface to this class/package.JClassContainer._interface(String name) Adds a public interface to this package.JDefinedClass._interface(int mods, String name) Add an interface to this package.JDefinedClass._interface(String name) Adds a public interface to this package.JPackage._interface(int mods, String name) Add an interface to this package.JPackage._interface(String name) Adds a public interface to this package.JCodeModel.anonymousClass(JClass baseType) Creates a new anonymous class.JCodeModel.anonymousClass(Class<?> baseType) JClassAlreadyExistsException.getExistingClass()Gets a reference to the existingJDefinedClass.JCodeModel.newAnonymousClass(JClass baseType) Deprecated.The naming convention doesn't match the rest of the CodeModel.Methods in com.sun.codemodel that return types with arguments of type JDefinedClassModifier and TypeMethodDescriptionJClassContainer.classes()Returns an iterator that walks the nested classes defined in this class.final Iterator<JDefinedClass> JDefinedClass.classes()Returns an iterator that walks the nested classes defined in this class.JPackage.classes()Returns an iterator that walks the top-level classes defined in this package.Constructors in com.sun.codemodel with parameters of type JDefinedClass
JClassContainer._class(int, String, ClassType)