Lines Matching refs:c
59 IClassDefinition c = ModelUtil.getClass(sigPackage, "A"); in testEnum1() local
60 assertNotNull(c); in testEnum1()
61 assertTrue(c.getKind() == Kind.ENUM); in testEnum1()
63 Set<IEnumConstant> constants = c.getEnumConstants(); in testEnum1()
96 IClassDefinition c = ModelUtil.getClass(sigPackage, "A"); in testEnum2() local
97 assertNotNull(c); in testEnum2()
98 assertTrue(c.getKind() == Kind.ENUM); in testEnum2()
100 Set<IEnumConstant> constants = c.getEnumConstants(); in testEnum2()
103 Set<IField> fields = c.getFields(); in testEnum2()
105 IField field = c.getFields().iterator().next(); in testEnum2()
108 assertSame(c, ((IClassReference)field.getType()).getClassDefinition()); in testEnum2()
121 IClassDefinition c = ModelUtil.getClass(sigPackage, "A"); in testEnum3() local
122 assertNotNull(c); in testEnum3()
123 assertTrue(c.getKind() == Kind.ENUM); in testEnum3()
125 Set<IEnumConstant> constants = c.getEnumConstants(); in testEnum3()
128 Set<IConstructor> ctors = c.getConstructors(); in testEnum3()
131 Set<IMethod> methods = c.getMethods(); in testEnum3()
142 …assertSame(c, ((IClassReference)((IArrayType)values.getReturnType()).getComponentType()).getClassD… in testEnum3()
143 assertTrue(c.getModifiers().contains(Modifier.PUBLIC)); in testEnum3()
144 assertFalse(c.getModifiers().contains(Modifier.STATIC)); in testEnum3()
145 assertTrue(c.getModifiers().contains(Modifier.FINAL)); in testEnum3()
152 assertSame(c, ((IClassReference)valueOf.getReturnType()).getClassDefinition()); in testEnum3()
164 IClassDefinition c = ModelUtil.getClass(sigPackage, "A"); in testEnum4() local
165 assertNotNull(c); in testEnum4()
166 assertTrue(c.getKind() == Kind.ENUM); in testEnum4()
168 Set<IEnumConstant> constants = c.getEnumConstants(); in testEnum4()
171 Set<IConstructor> ctors = c.getConstructors(); in testEnum4()
174 Set<IMethod> methods = c.getMethods(); in testEnum4()
185 …assertSame(c, ((IClassReference)((IArrayType)values.getReturnType()).getComponentType()).getClassD… in testEnum4()
186 assertTrue(c.getModifiers().contains(Modifier.PUBLIC)); in testEnum4()
187 assertFalse(c.getModifiers().contains(Modifier.STATIC)); in testEnum4()
188 assertFalse(c.getModifiers().contains(Modifier.FINAL)); in testEnum4()