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

gw.lang.parser.exceptions.ImplicitCoercionWarning Maven / Gradle / Ivy

There is a newer version: 1.18.2
Show newest version
/*
 * Copyright 2014 Guidewire Software, Inc.
 */

package gw.lang.parser.exceptions;

import gw.lang.parser.resources.ResourceKey;
import gw.lang.parser.IParserState;
import gw.lang.reflect.IType;

public class ImplicitCoercionWarning extends ParseWarning implements ICoercionIssue
{
  private IType _typeToCoerceTo;

  public ImplicitCoercionWarning( IParserState standardParserState,
                                  ResourceKey msgImplicitCoercionWarning,
                                  IType typeToCoerceTo,
                                  Object... args )
  {
    super( standardParserState, msgImplicitCoercionWarning, args );
    _typeToCoerceTo = typeToCoerceTo;
  }

  public IType getTypeToCoerceTo()
  {
    return _typeToCoerceTo;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy