org.jboss.weld.util.bytecode
Interface MethodInformation

All Known Implementing Classes:
RuntimeMethodInformation, StaticMethodInformation

public interface MethodInformation

Data that is needed when working with a method in bytecode

Author:
Stuart Douglas

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.
 

Method Detail

getDeclaringClass

String getDeclaringClass()
The declaring class name in java dotted form (e.g. java.lang.String)


getMethod

Method getMethod()
This may return null if Method is not available yet


getDescriptor

String getDescriptor()
Gets the method descriptor


getParameterTypes

String[] getParameterTypes()
returns string representations of the parameter types


getReturnType

String getReturnType()
Gets the method return type, in descriptor format (e.g. Ljava/lang/String; )


getName

String getName()
the method name


getModifiers

int getModifiers()
The method modifiers

Returns:
The modifiers


Copyright © 2013 Seam Framework. All Rights Reserved.