summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorwisberg <wisberg>2006-09-21 16:31:38 +0000
committerwisberg <wisberg>2006-09-21 16:31:38 +0000
commitc4bf683e5ceb125bbd735eeccd380a489e246b30 (patch)
tree12bcce9b101b617c599fa05c7fd40fd85f386f10 /runtime
parent8c20287bbf6440d6dfc296d46aa6a7d8b5a5917e (diff)
downloadaspectj-c4bf683e5ceb125bbd735eeccd380a489e246b30.tar.gz
aspectj-c4bf683e5ceb125bbd735eeccd380a489e246b30.zip
javadoc only - null Constructor for interface and static initializers, empty CodeSignatures values for static initializers.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/src/org/aspectj/lang/reflect/InitializerSignature.java15
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();
}