Logo Search packages:      
Sourcecode: aspectj version File versions  Download package

TemporaryTypeMunger.java

/* *******************************************************************
 * 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 wierd...
 * 
 * @author AndyClement
 */
00021 public class TemporaryTypeMunger extends ConcreteTypeMunger {

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

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

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

}

Generated by  Doxygen 1.6.0   Back to index