public class TypePartsReader extends Object
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.
| Constructor and Description |
|---|
TypePartsReader(TypePartCollector<?,?>... collectors) |
| Modifier and Type | Method and Description |
|---|---|
void |
init(AnnotatedDeclaration annotatedDeclaration) |
void |
read(AnnotatedDeclaration annotatedDeclaration) |
public TypePartsReader(TypePartCollector<?,?>... collectors)
public void init(AnnotatedDeclaration annotatedDeclaration)
public void read(AnnotatedDeclaration annotatedDeclaration)
Copyright © 2017. All rights reserved.