jaxx.compiler.java
Class JavaConstructor

java.lang.Object
  extended by jaxx.compiler.java.JavaElement
      extended by jaxx.compiler.java.JavaConstructor

public class JavaConstructor
extends JavaElement

To mirror a Constructor.

In a constructor we need to keep all parameters types as fqn since when a jaxx object inheritates from anohter one, it is painfull (even impossible?) to find out from a simple name his fqn.

So when using constructor, always keep fqn types.

Since:
2.4
Author:
tchemit

Field Summary
 
Fields inherited from class jaxx.compiler.java.JavaElement
JavaElementComparator
 
Method Summary
 JavaArgument[] getArguments()
          Returns a list of the method's arguments.
 String getBody()
           
 String[] getExceptions()
          Returns a list of exceptions the method can throw.
 
Methods inherited from class jaxx.compiler.java.JavaElement
addAnnotation, getAnnotations, getModifiers, getModifiersText, getName, hasAnnotations, setModifiers, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getArguments

public JavaArgument[] getArguments()
Returns a list of the method's arguments.

Returns:
the method's arguments

getExceptions

public String[] getExceptions()
Returns a list of exceptions the method can throw.

Returns:
the method's exceptions

getBody

public String getBody()


Copyright © 2008-2011 CodeLutin. All Rights Reserved.