Package jode.bytecode

Examples of jode.bytecode.FieldInfo


        public NSMutableArray names;
        public NSArray names() {
            if(names == null) {
                names = new NSMutableArray();
                ClassInfo ci = classInfo();
                FieldInfo fi[] = ci.getFields();
                for(int i = 0; i < fi.length; i++) {
                    FieldInfo f = fi[i];
                    names.addObject(f.getName());
                }
                MethodInfo mi[] = ci.getMethods();
                for(int i = 0; i < mi.length; i++) {
                    MethodInfo f = mi[i];
                    names.addObject(f.getName());
                }
                names.addObject(name());
            }
            return names;
        }
View Full Code Here


            return names;
        }
       
        public NSArray variables() {
            ClassInfo ci = classInfo();
            FieldInfo fi[] = ci.getFields();
            NSMutableArray fields = new NSMutableArray(fi.length);
            for(int i = 0; i < fi.length; i++) {
                FieldInfo f = fi[i];
                StringBuffer sb = new StringBuffer(512);
                String typeInfo = f.getType();
                String fieldName = f.getName();
                Type param = Type.tType(TypeSignature.getReturnType(typeInfo));
                sb.append(ERXStringUtilities.lastPropertyKeyInKeyPath(param.toString()));
                sb.append(" ");
                sb.append(fieldName);
                fields.addObject(sb.toString());
View Full Code Here

TOP

Related Classes of jode.bytecode.FieldInfo

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.