Package org.burningwave.core.classes
Class FunctionSourceGenerator
java.lang.Object
org.burningwave.core.classes.SourceGenerator.Abst
org.burningwave.core.classes.FunctionSourceGenerator
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.burningwave.core.classes.SourceGenerator
SourceGenerator.Abst -
Method Summary
Modifier and TypeMethodDescriptionaddAnnotation(AnnotationSourceGenerator... annotations) addBodyCode(String... codes) addBodyCodeLine(String... code) addBodyElement(SourceGenerator... generators) addModifier(Integer modifier) addOuterCodeLine(String... codes) addParameter(VariableSourceGenerator... parameters) addThrowable(TypeDeclarationSourceGenerator... throwables) static FunctionSourceGeneratorcreate()static FunctionSourceGeneratormake()setBody(BodySourceGenerator body) setReturnType(Class<?> returnType) setReturnType(String name) setReturnType(GenericSourceGenerator returnType) setReturnType(TypeDeclarationSourceGenerator returnType) setTypeDeclaration(TypeDeclarationSourceGenerator typesDeclaration) Methods inherited from class org.burningwave.core.classes.SourceGenerator.Abst
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.burningwave.core.classes.SourceGenerator
_toString, serialize, serializeToPath
-
Method Details
-
create
-
create
-
addModifier
-
setDefault
-
setTypeDeclaration
-
setReturnType
-
setReturnType
-
setReturnType
-
setReturnType
-
addParameter
-
addThrowable
-
addOuterCodeLine
-
addAnnotation
-
setBody
-
addBodyCode
-
addBodyCodeLine
-
addBodyElement
-
useType
-
make
-