diff options
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/src/org/aspectj/lang/reflect/InitializerSignature.java | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/runtime/src/org/aspectj/lang/reflect/InitializerSignature.java b/runtime/src/org/aspectj/lang/reflect/InitializerSignature.java index 57bc916d6..bbef8b6fa 100644 --- a/runtime/src/org/aspectj/lang/reflect/InitializerSignature.java +++ b/runtime/src/org/aspectj/lang/reflect/InitializerSignature.java @@ -1,6 +1,7 @@ /* ******************************************************************* * Copyright (c) 1999-2001 Xerox Corporation, - * 2002 Palo Alto Research Center, Incorporated (PARC). + * 2002 Palo Alto Research Center, Incorporated (PARC), + * 2006 Contributors. * All rights reserved. * This program and the accompanying materials are made available * under the terms of the Eclipse Public License v1.0 @@ -15,6 +16,16 @@ package org.aspectj.lang.reflect; import java.lang.reflect.Constructor; +/** + * Signature for static and instance initializers. + * Static initializers have no parameters or exceptions, + * so empty arrays are returned from the CodeSignature methods. + */ public interface InitializerSignature extends CodeSignature { - Constructor getInitializer(); + /** + * @return Constructor associated with this initializer, + * or null in the case of interface initializers and + * static initializers. + */ + Constructor getInitializer(); } |