Package cuchaz.enigma.analysis

Examples of cuchaz.enigma.analysis.ClassImplementationsTreeNode


  }
 
  @Test
  public void classImplementations( )
  {
    ClassImplementationsTreeNode node = m_index.getClassImplementations( new Translator(), newClass( "none/a" ) );
    assertThat( node, is( nullValue() ) );
  }
View Full Code Here


          }
         
          Object node = path.getLastPathComponent();
          if( node instanceof ClassImplementationsTreeNode )
          {
            ClassImplementationsTreeNode classNode = (ClassImplementationsTreeNode)node;
            navigateTo( classNode.getClassEntry() );
          }
          else if( node instanceof MethodImplementationsTreeNode )
          {
            MethodImplementationsTreeNode methodNode = (MethodImplementationsTreeNode)node;
            navigateTo( methodNode.getMethodEntry() );
View Full Code Here

    m_implementationsTree.setModel( null );
   
    if( m_reference.entry instanceof ClassEntry )
    {
      // get the class implementations
      ClassImplementationsTreeNode node = m_controller.getClassImplementations( (ClassEntry)m_reference.entry );
      if( node != null )
      {
        // show the tree at the root
        TreePath path = getPathToRoot( node );
        m_implementationsTree.setModel( new DefaultTreeModel( (TreeNode)path.getPathComponent( 0 ) ) );
View Full Code Here

    }
   
    // stuff from the jar index
   
    m_implementations = HashMultiset.create();
    ClassImplementationsTreeNode implementationsNode = index.getClassImplementations( null, m_classEntry );
    if( implementationsNode != null )
    {
      @SuppressWarnings( "unchecked" )
      Enumeration<ClassImplementationsTreeNode> implementations = implementationsNode.children();
      while( implementations.hasMoreElements() )
      {
        ClassImplementationsTreeNode node = implementations.nextElement();
        m_implementations.add( scrubClassName( node.getClassEntry().getName() ) );
      }
    }
   
    m_references = HashMultiset.create();
    if( useReferences )
View Full Code Here

TOP

Related Classes of cuchaz.enigma.analysis.ClassImplementationsTreeNode

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.