org.richfaces.cdk.templatecompiler.builder.model
Class JavaMethod
java.lang.Object
org.richfaces.cdk.templatecompiler.builder.model.JavaLanguageElement
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaMethod
public JavaMethod(String name)
JavaMethod
public JavaMethod(String name,
Argument... arguments)
JavaMethod
public JavaMethod(String name,
ELType returnType,
Argument... arguments)
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
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.