From: Kabir K. <kk...@jb...> - 2006-07-04 17:03:56
|
User: kkhan Date: 06/07/04 13:03:54 Modified: src/main/org/jboss/reflect/plugins/javassist JavassistTypeInfoFactoryImpl.java Added: src/main/org/jboss/reflect/plugins/javassist JavassistArrayInfoImpl.java Log: Add AOP utility class for creating method hashes from the MC classinfo stuff Revision Changes Path 1.8 +1 -1 container/src/main/org/jboss/reflect/plugins/javassist/JavassistTypeInfoFactoryImpl.java (In the diff below, changes in quantity of whitespace are not shown.) Index: JavassistTypeInfoFactoryImpl.java =================================================================== RCS file: /cvsroot/jboss/container/src/main/org/jboss/reflect/plugins/javassist/JavassistTypeInfoFactoryImpl.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -b -r1.7 -r1.8 --- JavassistTypeInfoFactoryImpl.java 26 Jun 2006 08:57:29 -0000 1.7 +++ JavassistTypeInfoFactoryImpl.java 4 Jul 2006 17:03:54 -0000 1.8 @@ -125,7 +125,7 @@ if (clazz.isArray()) { TypeInfo componentType = getTypeInfo(clazz.getComponentType()); - return new ArrayInfoImpl(componentType); + return new JavassistArrayInfoImpl(componentType); } if (ctClass.isAnnotation()) 1.1 date: 2006/07/04 17:03:54; author: kkhan; state: Exp;container/src/main/org/jboss/reflect/plugins/javassist/JavassistArrayInfoImpl.java Index: JavassistArrayInfoImpl.java =================================================================== /* * JBoss, Home of Professional Open Source * Copyright 2005, JBoss Inc., and individual contributors as indicated * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * This software is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this software; if not, write to the Free * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA, or see the FSF site: http://www.fsf.org. */ package org.jboss.reflect.plugins.javassist; import org.jboss.reflect.plugins.ArrayInfoImpl; import org.jboss.reflect.spi.TypeInfo; /** * * @author <a href="kab...@jb...">Kabir Khan</a> * @version $Revision: 1.1 $ */ public class JavassistArrayInfoImpl extends ArrayInfoImpl { public JavassistArrayInfoImpl() { // FIXME JavassistArrayInfoImpl constructor super(); } public JavassistArrayInfoImpl(TypeInfo componentType) { // FIXME JavassistArrayInfoImpl constructor super(componentType); } public boolean isArray() { return true; } } |