|
What this is
This file is included in the DevDaily.com
"Java Source Code
Warehouse" project. The intent of this project is to help you "Learn
Java by Example" TM.
Other links
The source code
/*
* Sun Public License Notice
*
* The contents of this file are subject to the Sun Public License
* Version 1.0 (the "License"). You may not use this file except in
* compliance with the License. A copy of the License is available at
* http://www.sun.com/
*
* The Original Code is NetBeans. The Initial Developer of the Original
* Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun
* Microsystems, Inc. All Rights Reserved.
*
*/
package org.netbeans.jmi.javamodel;
/**
* ConstructorInvocation object instance interface.
* Represents constructor invocation from a constructor (e.g. this(a, b, c)
* or super(a, b, c)).
*
* Note: This type should not be subclassed or implemented by
* clients. It is generated from a MOF metamodel and automatically implemented
* by MDR (see mdr.netbeans.org)
*/
public interface ConstructorInvocation extends org.netbeans.jmi.javamodel.Statement {
/**
* Returns the value of attribute hasSuper.
* Indicates whether this invokes a constructor in the same class or in a
* super class.
* @return Value of attribute hasSuper.
*/
public boolean isHasSuper();
/**
* Sets the value of hasSuper attribute. See {@link #isHasSuper} for description
* on the attribute.
* @param newValue New value to be set.
*/
public void setHasSuper(boolean newValue);
/**
* Returns the value of attribute parentClass.
* Class that prefixes "this" or "super" statements (e.g. MyOuterClass.super(...)).
* @return Value of attribute parentClass.
*/
public org.netbeans.jmi.javamodel.PrimaryExpression getParentClass();
/**
* Sets the value of parentClass attribute. See {@link #getParentClass} for
* description on the attribute.
* @param newValue New value to be set.
*/
public void setParentClass(org.netbeans.jmi.javamodel.PrimaryExpression newValue);
/**
* Returns the value of attribute parameters.
* Arguments passed to the constructor being invoked.
* @return Value of parameters attribute.
*/
public java.util.List getParameters();
}
|