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

Inherits edu::mit::csail::sdg::squander::spec::ISpecProvider.

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

List of all members.

Public Member Functions

MethodSpec extractMethodSpec (Method method, NameSpace ns)
List< SourceextractClassSpec (JType.Unary jtype)
List< SourceextractFieldSpec (Field field, JType.Unary declType)

Private Member Functions

void extractMethodSpec (Method method, MethodSpec result, NameSpace ns)
void extractMethodSpecNonRecursive (Method method, MethodSpec result, NameSpace ns)
List< String > convertArray (String[] strs)
String clause (Collection< String > clauses)
String frame (Collection< String > frames)

Private Attributes

final String TYPE_EXCEPTIONAL = "EXCEPTIONAL"
final String CLAUSE_DEFAULT = "true"
final String RETURNS_FORMAT = "return = (%s)"
final String NONNULL_FORMAT = "(%s) != null"

Detailed Description

Definition at line 38 of file ReflectiveSpecProvider.java.


Member Function Documentation

String edu.mit.csail.sdg.squander.spec.ReflectiveSpecProvider.clause ( Collection< String >  clauses  )  [private]
List<String> edu.mit.csail.sdg.squander.spec.ReflectiveSpecProvider.convertArray ( String[]  strs  )  [private]

Extracts elements of a string array annotation

Definition at line 180 of file ReflectiveSpecProvider.java.

Referenced by edu.mit.csail.sdg.squander.spec.ReflectiveSpecProvider.extractMethodSpecNonRecursive().

List<Source> edu.mit.csail.sdg.squander.spec.ReflectiveSpecProvider.extractClassSpec ( JType.Unary  jtype  ) 
List<Source> edu.mit.csail.sdg.squander.spec.ReflectiveSpecProvider.extractFieldSpec ( Field  field,
JType.Unary  declType 
)
void edu.mit.csail.sdg.squander.spec.ReflectiveSpecProvider.extractMethodSpec ( Method  method,
MethodSpec  result,
NameSpace  ns 
) [private]
MethodSpec edu.mit.csail.sdg.squander.spec.ReflectiveSpecProvider.extractMethodSpec ( Method  method,
NameSpace  ns 
)
void edu.mit.csail.sdg.squander.spec.ReflectiveSpecProvider.extractMethodSpecNonRecursive ( Method  method,
MethodSpec  result,
NameSpace  ns 
) [private]
String edu.mit.csail.sdg.squander.spec.ReflectiveSpecProvider.frame ( Collection< String >  frames  )  [private]

Member Data Documentation


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