public class LazyMethodModel extends LazyGenericModel implements MethodModel
| Constructor and Description |
|---|
LazyMethodModel(Supplier<List<AnnotationModel>> annotationSupplier,
boolean isStatic,
boolean isPublic,
Supplier<List<TypeModel>> typeParameters,
TypeModel returnType,
String name,
Supplier<List<VarModel>> parametersSupplier,
Supplier<List<StatementModel>> bodySupplier) |
| Modifier and Type | Method and Description |
|---|---|
List<StatementModel> |
body() |
String |
name() |
List<VarModel> |
parameters() |
boolean |
returnsValue() |
TypeModel |
returnType() |
typeParametersannotations, isPublic, isStaticclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittypeParametersannotations, isPublic, isStaticpublic TypeModel returnType()
returnType in interface MethodModelpublic String name()
name in interface MethodModelpublic List<VarModel> parameters()
parameters in interface MethodModelpublic boolean returnsValue()
returnsValue in interface MethodModelpublic List<StatementModel> body()
body in interface MethodModelCopyright © 2019. All rights reserved.