public static < T > String getInstanceVariables ( Class < T > clas ) { StringBuffer fieldsString = new StringBuffer ( ) ; Field [ ] fields = clas . getDeclaredFields ( ) ; int i = 0 ; for ( Field field : fields ) { if ( i ++ > 0 ) { fieldsString . append ( JK . CSV_SEPARATOR ) ; } fieldsString . append ( field . getName ( ) ) ; } return fieldsString . toString ( ) ; }
Gets the instance variables .