public static File getSourceFile( TypeDeclaration decl, boolean mustBeNonNull )
{
decl = getOutermostClass( decl );
SourcePosition position = decl.getPosition();
if ( mustBeNonNull ) assert position != null : "no source file for " + decl.toString();
return position != null ? position.file() : null;
}
public static class ExtendedAnnotationProcessorEnvironment
implements AnnotationProcessorEnvironment
{