Package org.dmd.dmt

Source Code of org.dmd.dmt.TestLogger

package org.dmd.dmt;

import org.dmd.dmc.DmcAttribute;
import org.dmd.dmc.DmcLoggerIF;
import org.dmd.dmc.DmcNamedObjectIF;
import org.dmd.dmc.DmcObject;
import org.dmd.dmc.DmcObjectName;

public class TestLogger implements DmcLoggerIF {

  @Override
  public void logDeadReference(DmcObject referrer, DmcAttribute<?> viaAttribute, DmcObjectName referenceTo) {
    DmcNamedObjectIF from = (DmcNamedObjectIF) referrer;
    System.out.println("Couldn't resolve reference from " + from.getObjectName() + " via " + viaAttribute.getName() + " to " + referenceTo);
   
  }

}
TOP

Related Classes of org.dmd.dmt.TestLogger

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.