blob: 6788bb230d0fe63a18e727be86098084cd3e9cb5 [file] [log] [blame]
// AspectJ Extension
/*******************************************************************************
* Copyright (c) 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.internal.compiler;
import org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration;
import org.eclipse.jdt.internal.compiler.env.ICompilationUnit;
/**
* An ICompilerAdapter will be called by the compiler at strategic
* points during compilation, allowing the adapter to perform additional
* processing as required.
*/
public interface ICompilerAdapter {
void beforeCompiling(ICompilationUnit[] sourceUnits);
void afterCompiling(CompilationUnitDeclaration[] units);
void beforeProcessing(CompilationUnitDeclaration unit);
void afterProcessing(CompilationUnitDeclaration unit, int unitIndex);
void beforeResolving(CompilationUnitDeclaration unit,
ICompilationUnit sourceUnit,
boolean verifyMethods,
boolean analyzeCode,
boolean generateCode);
void afterResolving(CompilationUnitDeclaration unit,
ICompilationUnit sourceUnit,
boolean verifyMethods,
boolean analyzeCode,
boolean generateCode);
}
// End AspectJ Extension