Uses of Class
io.helidon.codegen.classmodel.Method.Builder
-
Uses of Method.Builder in io.helidon.codegen.classmodel
Modifier and TypeMethodDescriptionMethod.Builder.addGenericArgument
(TypeArgument typeArgument) Add generic argument to be declared by this method.static Method.Builder
Method.builder()
Create newMethod.Builder
instance.Method.Builder.isAbstract
(boolean isAbstract) Whether this method is abstract.Method.Builder.isDefault
(boolean isDefault) Whether this method is default.Method.Builder.isFinal
(boolean isFinal) Whether this method is final.Method.Builder.isStatic
(boolean isStatic) Whether this method is static.Method.Builder.returnType
(Returns returnType) Set return type of the method.Method.Builder.returnType
(TypeName type) Set return type of the method.Method.Builder.returnType
(TypeName type, String description) Set return type of the method.Method.Builder.returnType
(Consumer<Returns.Builder> consumer) Set return type of the method.Method.Builder.returnType
(Supplier<Returns> supplier) Set return type of the method.Modifier and TypeMethodDescriptionClassBase.Builder.addMethod
(Method.Builder builder) Add new method to the type.Modifier and TypeMethodDescriptionClassBase.Builder.addMethod
(Consumer<Method.Builder> consumer) Add new method to the type.