field

File field.str
Author Martin Bravenboer <martin@cs.uu.nl>
Since unknown

Abstract Java field




Statistics


General
Lines of code 42
Stratego
Module number 1 (100% documented)
Constructor number 0
Overlay number 0
Strategy number 4 (100% documented)
Rule number 0
DynamicRule number 0



Strategy summary


get-name Returns the name of this field field.str
get-simple-name Returns the simple name of this field field.str
instanceof-JavaField Succeeds if the current term is an instance of a field field.str
instanceof-JavaMember Every Java field is a Java member field.str



Strategy details


ATerm get-name
File field.str
Author unknown
Since unknown
 

Returns the name of this field.


todo Introduce a FieldName?
type Field Object -> ExprName

 
ATerm get-simple-name
File field.str
Author unknown
Since unknown
 

Returns the simple name of this field.


type Field Object -> String

 
ATerm instanceof-JavaField
File field.str
Author unknown
Since unknown
 

Succeeds if the current term is an instance of a field.

Subclasses of field implement this strategy.



 
ATerm instanceof-JavaMember
File field.str
Author unknown
Since unknown
 

Every Java field is a Java member.