1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.devtools.jpa.eclipselink.conv.parser.helper;
17
18 import japa.parser.ast.ImportDeclaration;
19 import japa.parser.ast.body.ClassOrInterfaceDeclaration;
20 import japa.parser.ast.expr.AnnotationExpr;
21
22 import java.util.Collection;
23
24 public class NodeData {
25 final AnnotationExpr annotation;
26 final ImportDeclaration annotationImport;
27 final Collection<ImportDeclaration> additionalImports;
28 final ClassOrInterfaceDeclaration nestedDeclaration;
29
30
31 public NodeData(AnnotationExpr annotation, ImportDeclaration annotationImport) {
32 this(annotation, annotationImport, null, null);
33 }
34
35 public NodeData(AnnotationExpr annotation, ImportDeclaration annotationImport, Collection<ImportDeclaration> additionalImports) {
36 this(annotation, annotationImport, additionalImports, null);
37 }
38
39 public NodeData(AnnotationExpr annotation, ImportDeclaration annotationImport, ClassOrInterfaceDeclaration nestedDeclaration) {
40 this(annotation, annotationImport, null, nestedDeclaration);
41 }
42
43 public NodeData(AnnotationExpr annotation, ImportDeclaration annotationImport, Collection<ImportDeclaration> additionalImports, ClassOrInterfaceDeclaration nestedDeclaration) {
44 this.annotation = annotation;
45 this.annotationImport = annotationImport;
46 this.additionalImports = additionalImports;
47 this.nestedDeclaration = nestedDeclaration;
48 }
49 }