Examples of inspect()


Examples of com.sun.star.beans.XIntrospection.inspect()

            m_oUnoObject = _oUnoObject;
            Object o = m_xMCF.createInstanceWithContext("com.sun.star.beans.Introspection", m_xContext);
            XIntrospection m_xIntrospection = ( XIntrospection ) UnoRuntime.queryInterface(XIntrospection.class, o );
            // the variable m_xIntrospectionAccess offers functionality to access all methods and properties
            // of a variable
            m_xIntrospectionAccess = m_xIntrospection.inspect(_oUnoObject);
        } catch (com.sun.star.uno.Exception ex) {
            ex.printStackTrace();
        }
    }
   
View Full Code Here

Examples of de.tuhrig.thofu.types.LObject.inspect()

          area.setText(
              "Action:" + TP + TP + obj0 + NL +
              "Step:" + TP + TP + obj1 + NL
              );
         
          area.append(obj2.inspect());
         
          JScrollPane scrollPane = new JScrollPane(area);
         
          area.setCaretPosition(0);
          scrollPane.getVerticalScrollBar().setValue(0);
View Full Code Here

Examples of io.airlift.configuration.ConfigurationInspector.inspect()

        columnPrinter.addColumn(PROPERTY_NAME_COLUMN);
        columnPrinter.addColumn(DEFAULT_VALUE_COLUMN);
        columnPrinter.addColumn(CURRENT_VALUE_COLUMN);
        columnPrinter.addColumn(DESCRIPTION_COLUMN);

        for (ConfigRecord<?> record : configurationInspector.inspect(configurationFactory)) {
            for (ConfigAttribute attribute : record.getAttributes()) {
                columnPrinter.addValue(PROPERTY_NAME_COLUMN, attribute.getPropertyName());
                columnPrinter.addValue(DEFAULT_VALUE_COLUMN, attribute.getDefaultValue());
                columnPrinter.addValue(CURRENT_VALUE_COLUMN, attribute.getCurrentValue());
                columnPrinter.addValue(DESCRIPTION_COLUMN, attribute.getDescription());
View Full Code Here

Examples of net.sf.joafip.meminspector.service.inspect.MemInspector.inspect()

      map.put(count, random.nextInt());
    }
    for (int count = 5000; count < 10000; count++) {
      map.remove(count);
    }
    memInspector.inspect(map, false);
    for (int count = 10000; count < 15000; count++) {
      map.put(count, random.nextInt());
    }
    for (int count = 10000; count < 15000; count++) {
      map.remove(count);
View Full Code Here

Examples of org.OpenOffice.XInstanceInspector.inspect()

      XInstanceInspector xinstanceinspector = ( XInstanceInspector )
      UnoRuntime.queryInterface( XInstanceInspector.class,
      objectInstanceInspector );
     
      // Inspect the calc
      xinstanceinspector.inspect( xcomponent );
     
      // Remove instance inspector from the container
      xsetMultiComponentFactory.remove( xsingleservicefactoryInstanceInspector );   

      System.out.println("\nPlease inspect the new spreadsheet document component." +
View Full Code Here

Examples of org.antlr.v4.runtime.ParserRuleContext.inspect()

        if ( printTree ) {
          System.out.println(tree.toStringTree(parser));
        }
        if ( gui ) {
          tree.inspect(parser);
        }
        if ( psFile!=null ) {
          tree.save(parser, psFile); // Generate postscript
        }
      }
View Full Code Here

Examples of org.apache.thrift.transport.TMemoryBuffer.inspect()

        System.out.println("Actual: " + objRead.toString());
        // System.out.println(buf.inspect());
        throw new RuntimeException("Objects didn't match!");
      }
    } catch (Exception e) {
      System.out.println(buf.inspect());
      throw e;
    }
  }

  public static void testMessage() throws Exception {
View Full Code Here

Examples of org.broadleafcommerce.openadmin.server.service.persistence.PersistenceManager.inspect()

            @Override
            public PersistenceResponse execute() throws ServiceException {
                String ceilingEntityFullyQualifiedClassname = persistencePackage.getCeilingEntityFullyQualifiedClassname();
                try {
                    PersistenceManager persistenceManager = PersistenceManagerFactory.getPersistenceManager();
                    return persistenceManager.inspect(persistencePackage);
                } catch (ServiceException e) {
                    String message = exploitProtectionService.cleanString(e.getMessage());
                    throw recreateSpecificServiceException(e, message, e.getCause());
                } catch (Exception e) {
                    LOG.error("Problem inspecting results for " + ceilingEntityFullyQualifiedClassname, e);
View Full Code Here

Examples of org.jboss.forge.addon.scaffold.metawidget.MetawidgetInspectorFacade.inspect()

         // Inspect the JPA entity and obtain a list of inspection results. Every inspected property is represented as a
         // Map<String,String> and all such inspection results are collated into a list.
         MetawidgetInspectorFacade metawidgetInspectorFacade = new MetawidgetInspectorFacade(project);
         InspectionResultProcessor angularResultEnhancer = new InspectionResultProcessor(project,
                  metawidgetInspectorFacade);
         List<Map<String, String>> inspectionResults = metawidgetInspectorFacade.inspect(entity);
         String entityId = angularResultEnhancer.fetchEntityId(entity, inspectionResults);
         inspectionResults = angularResultEnhancer.enhanceResults(entity, inspectionResults);

         MetadataFacet metadata = project.getFacet(MetadataFacet.class);
View Full Code Here

Examples of org.jruby.compiler.ASTInspector.inspect()

        } else {
            classname = filename.replace('\\', '/').replaceAll(".rb", "").replaceAll("-","_dash_");
        }

        ASTInspector inspector = new ASTInspector();
        inspector.inspect(node);
           
        StandardASMCompiler asmCompiler = new StandardASMCompiler(classname, filename);
        ASTCompiler compiler = new ASTCompiler();
        compiler.compileRoot(node, asmCompiler, inspector);
        byte[] bts = asmCompiler.getClassByteArray();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.