public class ExecutableModel extends Object implements MethodModel
| Constructor and Description |
|---|
ExecutableModel(ExecutableElement element,
ExecutableType type,
ModelFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
TypeModel |
declaringClass() |
boolean |
isConstructor() |
boolean |
isPublic() |
boolean |
isStatic() |
String |
name()
Get name of the method (simple string).
|
List<VarModel> |
parameters()
Get list of parameter (variable) models.
|
String |
propertyName() |
TypeModel |
type()
Get type model representing the return type.
|
public ExecutableModel(ExecutableElement element, ExecutableType type, ModelFactory factory)
public String name()
MethodModelname in interface MethodModelpublic TypeModel type()
MethodModeltype in interface MethodModelpublic String propertyName()
propertyName in interface MethodModelpublic List<VarModel> parameters()
MethodModelparameters in interface MethodModelpublic TypeModel declaringClass()
declaringClass in interface MethodModelpublic boolean isConstructor()
isConstructor in interface MethodModelpublic boolean isStatic()
isStatic in interface MethodModelpublic boolean isPublic()
isPublic in interface MethodModelCopyright © 2018. All rights reserved.