Home
last modified time | relevance | path

Searched refs:ModelUtil (Results 1 – 15 of 15) sorted by relevance

/cts/tools/signature-tools/test/signature/converter/
DConvertVisibilityTest.java34 import signature.model.util.ModelUtil;
50 IPackage p = ModelUtil.getPackage(api, "a"); in testVisibilityMethods1()
51 IClassDefinition c = ModelUtil.getClass(p, "A"); in testVisibilityMethods1()
68 IPackage p = ModelUtil.getPackage(api, "a"); in testVisibilityMethods2()
69 IClassDefinition c = ModelUtil.getClass(p, "A"); in testVisibilityMethods2()
86 IPackage p = ModelUtil.getPackage(api, "a"); in testVisibilityMethods3()
87 IClassDefinition c = ModelUtil.getClass(p, "A"); in testVisibilityMethods3()
104 IPackage p = ModelUtil.getPackage(api, "a"); in testVisibilityMethods4()
105 IClassDefinition c = ModelUtil.getClass(p, "A"); in testVisibilityMethods4()
121 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in testVisibility1()
[all …]
DConvertClassTest.java51 import signature.model.util.ModelUtil;
58 IPackage sigPackage = ModelUtil.getPackage(api, "a.b"); in convertPackageClassTest()
59 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in convertPackageClassTest()
69 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertClassClassTest()
70 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in convertClassClassTest()
80 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertClassInterfaceTest()
81 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in convertClassInterfaceTest()
91 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertClassEnumTest()
92 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in convertClassEnumTest()
102 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertClassAnnotationTest()
[all …]
DConvertAnnotationTest.java43 import signature.model.util.ModelUtil;
58 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertAnnotationDefinition1()
59 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "ToDo"); in convertAnnotationDefinition1()
88 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertAnnotationDefinition2()
89 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "ToDo"); in convertAnnotationDefinition2()
110 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertAnnotationDefinition3()
111 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "ToDo"); in convertAnnotationDefinition3()
118 IAnnotationField name = ModelUtil.getAnnotationField(sigClass, "name"); in convertAnnotationDefinition3()
119 IAnnotationField num = ModelUtil.getAnnotationField(sigClass, "num"); in convertAnnotationDefinition3()
138 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in testAnnotationDefaultsInt1()
[all …]
DConvertWildcardTest.java34 import signature.model.util.ModelUtil;
48 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertWildcardUpperBound()
49 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in convertWildcardUpperBound()
50 IField field = ModelUtil.getField(sigClass, "f"); in convertWildcardUpperBound()
77 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertWildcardLowerBound()
78 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in convertWildcardLowerBound()
79 IField field = ModelUtil.getField(sigClass, "f"); in convertWildcardLowerBound()
DConvertParameterizedTypeTest.java34 import signature.model.util.ModelUtil;
51 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertParameterizedType()
52 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A"); in convertParameterizedType()
53 IField field = ModelUtil.getField(sigClass, "f"); in convertParameterizedType()
75 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in convertWildcardLowerBound()
76 IClassDefinition sigClass = ModelUtil.getClass(sigPackage, "A.Sub"); in convertWildcardLowerBound()
DConvertPackageTest.java30 import signature.model.util.ModelUtil;
40 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in testPackageAnnotation()
52 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in testNumberOfClasses1()
65 IPackage sigPackage = ModelUtil.getPackage(api, "a"); in testNumberOfClasses2()
DConvertEnumTest.java47 import signature.model.util.ModelUtil;
58 IPackage sigPackage = ModelUtil.getPackage(api, "test"); in testEnum1()
59 IClassDefinition c = ModelUtil.getClass(sigPackage, "A"); in testEnum1()
95 IPackage sigPackage = ModelUtil.getPackage(api, "test"); in testEnum2()
96 IClassDefinition c = ModelUtil.getClass(sigPackage, "A"); in testEnum2()
120 IPackage sigPackage = ModelUtil.getPackage(api, "test"); in testEnum3()
121 IClassDefinition c = ModelUtil.getClass(sigPackage, "A"); in testEnum3()
163 IPackage sigPackage = ModelUtil.getPackage(api, "test"); in testEnum4()
164 IClassDefinition c = ModelUtil.getClass(sigPackage, "A"); in testEnum4()
/cts/tools/signature-tools/src/signature/model/impl/
DSigConstructor.java23 import signature.model.util.ModelUtil;
41 builder.append(ModelUtil.separate(getTypeParameters(), ", ")); in toString()
46 builder.append(getParameters().isEmpty() ? "" : ModelUtil.separate( in toString()
51 builder.append(ModelUtil.separate(getExceptions(), " ")); in toString()
DSigMethod.java24 import signature.model.util.ModelUtil;
59 .append(ModelUtil in toString()
65 builder.append(method.getParameters().isEmpty() ? "" : ModelUtil in toString()
71 builder.append(ModelUtil.separate(method.getExceptions(), " ")); in toString()
DSigTypeVariableDefinition.java22 import signature.model.util.ModelUtil;
63 builder.append(ModelUtil.separate(getUpperBounds(), ", ")); in toString()
65 if (!ModelUtil.isJavaLangObject(getUpperBounds().get(0))) { in toString()
DSigParameterizedType.java22 import signature.model.util.ModelUtil;
117 builder.append(ModelUtil.separate(type.getTypeArguments(), ", ")); in toString()
DSigClassDefinition.java34 import signature.model.util.ModelUtil;
226 ModelUtil.separate(type.getTypeParameters(), ", "); in toString()
/cts/tools/signature-tools/src/signature/model/util/
DModelUtil.java31 public class ModelUtil { class
32 private ModelUtil() { in ModelUtil() method in ModelUtil
/cts/tools/signature-tools/test/signature/converter/doclet/
DDocletTestConverter.java32 import signature.model.util.ModelUtil;
61 String p = ModelUtil.getPackageName(u.getName()); in convert()
/cts/tools/signature-tools/src/signature/converter/dex/
DDexUtil.java31 import signature.model.util.ModelUtil;
89 return ModelUtil.getPackageName(name.replace("/", ".")); in getPackageName()
101 return ModelUtil.getClassName(name.replace("/", ".")).replace('$', '.'); in getClassName()