public class JClass extends Object
| Constructor and Description | 
|---|
| JClass(String packageName,
      String className) | 
| JClass(String packageName,
      String className,
      String uniqueId) | 
| Modifier and Type | Method and Description | 
|---|---|
| JClass | addBeanProperty(JNamedType property) | 
| void | addProperty(JNamedType property) | 
| Set<JType> | getAnnotationTypes() | 
| String | getClassName() | 
| List<JMethod> | getConstructors() | 
| JMethod | getDefaultConstructor() | 
| String | getExtendsDecl() | 
| Set<JType> | getExtendTypes() | 
| String | getImplementsDecl() | 
| Set<JType> | getImplementTypes() | 
| Set<Class<?>> | getImports() | 
| List<JMethod> | getMethods() | 
| String | getPackageName() | 
| List<JNamedType> | getProperties() | 
| Set<JType> | getRawImports() | 
| Class<?> | getSkeletonClass() | 
| String | getUniqueId() | 
| boolean | hasProperty(String propertyName) | 
| boolean | isFinalized() | 
| boolean | isSerializable() | 
| void | setFluentSetters(boolean fluentSetters) | 
| JClass | setSerializable() | 
| void | writeClass(Writer writer) | 
public String getPackageName()
public String getClassName()
public String getUniqueId()
public void setFluentSetters(boolean fluentSetters)
public Class<?> getSkeletonClass()
public JClass setSerializable()
public boolean isSerializable()
public void addProperty(JNamedType property)
public JClass addBeanProperty(JNamedType property)
public List<JNamedType> getProperties()
public JMethod getDefaultConstructor()
public String getImplementsDecl()
public String getExtendsDecl()
public void writeClass(Writer writer) throws IOException
IOExceptionpublic boolean isFinalized()
public boolean hasProperty(String propertyName)
Copyright © 2020. All rights reserved.