Class TypePartsReader

java.lang.Object
org.faktorips.runtime.model.type.read.TypePartsReader

public class TypePartsReader extends Object
Reads the model parts from a AnnotatedDeclaration. After constructing the reader with the necessary collectors you need to call init(AnnotatedDeclaration). This AnnotatedDeclaration need to be annotated with the annotations that contains all names of the pars (e.g. IpsAttributes). After initialization you could call read(AnnotatedDeclaration) multiple times with different declarations (e.g. first for product component and second for generation).

At the end the collectors have collected all relevant methods and could be asked for the requested parts.