FileDocCategorySizeDatePackage
ForwardingJavaFileObject.javaAPI DocJava SE 6 API1458Tue Jun 10 00:27:02 BST 2008javax.tools

ForwardingJavaFileObject

public class ForwardingJavaFileObject extends ForwardingFileObject 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.
param
the kind of file object forwarded to by this object
author
Peter von der Ahé
since
1.6

Fields Summary
Constructors Summary
protected ForwardingJavaFileObject(F fileObject)
Creates a new instance of ForwardingJavaFileObject.

param
fileObject delegate to this file object

	super(fileObject);
    
Methods Summary
public javax.lang.model.element.ModifiergetAccessLevel()

 return fileObject.getAccessLevel(); 
public KindgetKind()

        return fileObject.getKind();
    
public javax.lang.model.element.NestingKindgetNestingKind()

 return fileObject.getNestingKind(); 
public booleanisNameCompatible(java.lang.String simpleName, Kind kind)

        return fileObject.isNameCompatible(simpleName, kind);