org.eclipse.edje/src/main/java/org/eclipse/edje/DefaultPeripheralRegistry.java
private <C extends Peripheral, P extends C> void check(Class<C> peripheralType, P peripheral, String action) {
		SecurityManager sm = System.getSecurityManager();
		if (sm != null) {
			sm.checkPermission(new PeripheralManagerPermission(peripheralType, peripheral, action));
		}
	}
/**
	 * Checks the given action for the given peripheral type.
	 *
	 * @param action
	 *            the permission to check.
	 * @param peripheralType
	 *            the peripheral type.
	 */
Checks the given action for the given peripheral type.
@param action
the permission to check.
@param peripheralType
the peripheral type.
Checks the given action for the given peripheral type . @param action the permission to check . @param peripheralType the peripheral type .
private <C extends Peripheral, P extends C> void check(Class<C> peripheralType, P peripheral, String action) {
		SecurityManager sm = System.getSecurityManager();
		if (sm != null) {
			sm.checkPermission(new PeripheralManagerPermission(peripheralType, peripheral, action));
		}
	}
private < C extends Peripheral , P extends C > void check ( Class < C > peripheralType , P peripheral , String action ) { SecurityManager sm = System . getSecurityManager ( ) ; if ( sm != null ) { sm . checkPermission ( new PeripheralManagerPermission ( peripheralType , peripheral , action ) ) ; } }
Checks the given action for the given peripheral type.
Checks the given action for the given peripheral type .