Make InternalMethodInvocation package protected for better unit test support.

This commit is contained in:
Ben Alex 2004-12-03 06:40:11 +00:00
parent f73fc735c2
commit ab6df6cfce
1 changed files with 4 additions and 2 deletions

View File

@ -90,14 +90,16 @@ public class MethodDefinitionSourceAdvisor
* configuration attributes for <code>MethodInvocation</code>s.
* </p>
*/
private class InternalMethodInvocation implements MethodInvocation {
class InternalMethodInvocation implements MethodInvocation {
Method method;
public InternalMethodInvocation(Method method) {
this.method = method;
}
private InternalMethodInvocation() {}
protected InternalMethodInvocation() {
throw new UnsupportedOperationException();
}
public Object[] getArguments() {
throw new UnsupportedOperationException();