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

editor.shipit.CompiledClass Maven / Gradle / Ivy

There is a newer version: 1.18.1
Show newest version
package editor.shipit;

import gw.lang.parser.IFileRepositoryBasedType;

/**
 */
public class CompiledClass
{
  private final IFileRepositoryBasedType _type;
  private final byte[] _bytes;

  public CompiledClass( IFileRepositoryBasedType type, byte[] bytes )
  {
    _type = type;
    _bytes = bytes;
  }

  public IFileRepositoryBasedType getType()
  {
    return _type;
  }

  public byte[] getBytes()
  {
    return _bytes;
  }

  public boolean isErrant()
  {
    return _bytes == null || _bytes.length == 0;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy