org.jboss.interceptor.builder
Class MethodReference
java.lang.Object
org.jboss.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
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 © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.