public class AbstractSourceFactory extends Object
| Constructor and Description |
|---|
AbstractSourceFactory(com.sun.codemodel.JCodeModel codeModel) |
| Modifier and Type | Method and Description |
|---|---|
protected com.sun.codemodel.JPrimitiveType |
_boolean() |
protected com.sun.codemodel.JClass |
_Class() |
protected com.sun.codemodel.JDefinedClass |
_class(String name,
com.sun.codemodel.ClassType clazz) |
protected com.sun.codemodel.JClass |
_class(String typeName,
com.sun.codemodel.JClass... generics) |
protected com.sun.codemodel.JType |
_class(Type configuration,
boolean isPrimitivesEnabled) |
protected com.sun.codemodel.JClass |
_classByNames(String type,
String... generics) |
protected com.sun.codemodel.JClass |
_String() |
protected com.sun.codemodel.JType |
_type(String type,
String... generics) |
protected com.sun.codemodel.JPrimitiveType |
_void() |
protected void |
annotate(com.sun.codemodel.JAnnotatable annotatable,
Annotation annotation) |
protected void |
annotate(com.sun.codemodel.JAnnotatable annotatable,
Iterable<Annotation> annotationConfigurations) |
com.sun.codemodel.JExpression |
format(String string,
com.sun.codemodel.JExpression... params) |
protected com.sun.codemodel.JCodeModel |
getCodeModel() |
public AbstractSourceFactory(com.sun.codemodel.JCodeModel codeModel)
protected com.sun.codemodel.JCodeModel getCodeModel()
protected void annotate(com.sun.codemodel.JAnnotatable annotatable,
Iterable<Annotation> annotationConfigurations)
throws net.anwiba.commons.lang.exception.CreationException
net.anwiba.commons.lang.exception.CreationExceptionprotected void annotate(com.sun.codemodel.JAnnotatable annotatable,
Annotation annotation)
throws net.anwiba.commons.lang.exception.CreationException
net.anwiba.commons.lang.exception.CreationExceptionprotected com.sun.codemodel.JDefinedClass _class(String name, com.sun.codemodel.ClassType clazz) throws com.sun.codemodel.JClassAlreadyExistsException
com.sun.codemodel.JClassAlreadyExistsExceptionprotected com.sun.codemodel.JType _class(Type configuration, boolean isPrimitivesEnabled)
protected com.sun.codemodel.JClass _class(String typeName, com.sun.codemodel.JClass... generics)
protected com.sun.codemodel.JPrimitiveType _void()
protected com.sun.codemodel.JPrimitiveType _boolean()
protected com.sun.codemodel.JClass _String()
protected com.sun.codemodel.JClass _Class()
public com.sun.codemodel.JExpression format(String string, com.sun.codemodel.JExpression... params)
Copyright © 2007–2018 Andreas W. Bartels. All rights reserved.