Lines Matching defs:sigClass
59 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
60 assertEquals("a.b.A", sigClass.getQualifiedName());
61 assertEquals("A", sigClass.getName());
70 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
71 assertEquals("a.A", sigClass.getQualifiedName());
72 assertEquals("A", sigClass.getName());
73 assertEquals(Kind.CLASS, sigClass.getKind());
74 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC));
81 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
82 assertEquals("a.A", sigClass.getQualifiedName());
83 assertEquals("A", sigClass.getName());
84 assertEquals(Kind.INTERFACE, sigClass.getKind());
85 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC));
92 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
93 assertEquals("a.A", sigClass.getQualifiedName());
94 assertEquals("A", sigClass.getName());
95 assertEquals(Kind.ENUM, sigClass.getKind());
96 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC));
103 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
104 assertEquals("a.A", sigClass.getQualifiedName());
105 assertEquals("A", sigClass.getName());
106 assertEquals(Kind.ANNOTATION, sigClass.getKind());
107 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC));
114 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
115 assertEquals("a.A", sigClass.getQualifiedName());
116 assertEquals("A", sigClass.getName());
117 assertEquals(Kind.CLASS, sigClass.getKind());
118 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC));
119 assertEquals(1, sigClass.getAnnotations().size());
120 IAnnotation annotation = sigClass.getAnnotations().iterator().next();
133 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
134 assertEquals("a.A", sigClass.getQualifiedName());
135 assertEquals("A", sigClass.getName());
136 assertEquals(Kind.CLASS, sigClass.getKind());
137 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC));
138 assertEquals(1, sigClass.getFields().size());
139 IField field = sigClass.getFields().iterator().next();
150 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
151 assertEquals("a.A", sigClass.getQualifiedName());
152 assertEquals("A", sigClass.getName());
153 assertEquals(Kind.CLASS, sigClass.getKind());
154 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC));
156 assertEquals(1, sigClass.getTypeParameters().size());
157 ITypeVariableDefinition variable = sigClass.getTypeParameters().get(0);
169 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
170 assertEquals("a.A", sigClass.getQualifiedName());
171 assertEquals("A", sigClass.getName());
172 assertEquals(Kind.CLASS, sigClass.getKind());
173 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC));
175 assertEquals(1, sigClass.getTypeParameters().size());
176 ITypeVariableDefinition variable = sigClass.getTypeParameters().get(0);
188 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
189 assertEquals("a.A", sigClass.getQualifiedName());
190 assertEquals("A", sigClass.getName());
191 assertEquals(Kind.CLASS, sigClass.getKind());
192 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC));
194 assertEquals(2, sigClass.getTypeParameters().size());
195 ITypeVariableDefinition variableS = sigClass.getTypeParameters().get(0);
202 ITypeVariableDefinition variableT = sigClass.getTypeParameters().get(1);
214 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
215 assertEquals("a.A", sigClass.getQualifiedName());
216 assertEquals("A", sigClass.getName());
217 assertEquals(Kind.CLASS, sigClass.getKind());
218 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC));
220 assertEquals(2, sigClass.getTypeParameters().size());
221 ITypeVariableDefinition variableS = sigClass.getTypeParameters().get(0);
228 ITypeVariableDefinition variableT = sigClass.getTypeParameters().get(1);
240 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
241 assertEquals("a.A", sigClass.getQualifiedName());
242 assertEquals("A", sigClass.getName());
243 assertEquals(Kind.CLASS, sigClass.getKind());
244 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC));
246 assertEquals(1, sigClass.getInterfaces().size());
247 IClassDefinition clonable = ((IClassReference) sigClass.getInterfaces().iterator().next()).getClassDefinition();
258 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
259 assertEquals("a.A", sigClass.getQualifiedName());
260 assertEquals("A", sigClass.getName());
261 assertEquals(Kind.CLASS, sigClass.getKind());
262 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC));
270 assertEquals(1, sigClass.getInterfaces().size());
271 IClassReference interfaze = (IClassReference) sigClass.getInterfaces().iterator().next();
282 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
283 assertEquals("a.A", sigClass.getQualifiedName());
284 assertEquals("A", sigClass.getName());
285 assertEquals(Kind.CLASS, sigClass.getKind());
286 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC));
294 assertEquals(1, sigClass.getInterfaces().size());
295 IParameterizedType interfaze = (IParameterizedType) sigClass.getInterfaces().iterator().next();
310 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
311 assertEquals("a.A", sigClass.getQualifiedName());
312 assertEquals("A", sigClass.getName());
313 assertEquals(Kind.CLASS, sigClass.getKind());
314 assertTrue(sigClass.getModifiers().contains(Modifier.PUBLIC));
317 assertEquals(1, sigClass.getTypeParameters().size());
318 ITypeVariableDefinition classTypeVar = sigClass.getTypeParameters().get(0);
320 assertSame(sigClass, classTypeVar.getGenericDeclaration());
334 assertEquals(1, sigClass.getInterfaces().size());
335 IParameterizedType interfaze = (IParameterizedType) sigClass.getInterfaces().iterator().next();
343 assertSame(sigClass, argument.getTypeVariableDefinition().getGenericDeclaration());
357 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
358 assertEquals(1, sigClass.getConstructors().size());
359 IConstructor constructor = sigClass.getConstructors().iterator().next();
368 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A.B");
369 assertEquals(1, sigClass.getConstructors().size());
370 IConstructor constructor = sigClass.getConstructors().iterator().next();
379 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A.B");
380 assertEquals(1, sigClass.getConstructors().size());
381 IConstructor constructor = sigClass.getConstructors().iterator().next();
390 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
391 assertEquals(1, sigClass.getConstructors().size());
399 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A.B");
400 assertEquals(1, sigClass.getConstructors().size());
408 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
409 assertEquals(1, sigClass.getConstructors().size());
410 IConstructor constructor = sigClass.getConstructors().iterator().next();
422 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
423 assertEquals(1, sigClass.getConstructors().size());
424 IConstructor constructor = sigClass.getConstructors().iterator().next();
436 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
437 assertEquals(1, sigClass.getConstructors().size());
438 IConstructor constructor = sigClass.getConstructors().iterator().next();
444 assertSame(sigClass, paramType.getGenericDeclaration());
452 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
453 assertEquals(1, sigClass.getMethods().size());
454 IMethod method = sigClass.getMethods().iterator().next();
465 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
466 assertEquals(1, sigClass.getMethods().size());
467 IMethod method = sigClass.getMethods().iterator().next();
522 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
523 ITypeVariableDefinition t = sigClass.getTypeParameters().get(0);
525 IMethod sigMethod = sigClass.getMethods().iterator().next();
551 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
552 ITypeVariableDefinition t = sigClass.getTypeParameters().get(0);
568 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A");
570 List<ITypeVariableDefinition> typeParameters = sigClass.getTypeParameters();