Interface OfficeFloorJavaCompiler.MethodWriterContext

    • Method Detail

      • getInterface

        java.lang.Class<?> getInterface()
        Obtains the Class of the interface being implemented.
        Returns:
        Class of the interface being implemented.
      • getMethod

        java.lang.reflect.Method getMethod()
        Obtains the Method being implemented.
        Returns:
        Method being implemented.
      • setReturnWrapClass

        void setReturnWrapClass​(java.lang.String className)

        Specifies the return wrap Class.

        This results in implementation of the form:

        return new <className>(<default delegation>);

        Parameters:
        className - Wrap Class.
      • write

        void write​(java.lang.String source)
        Writes custom source implementation.
        Parameters:
        source - Source for custom implementation.
      • writeln

        void writeln​(java.lang.String source)
        Writes custom source line implementation.
        Parameters:
        source - Source line for custom implementation.