[java] Are there inline functions in java?