org.multijava.mjc
Class JNewObjectExpression.ArgTypes
java.lang.Object
org.multijava.mjc.JNewObjectExpression.ArgTypes
- Enclosing class:
- JNewObjectExpression
- protected static class JNewObjectExpression.ArgTypes
- extends Object
This nested class is used to track the argument types of the
actual constructor call. The actual arguments include explicit
primary expressions and synthetic outer this arguments for
inner classes.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
regularArgs
private final CType[] regularArgs
primaryExpr
private CType primaryExpr
synthOuterThis
private CType synthOuterThis
JNewObjectExpression.ArgTypes
protected JNewObjectExpression.ArgTypes(CType[] regularArgs)
setPrimaryExpr
protected void setPrimaryExpr(CType primaryExpr)
setSyntheticOuterThis
protected void setSyntheticOuterThis(CType synthOuterThis)
constructorTypes
protected CType[] constructorTypes()
regularArgs
protected CType[] regularArgs()
hasSyntheticOuterThis
protected boolean hasSyntheticOuterThis()
castToTypes
protected CType[] castToTypes(CMethod constructor)
- Returns the types to which to cast the regular arguments
for the given constructor.
requires constructor.parameters().length == typeCount();
ensures \result.length == regularArgs.length;
typeCount
protected int typeCount()
mjc is Copyright (C) 2000-2004 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. mjc is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.