public static void suppress ( AccessibleObject [ ] accessibleObjects ) { if ( accessibleObjects == null ) { throw new IllegalArgumentException ( "accessibleObjects cannot be null" ) ; } for ( AccessibleObject accessibleObject : accessibleObjects ) { if ( accessibleObject instanceof Constructor < ? > ) { SuppressCode . suppressConstructor ( ( Constructor < ? > ) accessibleObject ) ; } else if ( accessibleObject instanceof Field ) { SuppressCode . suppressField ( ( Field ) accessibleObject ) ; } else if ( accessibleObject instanceof Method ) { SuppressCode . suppressMethod ( ( Method ) accessibleObject ) ; } } }
Suppress an array of accessible objects .