public static Field [ ] getDeclaredFields ( Field relationalField ) { Field [ ] fields ; if ( isCollection ( relationalField . getType ( ) ) ) { fields = PropertyAccessorHelper . getGenericClass ( relationalField ) . getDeclaredFields ( ) ; } else { fields = relationalField . getType ( ) . getDeclaredFields ( ) ; } return fields ; }
Gets the declared fields .