public interface MethodModel extends ElementModel
| Modifier and Type | Method and Description |
|---|---|
TypeModel |
declaringClass() |
boolean |
isConstructor() |
String |
name()
Get name of the method (simple string).
|
List<VarModel> |
parameters()
Get list of parameter (variable) models.
|
List<TypeModel> |
parameterTypes() |
String |
propertyName()
Get property name using standard prefixes - setX/getX/isX.
|
String |
toProperty(String regexPrefix,
String group)
Convert method name to property name by replacement using regular expression end replacement group.
|
List<TypeModel> |
typeVariables() |
annotations, isFinal, isPublic, isStatic, typeString name()
String propertyName()
String toProperty(String regexPrefix, String group)
regexPrefix - Regular expression to match property name part of the method name.group - Which group identifies the name.List<VarModel> parameters()
TypeModel declaringClass()
boolean isConstructor()
Copyright © 2019. All rights reserved.