org.jboss.weld.util.bytecode
Class StaticMethodInformation

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

public class StaticMethodInformation
extends Object
implements MethodInformation


Constructor Summary
StaticMethodInformation(String name, Class<?>[] parameterTypes, Class<?> returnType, String declaringClass)
           
StaticMethodInformation(String name, Class<?>[] parameterTypes, Class<?> returnType, String declaringClass, int modifiers)
           
StaticMethodInformation(String name, String[] parameterTypes, String returnType, String declaringClass)
           
 
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

StaticMethodInformation

public StaticMethodInformation(String name,
                               Class<?>[] parameterTypes,
                               Class<?> returnType,
                               String declaringClass)

StaticMethodInformation

public StaticMethodInformation(String name,
                               Class<?>[] parameterTypes,
                               Class<?> returnType,
                               String declaringClass,
                               int modifiers)

StaticMethodInformation

public StaticMethodInformation(String name,
                               String[] parameterTypes,
                               String returnType,
                               String declaringClass)
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.