Uses of Class
com.sun.codemodel.JMethod
-
Packages that use JMethod Package Description com.sun.codemodel Library for generating Java source codecom.sun.tools.ws.api com.sun.tools.ws.processor.generator com.sun.tools.xjc.generator.bean -
-
Uses of JMethod in com.sun.codemodel
Methods in com.sun.codemodel that return JMethod Modifier and Type Method Description JMethodJMethod. _throws(JClass exception)Add an exception to the list of exceptions that this method may throw.JMethodJMethod. _throws(Class<? extends Throwable> exception)JMethodJDefinedClass. constructor(int mods)Adds a constructor to this class.JMethodJDefinedClass. getConstructor(JType[] argTypes)Looks for a method that has the specified method signature and return it.JMethodJDefinedClass. getMethod(String name, JType[] argTypes)Looks for a method that has the specified method signature and return it.JMethodJDefinedClass. method(int mods, JType type, String name)Add a method to the list of method members of this JDefinedClass instance.JMethodJDefinedClass. method(int mods, Class<?> type, String name)Methods in com.sun.codemodel that return types with arguments of type JMethod Modifier and Type Method Description Iterator<JMethod>JDefinedClass. constructors()Returns an iterator that walks the constructors defined in this class.Collection<JMethod>JDefinedClass. methods()Returns the set of methods defined in this class.Methods in com.sun.codemodel with parameters of type JMethod Modifier and Type Method Description JInvocationJBlock. invoke(JExpression expr, JMethod method)Creates an invocation statement and adds it to this block.JInvocationJBlock. invoke(JMethod method)Creates an invocation statement and adds it to this block.static JInvocationJExpr. invoke(JExpression lhs, JMethod method)static JInvocationJExpr. invoke(JMethod method)JInvocationJExpression. invoke(JMethod method)Returns "[this].[method]".JInvocationJExpressionImpl. invoke(JMethod method)JInvocationJClass. staticInvoke(JMethod method)Generates a static method invocation. -
Uses of JMethod in com.sun.tools.ws.api
Methods in com.sun.tools.ws.api with parameters of type JMethod Modifier and Type Method Description abstract voidTJavaGeneratorExtension. writeMethodAnnotations(TWSDLOperation wsdlOperation, JMethod jMethod)Deprecated.This method should be used to write annotations onJMethod. -
Uses of JMethod in com.sun.tools.ws.processor.generator
Methods in com.sun.tools.ws.processor.generator with parameters of type JMethod Modifier and Type Method Description voidJavaGeneratorExtensionFacade. writeMethodAnnotations(TWSDLOperation wsdlOperation, JMethod jMethod)voidW3CAddressingJavaGeneratorExtension. writeMethodAnnotations(TWSDLOperation two, JMethod jMethod) -
Uses of JMethod in com.sun.tools.xjc.generator.bean
Methods in com.sun.tools.xjc.generator.bean that return JMethod Modifier and Type Method Description abstract JMethodMethodWriter. declareMethod(JType returnType, String methodName)Declares a method in both the interface and the implementation.JMethodMethodWriter. declareMethod(Class returnType, String methodName)
-