Package jode.bytecode

Examples of jode.bytecode.MethodInfo


                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


        }
           
        public NSArray methods() {
            ClassInfo ci = classInfo();
            MethodInfo mi[] = ci.getMethods();
            NSMutableArray methods = new NSMutableArray(mi.length);
            for(int i = 0; i < mi.length; i++) {
                MethodInfo m = mi[i];
                StringBuffer sb = new StringBuffer(512);
                String typeInfo = m.getType();
                String params[] = TypeSignature.getParameterTypes(typeInfo);
                String methodName = m.getName();
                if(methodName.equals("<clinit>")) {
                    continue;
                }
                sb.append(Modifier.toString(m.getModifiers()));
                sb.append(" ");
                if(methodName.equals("<init>")) {
                    sb.append(ERXStringUtilities.lastPropertyKeyInKeyPath(ci.getName()));
                } else {
                    Type param = Type.tType(TypeSignature.getReturnType(typeInfo));
View Full Code Here

TOP

Related Classes of jode.bytecode.MethodInfo

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.