org.jboss.weld.util.bytecode
Class RuntimeMethodInformation

java.lang.Object
  extended by org.jboss.weld.util.bytecode.RuntimeMethodInformation
All Implemented Interfaces:
MethodInformation

public class RuntimeMethodInformation
extends Object
implements MethodInformation

Contains all the data that is needed when working with a method in bytecode

Author:
Stuart Douglas

Constructor Summary
RuntimeMethodInformation(Method method)
           
 
Method Summary
 String getDeclaringClass()
          The declaring class name in java dotted form (e.g.
 String getDescriptor()
          Gets the method descriptor
 Method getMethod()
          This may return null if Method is not available yet
 int getModifiers()
          The method modifiers
 String getName()
          the method name
 String[] getParameterTypes()
          returns string representations of the parameter types
 String getReturnType()
          Gets the method return type, in descriptor format (e.g.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeMethodInformation

public RuntimeMethodInformation(Method method)
Method Detail

getDeclaringClass

public String getDeclaringClass()
Description copied from interface: MethodInformation
The declaring class name in java dotted form (e.g. java.lang.String)

Specified by:
getDeclaringClass in interface MethodInformation

getMethod

public Method getMethod()
Description copied from interface: MethodInformation
This may return null if Method is not available yet

Specified by:
getMethod in interface MethodInformation

getDescriptor

public String getDescriptor()
Description copied from interface: MethodInformation
Gets the method descriptor

Specified by:
getDescriptor in interface MethodInformation

getParameterTypes

public String[] getParameterTypes()
Description copied from interface: MethodInformation
returns string representations of the parameter types

Specified by:
getParameterTypes in interface MethodInformation

getReturnType

public String getReturnType()
Description copied from interface: MethodInformation
Gets the method return type, in descriptor format (e.g. Ljava/lang/String; )

Specified by:
getReturnType in interface MethodInformation

getName

public String getName()
Description copied from interface: MethodInformation
the method name

Specified by:
getName in interface MethodInformation

getModifiers

public int getModifiers()
Description copied from interface: MethodInformation
The method modifiers

Specified by:
getModifiers in interface MethodInformation
Returns:
The modifiers


Copyright © 2013 Seam Framework. All Rights Reserved.