org.hibernate.metamodel.source.annotations
Class ReflectionHelper
java.lang.Object
org.hibernate.metamodel.source.annotations.ReflectionHelper
public class ReflectionHelper
- extends Object
Some helper methods for reflection tasks
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getPropertyName
public static String getPropertyName(Member member)
- Process bean properties getter by applying the JavaBean naming conventions.
- Parameters:
member
- the member for which to get the property name.
- Returns:
- The bean method name with the "is" or "get" prefix stripped off,
null
the method name id not according to the JavaBeans standard.
isProperty
public static boolean isProperty(Member m)
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.