create [or replace] function FUNC-NAME as JAVACLASS.METHOD [spec CALC-SPEC-STRING [comment COMMENT-STRING] ] [with property runtime]