public String getMethodAsString ( ) { if ( ! ( method instanceof ConstantExpression ) ) return null ; ConstantExpression constant = ( ConstantExpression ) method ; return constant . getText ( ) ; }
This method returns the method name as String if it is no dynamic calculated method name but a constant .