org.codehaus.aspectwerkz.reflect.impl.java
Class JavaConstructorInfo

java.lang.Object
  extended by org.codehaus.aspectwerkz.reflect.impl.java.JavaMemberInfo
      extended by org.codehaus.aspectwerkz.reflect.impl.java.JavaConstructorInfo
All Implemented Interfaces:
ConstructorInfo, MemberInfo, ReflectionInfo

public class JavaConstructorInfo
extends JavaMemberInfo
implements ConstructorInfo

Implementation of the ConstructorInfo interface for java.lang.reflect.*.

Author:
Jonas BonŽr

Field Summary
 
Fields inherited from class org.codehaus.aspectwerkz.reflect.impl.java.JavaMemberInfo
m_annotations, m_classInfoRepository, m_declaringType, m_member
 
Method Summary
 boolean equals(Object o)
           
 List getAnnotations()
          Returns the attributes.
static ConstructorInfo getConstructorInfo(Constructor constructor)
          Returns the constructor info for the constructor specified.
 ClassInfo[] getExceptionTypes()
          Returns the exception types.
 ClassInfo[] getParameterTypes()
          Returns the parameter types.
 String getSignature()
          Returns the signature for the element.
 int hashCode()
           
 
Methods inherited from class org.codehaus.aspectwerkz.reflect.impl.java.JavaMemberInfo
getDeclaringType, getModifiers, getName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, 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 ConstructorInfo getConstructorInfo(Constructor constructor)
Returns the constructor info for the constructor specified.

Parameters:
constructor - the constructor
Returns:
the constructor info

getSignature

public String getSignature()
Returns the signature for the element.

Specified by:
getSignature in interface ReflectionInfo
Returns:
the signature for the element

getAnnotations

public List getAnnotations()
Returns the attributes.

Specified by:
getAnnotations in interface ReflectionInfo
Returns:
the attributes

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

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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