public class ExecutableModel extends Object implements MethodModel
| Constructor and Description |
|---|
ExecutableModel(ExecutableElement element,
ExecutableType type,
ModelFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Map<String,Object>> |
annotations() |
TypeModel |
declaringClass() |
boolean |
isConstructor() |
boolean |
isFinal() |
boolean |
isPublic() |
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.
|
List<TypeModel> |
typeVariables() |
public ExecutableModel(ExecutableElement element, ExecutableType type, ModelFactory factory)
public String name()
MethodModelname in interface MethodModelpublic TypeModel type()
ElementModeltype in interface ElementModelpublic String propertyName()
propertyName in interface MethodModelpublic List<VarModel> parameters()
MethodModelparameters in interface MethodModelpublic List<TypeModel> typeVariables()
typeVariables in interface MethodModelpublic TypeModel declaringClass()
declaringClass in interface MethodModelpublic boolean isConstructor()
isConstructor in interface MethodModelpublic boolean isStatic()
isStatic in interface ElementModelpublic boolean isPublic()
isPublic in interface ElementModelpublic boolean isFinal()
isFinal in interface ElementModelpublic Map<String,Map<String,Object>> annotations()
annotations in interface ElementModelCopyright © 2019. All rights reserved.