org.iqual.chaplin
Class MethodImplementor

java.lang.Object
  extended by org.iqual.chaplin.MethodImplementor

public class MethodImplementor
extends Object

Since:
Mar 29, 2009 11:20:33 AM
Author:
Zbynek Slajchrt

Nested Class Summary
static class MethodImplementor.Argument
           
static class MethodImplementor.BooleanArgument
           
static class MethodImplementor.ByteArgument
           
static class MethodImplementor.DoubleArgument
           
static class MethodImplementor.FloatArgument
           
static class MethodImplementor.CharArgument
           
static class MethodImplementor.IntegerArgument
           
static class MethodImplementor.LongArgument
           
static class MethodImplementor.ObjectArgument
           
static class MethodImplementor.ShortArgument
           
static class MethodImplementor.VoidArgument
           
 
Constructor Summary
MethodImplementor(String signature)
           
 
Method Summary
 List<MethodImplementor.Argument> getArguments()
           
 Class[] getArgumentTypes()
           
 MethodImplementor.Argument getReturnType()
           
static String getSignature(Class retClass, Class[] argClasses)
           
 int getTotalArgSize()
           
static String getTypeDescriptor(Class type)
           
 void implement(org.objectweb.asm.MethodVisitor mv, String owner, String methodName, String methodDesc, String contextType, boolean dynaSign, long minOccurs, long maxOccurs, boolean isAbstract, boolean isPrivate, FromAnnotContent fromAnnot)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodImplementor

public MethodImplementor(String signature)
Method Detail

getArgumentTypes

public Class[] getArgumentTypes()

getTotalArgSize

public int getTotalArgSize()

getArguments

public List<MethodImplementor.Argument> getArguments()

getReturnType

public MethodImplementor.Argument getReturnType()

implement

public void implement(org.objectweb.asm.MethodVisitor mv,
                      String owner,
                      String methodName,
                      String methodDesc,
                      String contextType,
                      boolean dynaSign,
                      long minOccurs,
                      long maxOccurs,
                      boolean isAbstract,
                      boolean isPrivate,
                      FromAnnotContent fromAnnot)

getSignature

public static String getSignature(Class retClass,
                                  Class[] argClasses)

getTypeDescriptor

public static String getTypeDescriptor(Class type)


Copyright © 2009 iquality.org. All Rights Reserved.