edu.mit.csail.sdg.squander.spec.JMethod Class Reference
[Specification]

Collaboration diagram for edu.mit.csail.sdg.squander.spec.JMethod:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 JMethod (String methodName, Class<?> declaringClass, Map< String, Class<?>> params, Class<?> returnType, boolean isStatic)
 JMethod (String methodName, JType.Unary declaringClass, Map< String, JType.Unary > params, JType.Unary returnType, boolean isStatic)
String name ()
Unary declaringClass ()
Map< String, Unary > params ()
List< Unary > paramTypes ()
Unary returnType ()
boolean isStatic ()
MethodSpec spec ()
void setSpec (MethodSpec spec)

Static Public Member Functions

static JMethod forJavaMethod (Method m)

Static Private Member Functions

static Map< String, Unary > convertMap (Map< String, Class<?>> map)

Private Attributes

final String methodName
final JType.Unary declaringClass
final Map< String, JType.Unary > params
final JType.Unary returnType
final boolean isStatic
MethodSpec spec

Detailed Description

Definition at line 23 of file JMethod.java.


Constructor & Destructor Documentation

edu.mit.csail.sdg.squander.spec.JMethod.JMethod ( String  methodName,
Class<?>  declaringClass,
Map< String, Class<?>>  params,
Class<?>  returnType,
boolean  isStatic 
)
edu.mit.csail.sdg.squander.spec.JMethod.JMethod ( String  methodName,
JType.Unary  declaringClass,
Map< String, JType.Unary >  params,
JType.Unary  returnType,
boolean  isStatic 
)

Member Function Documentation

static Map<String, Unary> edu.mit.csail.sdg.squander.spec.JMethod.convertMap ( Map< String, Class<?>>  map  )  [static, private]

Definition at line 39 of file JMethod.java.

Referenced by edu.mit.csail.sdg.squander.spec.JMethod.JMethod().

Definition at line 57 of file JMethod.java.

Referenced by edu.mit.csail.sdg.squander.spec.JMethod.JMethod().

static JMethod edu.mit.csail.sdg.squander.spec.JMethod.forJavaMethod ( Method  m  )  [static]

Definition at line 61 of file JMethod.java.

Referenced by edu.mit.csail.sdg.squander.spec.JMethod.forJavaMethod().

String edu.mit.csail.sdg.squander.spec.JMethod.name (  ) 
List<Unary> edu.mit.csail.sdg.squander.spec.JMethod.paramTypes (  ) 

Definition at line 60 of file JMethod.java.

Referenced by edu.mit.csail.sdg.squander.spec.JMethod.JMethod().

void edu.mit.csail.sdg.squander.spec.JMethod.setSpec ( MethodSpec  spec  ) 

Definition at line 64 of file JMethod.java.

Definition at line 62 of file JMethod.java.

Referenced by edu.mit.csail.sdg.squander.spec.JMethod.forJavaMethod().


Member Data Documentation

Definition at line 25 of file JMethod.java.

Referenced by edu.mit.csail.sdg.squander.spec.JMethod.name().

final Map<String, JType.Unary> edu.mit.csail.sdg.squander.spec.JMethod.params [private]

The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.2-20100208