org.jboss.weld.interceptor.builder
Class MethodReference

java.lang.Object
  extended by org.jboss.weld.interceptor.builder.MethodReference
All Implemented Interfaces:
Serializable

public class MethodReference
extends Object
implements Serializable

Wrapper for a method. Allows serializing references to methods.

Author:
Marius Bogoevici
See Also:
Serialized Form

Method Summary
 boolean equals(Object o)
           
 Class<?> getDeclaringClass()
           
 String getMethodName()
           
 Class<?>[] getParameterTypes()
           
 int hashCode()
           
static MethodReference of(Method method, boolean withDeclaringClass)
           
static MethodReference of(MethodMetadata method, boolean withDeclaringClass)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

of

public static MethodReference of(Method method,
                                 boolean withDeclaringClass)

of

public static MethodReference of(MethodMetadata method,
                                 boolean withDeclaringClass)

equals

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

getMethodName

public String getMethodName()

getParameterTypes

public Class<?>[] getParameterTypes()

getDeclaringClass

public Class<?> getDeclaringClass()

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2013 Seam Framework. All Rights Reserved.