public class MethodMetadata
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ALL_POLICY
ALL POLICY.
|
static int |
ONE_POLICY
ONE POLICY.
|
Constructor and Description |
---|
MethodMetadata(java.lang.reflect.Method method)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object)
Equals method.
|
FieldMetadata |
getDelegation() |
java.lang.reflect.Method |
getMethod() |
int |
getPolicy() |
int |
hashCode()
Hash code method.
|
void |
setAllPolicy()
Activate the all policy for this method.
|
void |
setDelegation(FieldMetadata field) |
protected boolean |
throwsUnsupportedOperationException()
Check if the method can throw UnsupportedOperationException.
|
public static final int ONE_POLICY
public static final int ALL_POLICY
public MethodMetadata(java.lang.reflect.Method method)
method
- : method object.public java.lang.reflect.Method getMethod()
public void setDelegation(FieldMetadata field)
public FieldMetadata getDelegation()
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
- : object.Object.equals(java.lang.Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public int getPolicy()
public void setAllPolicy()
protected boolean throwsUnsupportedOperationException()
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.