Package javax.tools

Class ForwardingJavaFileObject<F extends JavaFileObject>

  • Type Parameters:
    F - the kind of file object forwarded to by this object
    All Implemented Interfaces:
    FileObject, JavaFileObject

    public class ForwardingJavaFileObject<F extends JavaFileObject>
    extends ForwardingFileObject<F>
    implements JavaFileObject
    Forwards calls to a given file object. Subclasses of this class might override some of these methods and might also provide additional fields and methods.
    Since:
    1.6
    • Constructor Detail

      • ForwardingJavaFileObject

        protected ForwardingJavaFileObject​(F fileObject)
        Creates a new instance of ForwardingJavaFileObject.
        Parameters:
        fileObject - delegate to this file object