Browse Source

javadoc only - null Constructor for interface and static initializers, empty CodeSignatures values for static initializers.

tags/BEFORE_133532
wisberg 17 years ago
parent
commit
c4bf683e5c
1 changed files with 13 additions and 2 deletions
  1. 13
    2
      runtime/src/org/aspectj/lang/reflect/InitializerSignature.java

+ 13
- 2
runtime/src/org/aspectj/lang/reflect/InitializerSignature.java View File

@@ -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();
}

Loading…
Cancel
Save