Package org.jboss.serial.classmetamodel

Examples of org.jboss.serial.classmetamodel.ClassMetaData$GhostConstructorPersistentReference


/* 122 */     }if (name.equals("short"))
/*     */     {
/* 124 */       return Short.TYPE;
/*     */     }
/*     */
/* 128 */     ClassMetaData metaData = ClassMetamodelFactory.getClassMetaData(name, resolver, loader, false);
/* 129 */     if (metaData.isArray())
/*     */     {
/* 131 */       return metaData.getArrayRepresentation();
/*     */     }
/*     */
/* 135 */     return metaData.getClazz();
/*     */   }
View Full Code Here


/*     */   public Object readData(ClassLoader loader, StreamingClass streaming, ClassMetaData nonUsedmetaData, int referenceId, ObjectsCache cache, ObjectInput input, ObjectSubstitutionInterface substitution) throws IOException {
/*  74 */     String instanceName = null;
/*  75 */     Class enumClass = null;
/*  76 */     String classEnum = input.readUTF();
/*     */     IOException ioException;
/*     */     try { ClassMetaData enummetaData = ClassMetamodelFactory.getClassMetaData(classEnum, cache.getClassResolver(), loader, true);
/*  80 */       enumClass = enummetaData.getClazz();
/*  81 */       instanceName = input.readUTF();
/*  82 */       Object enumInstance = Enum.valueOf(enumClass, instanceName);
/*  83 */       if (enumInstance != null)
/*     */       {
/*  85 */         cache.putObjectInCacheRead(referenceId, enumInstance);
View Full Code Here

TOP

Related Classes of org.jboss.serial.classmetamodel.ClassMetaData$GhostConstructorPersistentReference

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.