public final class MethodModel extends Object
| Constructor and Description |
|---|
MethodModel(ModelFactory factory,
ExecutableElement methodSymbol) |
| Modifier and Type | Method and Description |
|---|---|
TypeModel |
declaringClass() |
boolean |
isComplex(TypeModel typeModel) |
boolean |
isConstructor() |
boolean |
isSimple(TypeModel model) |
boolean |
isStatic() |
String |
name()
Get name of the method (simple string).
|
List<VarModel> |
parameters()
Get list of parameter (variable) models.
|
String |
propertyName() |
String |
toString() |
TypeModel |
type()
Get type model representing the return type.
|
public MethodModel(ModelFactory factory, ExecutableElement methodSymbol)
public String name()
public TypeModel type()
public String propertyName()
public List<VarModel> parameters()
public TypeModel declaringClass()
public boolean isConstructor()
public boolean isStatic()
public boolean isSimple(TypeModel model)
public boolean isComplex(TypeModel typeModel)
Copyright © 2018. All rights reserved.