Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package com.sun.xml.bind.v2.runtime.property;
 /*    */ 
 /*    */ import java.text.MessageFormat;
 /*    */ import java.util.ResourceBundle;
 /*    */ 
 /*    */  enum Messages
 /*    */ {
 /* 46 */   UNSUBSTITUTABLE_TYPE, 
 /* 47 */   UNEXPECTED_JAVA_TYPE;
/*    */ 
/*    */   private static final ResourceBundle rb;
/*    */ 
/*    */   public String toString() {
/* 53 */     return format(new Object[0]);
/*    */   }
/*    */ 
/*    */   public String format(Object[] args) {
/* 57 */     return MessageFormat.format(rb.getString(name()), args);
/*    */   }
/*    */ 
/*    */   static
/*    */   {
/* 50 */     rb = ResourceBundle.getBundle(Messages.class.getName());
/*    */   }
/*    */ }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     com.sun.xml.bind.v2.runtime.property.Messages
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X