All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.aspectj.weaver.TemporaryTypeMunger Maven / Gradle / Ivy

/* *******************************************************************
 * Copyright (c) 2008 Contributors
 * All rights reserved. 
 * This program and the accompanying materials are made available 
 * under the terms of the Eclipse Public License v1.0 
 * which accompanies this distribution and is available at 
 * http://www.eclipse.org/legal/epl-v10.html 
 *  
 * ******************************************************************/
package org.aspectj.weaver;

import java.util.Map;

/**
 * Some methods need a temporary type munger (because ConcreteTypeMunger is abstract - dont ask...).
 * 
 * TODO ought to remove the need for this or at least sort out the two methods that are in it, they look weird...
 * 
 * @author AndyClement
 */
public class TemporaryTypeMunger extends ConcreteTypeMunger {

	public TemporaryTypeMunger(ResolvedTypeMunger munger, ResolvedType aspectType) {
		super(munger, aspectType);
	}

	@Override
	public ConcreteTypeMunger parameterizeWith(Map parameterizationMap, World world) {
		throw new UnsupportedOperationException("Cannot be called on a TemporaryTypeMunger");
	}

	@Override
	public ConcreteTypeMunger parameterizedFor(ResolvedType targetType) {
		throw new UnsupportedOperationException("Cannot be called on a TemporaryTypeMunger");
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy