APISonar


org.netbeans.modules.web.beans.CdiUtil.log

> org > netbeans > modules > web > beans > CdiUtil > log
org APIs netbeans APIs modules APIs web APIs beans APIs CdiUtil APIs log APIs

Example 1
protected void handleProject( Project project , ActionEvent event ) {
        String msg = null;
        if ( event == null ){
            msg = "USG_CDI_GO_TO_INJECTABLE_GLYPH";           // NOI18N
        }
        else {
            msg = "USG_CDI_GO_TO_INJECTABLE";                 // NOI18N
        }
        CdiUtil logger = project.getLookup().lookup(CdiUtil.class);
        if (logger != null) {
            logger.log(msg, 
                    GoToInjectableAtCaretAction.class, new Object[] { project
                            .getClass().getName() });
        }
    }