net.sourceforge.jane.lang.reflection
Class ReflectionConstructorInfo

java.lang.Object
  |
  +--net.sourceforge.jane.lang.reflection.ElementBase
        |
        +--net.sourceforge.jane.lang.reflection.MemberElementBase
              |
              +--net.sourceforge.jane.lang.reflection.ReflectionConstructorInfo
All Implemented Interfaces:
ConstructorInfo, JavaElement

public class ReflectionConstructorInfo
extends net.sourceforge.jane.lang.reflection.MemberElementBase
implements ConstructorInfo

Constructor information derived from a java.lang.reflect.Constructor.

Author:
Calvin Yu

Constructor Summary
ReflectionConstructorInfo(java.lang.reflect.Constructor aConstructor)
          Create a new ReflectionConstructorInfo.
 
Method Summary
 Classes getExceptions()
          Returns the exception thrown by this method.
protected  java.lang.reflect.Member getMember()
          Returns the member.
protected  int getModifiers()
          Returns the modifiers.
 java.lang.String getName()
          Returns the name of the element.
 Parameters getParameters()
          Returns the parameters of this method.
 boolean isAbstract()
          Returns true if this element is abstract.
 boolean isFinal()
          Returns true if this element is final.
 boolean isPackageProtected()
          Returns true if this element is package protected.
 boolean isPrivate()
          Returns true if this element is private.
 boolean isProtected()
          Returns true if this element is protected.
 boolean isPublic()
          Returns true if this element is public.
 boolean isStatic()
          Returns true if this element is static.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.jane.lang.JavaElement
getName, isPackageProtected, isPrivate, isProtected, isPublic
 

Constructor Detail

ReflectionConstructorInfo

public ReflectionConstructorInfo(java.lang.reflect.Constructor aConstructor)
Create a new ReflectionConstructorInfo.
Method Detail

getExceptions

public Classes getExceptions()
Returns the exception thrown by this method.
Specified by:
getExceptions in interface ConstructorInfo

getParameters

public Parameters getParameters()
Returns the parameters of this method.
Specified by:
getParameters in interface ConstructorInfo

getMember

protected java.lang.reflect.Member getMember()
Returns the member.
Overrides:
getMember in class net.sourceforge.jane.lang.reflection.MemberElementBase

getName

public java.lang.String getName()
Returns the name of the element.

getModifiers

protected int getModifiers()
Returns the modifiers.
Overrides:
getModifiers in class net.sourceforge.jane.lang.reflection.ElementBase

isPublic

public boolean isPublic()
Returns true if this element is public.
Specified by:
isPublic in interface JavaElement

isProtected

public boolean isProtected()
Returns true if this element is protected.
Specified by:
isProtected in interface JavaElement

isPackageProtected

public boolean isPackageProtected()
Returns true if this element is package protected.
Specified by:
isPackageProtected in interface JavaElement

isPrivate

public boolean isPrivate()
Returns true if this element is private.
Specified by:
isPrivate in interface JavaElement

isFinal

public boolean isFinal()
Returns true if this element is final.

isAbstract

public boolean isAbstract()
Returns true if this element is abstract.

isStatic

public boolean isStatic()
Returns true if this element is static.


Copyright © 2002-2002 SourceForge. All Rights Reserved.