org.codehaus.aspectwerkz.reflect.impl.asm
Class AsmConstructorInfo

java.lang.Object
  extended byorg.codehaus.aspectwerkz.reflect.impl.asm.AsmMemberInfo
      extended byorg.codehaus.aspectwerkz.reflect.impl.asm.AsmConstructorInfo
All Implemented Interfaces:
ConstructorInfo, MemberInfo, ReflectionInfo

public class AsmConstructorInfo
extends AsmMemberInfo
implements ConstructorInfo

ASM implementation of the ConstructorInfo interface.

Author:
Jonas Bonér

Field Summary
 
Fields inherited from class org.codehaus.aspectwerkz.reflect.impl.asm.AsmMemberInfo
m_annotations, m_classInfoRepository, m_declaringType, m_declaringTypeName, m_loaderRef, m_member
 
Method Summary
 boolean equals(Object o)
           
 List getAnnotations()
          Returns the annotations.
static MethodInfo getConstructorInfo(String constructorDesc, byte[] bytecode, ClassLoader loader)
          Returns the constructor info for the constructor specified.
 ClassInfo[] getExceptionTypes()
          Returns the exception types.
 ClassInfo[] getParameterTypes()
          Returns the parameter types.
 int hashCode()
           
 String toString()
           
 
Methods inherited from class org.codehaus.aspectwerkz.reflect.impl.asm.AsmMemberInfo
getDeclaringType, getModifiers, getName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.codehaus.aspectwerkz.reflect.MemberInfo
getDeclaringType
 
Methods inherited from interface org.codehaus.aspectwerkz.reflect.ReflectionInfo
getModifiers, getName
 

Method Detail

getConstructorInfo

public static MethodInfo getConstructorInfo(String constructorDesc,
                                            byte[] bytecode,
                                            ClassLoader loader)
Returns the constructor info for the constructor specified.

Parameters:
constructorDesc -
bytecode -
loader -
Returns:
the constructor info

getParameterTypes

public ClassInfo[] getParameterTypes()
Returns the parameter types.

Specified by:
getParameterTypes in interface ConstructorInfo
Returns:
the parameter types

getExceptionTypes

public ClassInfo[] getExceptionTypes()
Returns the exception types.

Specified by:
getExceptionTypes in interface ConstructorInfo
Returns:
the exception types

getAnnotations

public List getAnnotations()
Returns the annotations.

Specified by:
getAnnotations in interface ReflectionInfo
Returns:
the annotations

equals

public boolean equals(Object o)

hashCode

public int hashCode()

toString

public String toString()


Copyright © 2002-2004 Jonas Bonér, Alexandre Vasseur. All Rights Reserved.