public class MethodHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getPropertyName(Direction direction,
String methodName)
Get the correct field name from a method
|
static boolean |
isPropertyMethod(Direction direction,
org.jboss.jandex.MethodInfo method)
See if this is a getter or setter for a field property (depending on the direction)
|
static boolean |
isPropertyMethod(Direction direction,
String methodName)
Deprecated.
Use
isPropertyMethod(Direction, MethodInfo) instead |
public static String getPropertyName(Direction direction, String methodName)
direction - the directionmethodName - the method name@Deprecated public static boolean isPropertyMethod(Direction direction, String methodName)
isPropertyMethod(Direction, MethodInfo) insteaddirection - The directionmethodName - the methodNamepublic static boolean isPropertyMethod(Direction direction, org.jboss.jandex.MethodInfo method)
direction - The directionmethod - the methodCopyright © 2018–2022. All rights reserved.