example.platform.power/src/example/platform/power/DebugCommands.java
@Descriptor("Creates a WakeLock with a given ID")
    public WakeLock createWakeLock(
            @Descriptor("The lock ID")
            final String lockId)
    {
        return m_CorePowerManager.createWakeLock(this.getClass(), lockId);
    }
/**
     * Helper method to create a WakeLock from the shell
     * @param lockId
     *      the identification string of the lock
     * @return
     *      the newly created WakeLock
     */
Helper method to create a WakeLock from the shell
@param lockId
the identification string of the lock
@return
the newly created WakeLock
Helper method to create a WakeLock from the shell @param lockId the identification string of the lock @return the newly created WakeLock
@Descriptor("Creates a WakeLock with a given ID")
    public WakeLock createWakeLock(
            @Descriptor("The lock ID")
            final String lockId)
    {
        return m_CorePowerManager.createWakeLock(this.getClass(), lockId);
    }
@ Descriptor ( "Creates a WakeLock with a given ID" ) public WakeLock createWakeLock ( @ Descriptor ( "The lock ID" ) final String lockId ) { return m_CorePowerManager . createWakeLock ( this . getClass ( ) , lockId ) ; }
Helper method to create a WakeLock from the shell
 @param lockId
      the identification string of the lock
 @return
      the newly created WakeLock
Helper method to create a WakeLock from the shell @param lockId the identification string of the lock @return the newly created WakeLock