protected void reportTip ( final String iMessage ) { Orient . instance ( ) . getProfiler ( ) . reportTip ( iMessage ) ; List < String > tips = ( List < String > ) context . getVariable ( "tips" ) ; if ( tips == null ) { tips = new ArrayList < String > ( 3 ) ; context . setVariable ( "tips" , tips ) ; } tips . add ( iMessage ) ; }
Report the tip to the profiler and collect it in context to be reported by tools like Studio