protected static int installationOrder ( Skill skill ) { final int len = StandardBuiltinCapacitiesProvider . SKILL_INSTALLATION_ORDER . length ; if ( skill instanceof BuiltinSkill ) { for ( int i = 0 ; i < len ; ++ i ) { final Class < ? extends Skill > type = StandardBuiltinCapacitiesProvider . SKILL_INSTALLATION_ORDER [ i ] ; if ( type . isInstance ( skill ) ) { return i ; } } } return len ; }
Replies the installation order of the given skill .