com.helger.commons.error.IResourceLocation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ph-commons Show documentation
Show all versions of ph-commons Show documentation
Java 1.6+ Library with tons of utility classes required in all projects
package com.helger.commons.error;
import javax.annotation.Nullable;
import com.helger.commons.error.location.IErrorLocation;
import com.helger.commons.string.StringHelper;
/**
* @deprecated Use {@link IErrorLocation} instead.
* @author Philip Helger
*/
@Deprecated
public interface IResourceLocation extends IErrorLocation
{
/**
* @return The field where the error occurred. Sometimes this field is
* available instead of the line- and column numbers. May be
* null
.
*/
@Nullable
String getField ();
default boolean hasField ()
{
return StringHelper.hasText (getField ());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy