( Method [] methods )
| 157 | } |
| 158 | |
| 159 | Method [] getPublicMethods( Method [] methods ) { |
| 160 | Vector v = new Vector(); |
| 161 | for(int i=0; i< methods.length; i++) |
| 162 | if ( Modifier.isPublic(methods[i].getModifiers()) ) |
| 163 | v.addElement( methods[i] ); |
| 164 | |
| 165 | Method [] ma = new Method [ v.size() ]; |
| 166 | v.copyInto( ma ); |
| 167 | return ma; |
| 168 | } |
| 169 | |
| 170 | Field[] getPublicFields( Field [] fields ) { |
| 171 | Vector v = new Vector(); |
no test coverage detected