Uses of Class
com.sun.codemodel.JMethod
Packages that use JMethod
-
Uses of JMethod in com.sun.codemodel
Fields in com.sun.codemodel declared as JMethodFields in com.sun.codemodel with type parameters of type JMethodModifier and TypeFieldDescriptionJDefinedClass.constructors
Set of constructors for this class, if anyJDefinedClass.methods
Set of methods that are members of this classMethods in com.sun.codemodel that return JMethodModifier and TypeMethodDescriptionAdd an exception to the list of exceptions that this method may throw.JDefinedClass.constructor
(int mods) Adds a constructor to this class.JDefinedClass.getConstructor
(JType[] argTypes) Looks for a method that has the specified method signature and return it.Looks for a method that has the specified method signature and return it.Add a method to the list of method members of this JDefinedClass instance.Methods in com.sun.codemodel that return types with arguments of type JMethodModifier and TypeMethodDescriptionJDefinedClass.constructors()
Returns an iterator that walks the constructors defined in this class.JDefinedClass.methods()
Returns the set of methods defined in this class.Methods in com.sun.codemodel with parameters of type JMethodModifier and TypeMethodDescriptionJBlock.invoke
(JExpression expr, JMethod method) Creates an invocation statement and adds it to this block.Creates an invocation statement and adds it to this block.static JInvocation
JExpr.invoke
(JExpression lhs, JMethod method) static JInvocation
Returns "[this].[method]".final JInvocation
final JInvocation
JClass.staticInvoke
(JMethod method) Generates a static method invocation.Constructors in com.sun.codemodel with parameters of type JMethodModifierConstructorDescription(package private)
JInvocation
(JClass type, JMethod method) (package private)
JInvocation
(JExpression object, JMethod method) private
JInvocation
(JGenerable object, JMethod method)