Package org.jboss.reflect.spi

Examples of org.jboss.reflect.spi.EnumValue


   private void checkEnumValue(Value value, String expected)
   {
      assertNotNull(value);
      assertTrue(EnumValue.class.isAssignableFrom(value.getClass()));
      EnumValue theVal = (EnumValue)value;
      TypeInfo info = theVal.getType();
      assertNotNull(info);
      assertEquals(TestEnum.class.getName(), info.getName());
      String val = theVal.getValue();
      assertNotNull(val);
      assertEquals(expected, val);
   }
View Full Code Here

TOP

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

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.