/* ******************************************************************* * Copyright (c) 2008 Contributors * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v 2.0 * which accompanies this distribution and is available at * https://www.eclipse.org/org/documents/epl-2.0/EPL-2.0.txt * * ******************************************************************/ 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"); } }