Class DerivedCodeSpec
java.lang.Object
org.derive4j.processor.api.DerivedCodeSpec
- Direct Known Subclasses:
DerivedCodeSpecs.CodeSpec, DerivedCodeSpecs.Lazy
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal DerivedCodeSpecfinal List<com.squareup.javapoet.TypeSpec> classes()static DerivedCodeSpeccodeSpec(com.squareup.javapoet.FieldSpec field, com.squareup.javapoet.MethodSpec method) static DerivedCodeSpeccodeSpec(com.squareup.javapoet.TypeSpec classes, com.squareup.javapoet.FieldSpec field, com.squareup.javapoet.MethodSpec method) static DerivedCodeSpeccodeSpec(com.squareup.javapoet.TypeSpec clazz, com.squareup.javapoet.MethodSpec method) static DerivedCodeSpecstatic DerivedCodeSpeccodeSpec(List<com.squareup.javapoet.TypeSpec> classes, com.squareup.javapoet.FieldSpec field, com.squareup.javapoet.MethodSpec method) static DerivedCodeSpecprivate static <A> List<A> final List<com.squareup.javapoet.FieldSpec> fields()abstract <R> Rmatch(DerivedCodeSpec.Cases<R> cases) final List<com.squareup.javapoet.MethodSpec> methods()static DerivedCodeSpecmethodSpec(com.squareup.javapoet.MethodSpec method) static DerivedCodeSpecmethodSpecs(List<com.squareup.javapoet.MethodSpec> methods) static DerivedCodeSpecnone()
-
Constructor Details
-
DerivedCodeSpec
DerivedCodeSpec()
-
-
Method Details
-
codeSpec
public static DerivedCodeSpec codeSpec(com.squareup.javapoet.TypeSpec classes, com.squareup.javapoet.FieldSpec field, com.squareup.javapoet.MethodSpec method) -
codeSpec
public static DerivedCodeSpec codeSpec(com.squareup.javapoet.TypeSpec clazz, com.squareup.javapoet.MethodSpec method) -
codeSpec
public static DerivedCodeSpec codeSpec(com.squareup.javapoet.TypeSpec clazz, List<com.squareup.javapoet.MethodSpec> methods) -
codeSpec
public static DerivedCodeSpec codeSpec(com.squareup.javapoet.FieldSpec field, com.squareup.javapoet.MethodSpec method) -
codeSpec
public static DerivedCodeSpec codeSpec(List<com.squareup.javapoet.TypeSpec> classes, com.squareup.javapoet.MethodSpec method) -
codeSpec
public static DerivedCodeSpec codeSpec(List<com.squareup.javapoet.TypeSpec> classes, com.squareup.javapoet.FieldSpec field, com.squareup.javapoet.MethodSpec method) -
methodSpecs
-
methodSpec
-
none
-
match
-
append
-
classes
-
fields
-
methods
-
concat
-