com.svincent.smalljava
Class SmallConstructor

java.lang.Object
  |
  +--com.svincent.util.BaseObject
        |
        +--com.svincent.smalljava.SmallMember
              |
              +--com.svincent.smalljava.SmallMethod
                    |
                    +--com.svincent.smalljava.SmallConstructor

public class SmallConstructor
extends SmallMethod

Represents a constructor declaration. To create new constructor declaration, use one of the constructor() methods in SmallClass.

Author:
Shawn Vincent
See Also:
SmallClass

Inner classes inherited from class com.svincent.smalljava.SmallMethod
SmallMethod.Local
 
Constructor Summary
SmallConstructor(int _modifiers, SmallType.MethodType _type, java.lang.String[] _argNames)
           
SmallConstructor(int _modifiers, java.lang.String _descriptor, SmallType.MethodType _type, java.lang.String[] _argNames)
           
SmallConstructor(int _modifiers, java.lang.String _descriptor, java.lang.String[] _argNames)
           
SmallConstructor(SmallType.MethodType _type, java.lang.String[] _argNames)
           
SmallConstructor(java.lang.String _descriptor, java.lang.String[] _argNames)
           
 
Method Summary
 void writeAsJava(IndentPrintWriter out)
          Write this method out as Java source code.
 
Methods inherited from class com.svincent.smalljava.SmallMethod
add, addLocal, addParameter, addThrows, allocVarIndex, finalize, getArgCount, getArgName, getArgNames, getArgType, getArgTypes, getDescriptor, getLocal, getName, getReturnType, getType, local, local, locals, writeAsBytecodes, writeBodyAsJava, writeLocalVarDeclsAsJava
 
Methods inherited from class com.svincent.smalljava.SmallMember
getDeclaringClass, isStatic, setDeclaringClass
 
Methods inherited from class com.svincent.util.BaseObject
dump, dump, dumpToString, tag
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmallConstructor

public SmallConstructor(SmallType.MethodType _type,
                        java.lang.String[] _argNames)
                 throws SmallJavaBuildingException

SmallConstructor

public SmallConstructor(int _modifiers,
                        SmallType.MethodType _type,
                        java.lang.String[] _argNames)
                 throws SmallJavaBuildingException

SmallConstructor

public SmallConstructor(java.lang.String _descriptor,
                        java.lang.String[] _argNames)
                 throws SmallJavaBuildingException

SmallConstructor

public SmallConstructor(int _modifiers,
                        java.lang.String _descriptor,
                        java.lang.String[] _argNames)
                 throws SmallJavaBuildingException

SmallConstructor

public SmallConstructor(int _modifiers,
                        java.lang.String _descriptor,
                        SmallType.MethodType _type,
                        java.lang.String[] _argNames)
                 throws SmallJavaBuildingException
Method Detail

writeAsJava

public void writeAsJava(IndentPrintWriter out)
Description copied from class: SmallMethod
Write this method out as Java source code.
Overrides:
writeAsJava in class SmallMethod



This is documentation for Moksa Prolog, which can be found at http://www.svincent.com/moksa/

Copyright © 1999 Shawn P. Vincent.

This program is free software; you can redistribute it and/or modify it under the terms of 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.