Package cuchaz.enigma.analysis

Examples of cuchaz.enigma.analysis.Token


    //tree.acceptVisitor( new TreeDumpVisitor( new File( "tree." + entry.getClassName().replace( '/', '.' ) + ".txt" ) ), null );
    String source = m_deobfuscator.getSource( tree );
    SourceIndex index = m_deobfuscator.getSourceIndex( tree, source );
   
    // get the token value
    Token token = index.getDeclarationToken( entry );
    if( token == null )
    {
      return null;
    }
    return source.substring( token.start, token.end );
View Full Code Here


      @Override
      public void mouseClicked( MouseEvent event )
      {
        if( event.getClickCount() == 2 )
        {
          Token selected = m_tokens.getSelectedValue();
          if( selected != null )
          {
            showToken( selected );
          }
        }
View Full Code Here

    panel.add( GuiTricks.unboldLabel( new JLabel( value, JLabel.LEFT ) ) );
  }
 
  private void onCaretMove( int pos )
  {
    Token token = m_controller.getToken( pos );
    boolean isToken = token != null;
   
    m_reference = m_controller.getDeobfReference( token );
    boolean isClassEntry = isToken && m_reference.entry instanceof ClassEntry;
    boolean isFieldEntry = isToken && m_reference.entry instanceof FieldEntry;
View Full Code Here

TOP

Related Classes of cuchaz.enigma.analysis.Token

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.