OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:sigClass
(Results
1 - 6
of
6
) sorted by null
/cts/tools/signature-tools/test/signature/converter/
ConvertWildcardTest.java
49
IClassDefinition
sigClass
= ModelUtil.getClass(sigPackage, "A");
50
IField field = ModelUtil.getField(
sigClass
, "f");
78
IClassDefinition
sigClass
= ModelUtil.getClass(sigPackage, "A");
79
IField field = ModelUtil.getField(
sigClass
, "f");
ConvertParameterizedTypeTest.java
52
IClassDefinition
sigClass
= ModelUtil.getClass(sigPackage, "A");
53
IField field = ModelUtil.getField(
sigClass
, "f");
76
IClassDefinition
sigClass
= ModelUtil.getClass(sigPackage, "A.Sub");
77
System.out.println(
sigClass
);
ConvertAnnotationTest.java
59
IClassDefinition
sigClass
= ModelUtil.getClass(sigPackage, "ToDo");
60
assertTrue(
sigClass
.getKind() == Kind.ANNOTATION);
61
assertEquals(0,
sigClass
.getConstructors().size());
62
assertEquals(0,
sigClass
.getMethods().size());
63
assertEquals(0,
sigClass
.getFields().size());
64
Set<IAnnotationField> annotationFields =
sigClass
.getAnnotationFields();
73
assertSame(
sigClass
, annotation.getType().getClassDefinition());
89
IClassDefinition
sigClass
= ModelUtil.getClass(sigPackage, "ToDo");
90
assertTrue(
sigClass
.getKind() == Kind.ANNOTATION);
91
assertEquals(0,
sigClass
.getConstructors().size());
[
all
...]
ConvertClassTest.java
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())
[
all
...]
/cts/tools/signature-tools/test/signature/converter/dex/
GenericSignatureParserTest.java
56
SigClassDefinition
sigClass
= converter.convertClass(dexClass);
58
parser.parseForClass(
sigClass
, DexUtil.getGenericSignature(dexClass));
63
assertSame(
sigClass
, parser.formalTypeParameters.get(0).getGenericDeclaration());
/cts/tools/signature-tools/src/signature/converter/dex/
DexToSigConverter.java
193
for (SigClassDefinition
sigClass
: allClasses) {
194
String dexName = getDexName(
sigClass
);
211
sigClass
.setInnerClasses(memberClasses);
213
sigClass
.setInnerClasses(EMPTY_INNER_CLASSES);
218
for (SigClassDefinition
sigClass
: allClasses) {
219
if (hasInvisibleParent(
sigClass
, dexNameToDexClass)) {
220
SigPackage sigPackage = packageNameToPackage.get(
sigClass
222
sigPackage.getClasses().remove(
sigClass
);
228
private boolean hasInvisibleParent(IClassDefinition
sigClass
,
232
String dexName = getDexName(
sigClass
);
[
all
...]
Completed in 1152 milliseconds