// DIE's signature file
// Author: Levis <levintaeyeon@live.com>

init("format","Java Compiled Class");

function detect(bShowType,bShowVersion,bShowOptions)
{
    if(Binary.getSize()>=8)
    {
        if(Binary.compare("CAFEBABE"))
        {
            sVersion=Binary.readBEWord(6)+"."+Binary.readBEWord(4);
            bDetected=1;
        }
    }

    return result(bShowType,bShowVersion,bShowOptions);
}
