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
- Direct Known Subclasses:
- JavaConstructor
public class JavaMethod
- extends JavaLanguageElement
- Author:
- Maksim Kaszynski
| 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 |
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)
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.