RichFaces CDK Generator 4.2.0.CR1

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
All Implemented Interfaces:
RequireImports
Direct Known Subclasses:
HelperJavaMethod, JavaConstructor, RendererUtilsMethod

public class JavaMethod
extends JavaLanguageElement

Author:
Maksim Kaszynski

Field Summary
 
Fields inherited from interface org.richfaces.cdk.templatecompiler.builder.model.RequireImports
IMPORTS_TRANSFORM
 
Constructor Summary
JavaMethod(String name)
           
JavaMethod(String name, Argument... arguments)
           
JavaMethod(String name, ELType returnType, Argument... arguments)
           
 
Method Summary
 List<Argument> getArguments()
           
 List<ELType> getExceptions()
           
 JavaStatement getMethodBody()
           
 Iterable<JavaImport> getRequiredImports()
           
 ELType getReturnType()
           
 void setMethodBody(JavaStatement methodBody)
           
 
Methods inherited from class org.richfaces.cdk.templatecompiler.builder.model.JavaLanguageElement
addAnnotation, addComment, addModifier, getAnnotations, getComments, getModifiers, getName, isHidden, setHidden, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaMethod

public JavaMethod(String name)

JavaMethod

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

JavaMethod

public JavaMethod(String name,
                  ELType returnType,
                  Argument... arguments)
Method Detail

getExceptions

public List<ELType> getExceptions()

getArguments

public List<Argument> getArguments()

getMethodBody

public JavaStatement getMethodBody()

getReturnType

public ELType getReturnType()

setMethodBody

public void setMethodBody(JavaStatement methodBody)

getRequiredImports

public Iterable<JavaImport> getRequiredImports()
Specified by:
getRequiredImports in interface RequireImports
Overrides:
getRequiredImports in class JavaLanguageElement

RichFaces CDK Generator 4.2.0.CR1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.