if (LOG.isLoggable(Level.FINE)) {
LOG.fine("Ignoring transient member " + m);
}
return true;
} else if (m instanceof AnnotatedMethod) {
AnnotatedMethod method = (AnnotatedMethod) m;
String methodName = method.getName();
// lets see if there is a transient field of the same name as the getter
if (methodName.startsWith("get") && method.getParameterCount() == 0) {
String fieldName = Introspector.decapitalize(methodName.substring(3));
Class<?> declaringClass = method.getDeclaringClass();
Field field = findField(fieldName, declaringClass);
if (field != null) {
int fieldModifiers = field.getModifiers();
if (Modifier.isTransient(fieldModifiers)) {
LOG.fine("Ignoring member " + m + " due to transient field called " + fieldName);