Package org.jboss.reflect.spi

Examples of org.jboss.reflect.spi.InterfaceInfo


      checkTypeSet(expected, cinfo.getInterfaces());
   }

   public void testSimpleInterfaceClassInfo() throws Throwable
   {
      InterfaceInfo simpleInterfaceInfo = getSimpleInterfaceInfo();
     
      assertEquals(SimpleInterface.class.getName(), simpleInterfaceInfo.getName());
      InterfaceInfo[] superInterfaces = simpleInterfaceInfo.getInterfaces();
      assertTrue("No super interfaces ", superInterfaces == null);
   }
View Full Code Here


      assertTrue("No super interfaces ", superInterfaces == null);
   }

   public void testSimpleInterfaceFields() throws Throwable
   {
      InterfaceInfo simpleInterfaceInfo = getSimpleInterfaceInfo();
     
      checkFields(getSimpleInterfaceFields(), simpleInterfaceInfo.getDeclaredFields());
   }
View Full Code Here

      checkFields(getSimpleInterfaceFields(), simpleInterfaceInfo.getDeclaredFields());
   }

   public void testSimpleInterfaceMethods() throws Throwable
   {
      InterfaceInfo simpleInterfaceInfo = getSimpleInterfaceInfo();
     
      checkMethods(getSimpleInterfaceMethods(), simpleInterfaceInfo.getDeclaredMethods());
   }
View Full Code Here

  
   protected InterfaceInfo getSimpleInterfaceInfo()
   {
      ClassInfo cinfo = getClassInfo(SimpleBean.class);
     
      InterfaceInfo simpleInterfaceInfo = null;
      InterfaceInfo[] interfaces = cinfo.getInterfaces();
      for (int i = 0; i < interfaces.length; ++i)
      {
         if (SimpleInterface.class.getName().equals(interfaces[i].getName()))
         {
View Full Code Here

      checkTypeSet(expected, cinfo.getInterfaces());
   }

   public void testSimpleInterfaceClassInfo() throws Throwable
   {
      InterfaceInfo simpleInterfaceInfo = getSimpleInterfaceInfo();
     
      assertEquals(SimpleInterface.class.getName(), simpleInterfaceInfo.getName());
      InterfaceInfo[] superInterfaces = simpleInterfaceInfo.getInterfaces();
      assertTrue("No super interfaces ", superInterfaces == null);
   }
View Full Code Here

      assertTrue("No super interfaces ", superInterfaces == null);
   }

   public void testSimpleInterfaceFields() throws Throwable
   {
      InterfaceInfo simpleInterfaceInfo = getSimpleInterfaceInfo();
     
      checkFields(getSimpleInterfaceFields(), simpleInterfaceInfo.getDeclaredFields());
   }
View Full Code Here

      checkFields(getSimpleInterfaceFields(), simpleInterfaceInfo.getDeclaredFields());
   }

   public void testSimpleInterfaceMethods() throws Throwable
   {
      InterfaceInfo simpleInterfaceInfo = getSimpleInterfaceInfo();
     
      checkMethods(getSimpleInterfaceMethods(), simpleInterfaceInfo.getDeclaredMethods());
   }
View Full Code Here

      checkMethods(getSimpleInterfaceMethods(), simpleInterfaceInfo.getDeclaredMethods());
   }

   public void testAnotherInterfaceMethod() throws Throwable
   {
      InterfaceInfo anotherInterfaceInfo = getAnotherInterfaceInfo();
     
      compareMethod(getAnotherInterfaceSomeMethod(), anotherInterfaceInfo.getDeclaredMethod("someMethod", null));
   }
View Full Code Here

  
   protected InterfaceInfo getSimpleInterfaceInfo()
   {
      ClassInfo cinfo = getClassInfo(SimpleBean.class);
     
      InterfaceInfo simpleInterfaceInfo = null;
      InterfaceInfo[] interfaces = cinfo.getInterfaces();
      for (int i = 0; i < interfaces.length; ++i)
      {
         if (SimpleInterface.class.getName().equals(interfaces[i].getName()))
         {
View Full Code Here

  
   protected InterfaceInfo getAnotherInterfaceInfo()
   {
      ClassInfo cinfo = getClassInfo(AnotherBean.class);
     
      InterfaceInfo anotherInterfaceInfo = null;
      InterfaceInfo[] interfaces = cinfo.getInterfaces();
      for (int i = 0; i < interfaces.length; ++i)
      {
         if (AnotherInterface.class.getName().equals(interfaces[i].getName()))
         {
View Full Code Here

TOP

Related Classes of org.jboss.reflect.spi.InterfaceInfo

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.