Package: ImportsContainer

ImportsContainer

nameinstructionbranchcomplexitylinemethod
ImportsContainer(AModuleImports, List)
M: 15 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 6 C: 0
0%
M: 1 C: 0
0%
apply(IAnalysis)
M: 1 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
apply(IAnswer)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
apply(IQuestion, Object)
M: 1 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
apply(IQuestionAnswer, Object)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
clone()
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
clone(Map)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getAncestor(Class)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getChildren(Boolean)
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getImportDefs()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
getImports()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
parent()
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
parent(INode)
M: 1 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
removeChild(INode)
M: 1 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
replaceChild(INode, INode)
M: 1 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*
2: * #%~
3: * org.overture.ide.ui
4: * %%
5: * Copyright (C) 2008 - 2014 Overture
6: * %%
7: * This program is free software: you can redistribute it and/or modify
8: * it under the terms of the GNU General Public License as
9: * published by the Free Software Foundation, either version 3 of the
10: * License, or (at your option) any later version.
11: *
12: * This program is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15: * GNU General Public License for more details.
16: *
17: * You should have received a copy of the GNU General Public
18: * License along with this program. If not, see
19: * <http://www.gnu.org/licenses/gpl-3.0.html>.
20: * #~%
21: */
22: package org.overture.ide.ui.internal.viewsupport;
23:
24: import java.util.List;
25: import java.util.Map;
26:
27: import org.overture.ast.analysis.AnalysisException;
28: import org.overture.ast.analysis.intf.IAnalysis;
29: import org.overture.ast.analysis.intf.IAnswer;
30: import org.overture.ast.analysis.intf.IQuestion;
31: import org.overture.ast.analysis.intf.IQuestionAnswer;
32: import org.overture.ast.definitions.PDefinition;
33: import org.overture.ast.modules.AModuleImports;
34: import org.overture.ast.node.INode;
35:
36: public class ImportsContainer implements INode {
37:
38:         
39:         private AModuleImports imports = null;
40:         private List<PDefinition> importDefs = null;
41:         
42:         public ImportsContainer(AModuleImports imports, List<PDefinition> importDefs){
43:                 this.imports = imports;
44:                 this.importDefs = importDefs;
45:         }
46:         
47:         public List<PDefinition> getImportDefs() {
48:                 return importDefs;
49:         }
50:         
51:         public AModuleImports getImports() {
52:                 return imports;
53:         }
54:
55:         @Override
56:         public void apply(IAnalysis arg0) throws AnalysisException
57:         {
58:         }
59:
60:         @Override
61:         public <A> A apply(IAnswer<A> arg0) throws AnalysisException
62:         {
63:                 return null;
64:         }
65:
66:         @Override
67:         public <Q> void apply(IQuestion<Q> arg0, Q arg1) throws AnalysisException
68:         {
69:         }
70:
71:         @Override
72:         public <Q, A> A apply(IQuestionAnswer<Q, A> arg0, Q arg1)
73:                         throws AnalysisException
74:         {
75:                 return null;
76:         }
77:
78:         @Override
79:         public Object clone()
80:         {
81:                 return null;
82:         }
83:
84:         @Override
85:         public INode clone(Map<INode, INode> arg0)
86:         {
87:                 return null;
88:         }
89:
90:         @Override
91:         public void removeChild(INode arg0)
92:         {
93:         }
94:
95:         @Override
96:         public <T extends INode> T getAncestor(Class<T> arg0)
97:         {
98:                 return null;
99:         }
100:
101:         @Override
102:         public Map<String, Object> getChildren(Boolean arg0)
103:         {
104:                 return null;
105:         }
106:
107:         @Override
108:         public INode parent()
109:         {
110:                 return null;
111:         }
112:
113:         @Override
114:         public void parent(INode arg0)
115:         {
116:         }
117:
118:         @Override
119:         public void replaceChild(INode arg0, INode arg1)
120:         {
121:                 
122:         }
123:         
124: }