Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package com.sun.xml.bind.v2.runtime.reflect;
 /*    */ 
 /*    */ import java.text.MessageFormat;
 /*    */ import java.util.ResourceBundle;
 /*    */ 
 /*    */  enum Messages
 /*    */ {
 /* 47 */   UNABLE_TO_ACCESS_NON_PUBLIC_FIELD, 
 /* 48 */   UNASSIGNABLE_TYPE, 
/* 49 */   NO_SETTER, 
/* 50 */   NO_GETTER;
/*    */ 
/*    */   private static final ResourceBundle rb;
/*    */ 
/*    */   public String toString() {
/* 56 */     return format(new Object[0]);
/*    */   }
/*    */ 
/*    */   public String format(Object[] args) {
/* 60 */     return MessageFormat.format(rb.getString(name()), args);
/*    */   }
/*    */ 
/*    */   static
/*    */   {
/* 53 */     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.reflect.Messages
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X