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

gw.lang.reflect.gs.ISourceFileHandle Maven / Gradle / Ivy

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

package gw.lang.reflect.gs;

import gw.fs.IFile;
import gw.lang.parser.ISource;

public interface ISourceFileHandle
{
  public ISource getSource();
  default ISource getSource( boolean header )
  {
    return getSource();
  }

  public String getParentType();

  String getNamespace();

  String getFilePath();

  boolean isTestClass();

  boolean isValid();

  boolean isStandardPath();
  boolean isIncludeModulePath();

  public void cleanAfterCompile();

  ClassType getClassType();

  String getTypeNamespace();

  String getRelativeName();

  void setOffset( int iOffset );
  int getOffset();
  void setEnd( int iEnd );
  int getEnd();

  /**
   * @return a relative representation of the file appropriate for debugging/stack traces
   */
  String getFileName();

  IFile getFile();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy