org.objectweb.speedo.metadata
Class CodeMethod

java.lang.Object
  extended byorg.objectweb.speedo.metadata.CodeMethod

public class CodeMethod
extends java.lang.Object

Stores info on methods of a SpeedoClass

Author:
S.Chassande-Barrioz

Field Summary
 java.lang.String[] exceptions
          The list of the exception thrown by the method
 boolean isConstructor
          Indicates whether this method is a constructor
 java.lang.String methodDesc
          Descriptor of the method (encoded form of its signature and return type)
 java.lang.String modifiers
          is the modifiers of the method 'public final'
 java.lang.String name
          Name of the method.If the method is a constructor the name of the method is null.
 java.lang.String params
          The declaraction of the method parameters.
 java.lang.String superClass
          Call to the super constructor
 
Constructor Summary
CodeMethod(java.lang.String name, java.lang.String params, java.lang.String superclass, boolean isConstr, int modifiers, java.lang.String[] exceptions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name
Name of the method.If the method is a constructor the name of the method is null.


modifiers

public java.lang.String modifiers
is the modifiers of the method 'public final'


params

public java.lang.String params
The declaraction of the method parameters. 'String arg1, int arg2'


exceptions

public java.lang.String[] exceptions
The list of the exception thrown by the method


isConstructor

public boolean isConstructor
Indicates whether this method is a constructor


superClass

public java.lang.String superClass
Call to the super constructor


methodDesc

public java.lang.String methodDesc
Descriptor of the method (encoded form of its signature and return type)

Constructor Detail

CodeMethod

public CodeMethod(java.lang.String name,
                  java.lang.String params,
                  java.lang.String superclass,
                  boolean isConstr,
                  int modifiers,
                  java.lang.String[] exceptions)
Parameters:
name - is the ASM name of the
params - is the declaraction of method parameters separated by commas
superclass - is a string representing the call to the super method.
isConstr - indicates if the method is a constructor.
modifiers - is the ASM code representing the method modifiers
exceptions - is the list of exceptions thrown by the method