786787788789790791792793794795796
private float getBoost(XClass element) { float boost = 1.0f; if ( element == null ) { return boost; } Boost boostAnnotation = element.getAnnotation( Boost.class ); if ( boostAnnotation != null ) { boost = boostAnnotation.value(); } return boost; }