org.richfaces.cdk.templatecompiler.builder.model
Class JavaMethod

java.lang.Object
  extended by org.richfaces.cdk.templatecompiler.builder.model.JavaLanguageElement
      extended by org.richfaces.cdk.templatecompiler.builder.model.JavaMethod
Direct Known Subclasses:
JavaConstructor

public class JavaMethod
extends JavaLanguageElement

Author:
Maksim Kaszynski

Constructor Summary
JavaMethod(java.lang.String name)
           
JavaMethod(java.lang.String name, Argument... arguments)
           
JavaMethod(java.lang.String name, java.lang.Class<?> returnType, Argument... arguments)
           
 
Method Summary
 java.util.List<Argument> getArguments()
           
 java.util.List<java.lang.Class<? extends java.lang.Throwable>> getExceptions()
           
 MethodBody getMethodBody()
           
 JavaClass getReturnType()
           
 void setExceptions(java.util.List<java.lang.Class<? extends java.lang.Throwable>> exceptions)
           
 void setMethodBody(MethodBody methodBody)
           
 
Methods inherited from class org.richfaces.cdk.templatecompiler.builder.model.JavaLanguageElement
addAnnotation, addAnnotation, addAnnotation, addAnnotation, addAnnotation, addComment, addModifier, getAnnotations, getComments, getModifiers, getName, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaMethod

public JavaMethod(java.lang.String name)

JavaMethod

public JavaMethod(java.lang.String name,
                  Argument... arguments)

JavaMethod

public JavaMethod(java.lang.String name,
                  java.lang.Class<?> returnType,
                  Argument... arguments)
Method Detail

getExceptions

public java.util.List<java.lang.Class<? extends java.lang.Throwable>> getExceptions()

setExceptions

public void setExceptions(java.util.List<java.lang.Class<? extends java.lang.Throwable>> exceptions)

getArguments

public java.util.List<Argument> getArguments()

getMethodBody

public MethodBody getMethodBody()

getReturnType

public JavaClass getReturnType()

setMethodBody

public void setMethodBody(MethodBody methodBody)


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.