public static boolean isMethodVisibleInTemplate ( ExecutableElement method ) { return isMethodVisibleInJS ( method ) && ! hasAnnotation ( method , Computed . class ) && ! hasAnnotation ( method , Watch . class ) && ! hasAnnotation ( method , PropValidator . class ) && ! hasAnnotation ( method , PropDefault . class ) && ! method . getModifiers ( ) . contains ( Modifier . STATIC ) && ! method . getModifiers ( ) . contains ( Modifier . PRIVATE ) ; }
Check if a given method is usable in the template