Home
last modified time | relevance | path

Searched refs:getTypeElement (Results 1 – 25 of 48) sorted by relevance

12

/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DKeyTest.java69 compilationRule.getElements().getTypeElement(InjectedClass.class.getCanonicalName()); in forInjectConstructorWithResolvedType()
85 TypeMirror stringType = elements.getTypeElement(String.class.getCanonicalName()).asType(); in forProvidesMethod()
87 elements.getTypeElement(ProvidesMethodModule.class.getCanonicalName()); in forProvidesMethod()
105 TypeMirror stringType = elements.getTypeElement(String.class.getCanonicalName()).asType(); in forProvidesMethod_qualified()
107 elements.getTypeElement(TestQualifier.class.getCanonicalName()); in forProvidesMethod_qualified()
109 elements.getTypeElement(QualifiedProvidesMethodModule.class.getCanonicalName()); in forProvidesMethod_qualified()
121 elements.getTypeElement(QualifiedProvidesMethodModule.class.getCanonicalName()); in qualifiedKeyEquivalents()
127 TypeMirror type = elements.getTypeElement(String.class.getCanonicalName()).asType(); in qualifiedKeyEquivalents()
129 elements.getTypeElement(QualifiedFieldHolder.class.getCanonicalName()); in qualifiedKeyEquivalents()
159 TypeElement setElement = elements.getTypeElement(Set.class.getCanonicalName()); in forProvidesMethod_sets()
[all …]
DValidationReportTest.java51 ValidationReport.about(getTypeElement("test.TestClass")); in basicReport()
71 ValidationReport.about(getTypeElement("test.TestClass")); in messageOnDifferentElement()
72 reportBuilder.addError("simple error", getTypeElement(String.class)); in messageOnDifferentElement()
91 ValidationReport.about(getTypeElement("test.TestClass")); in subreport()
94 ValidationReport.about(getTypeElement(String.class)) in subreport()
119 protected final TypeElement getTypeElement(Class<?> clazz) { in getTypeElement() method in ValidationReportTest.SimpleTestProcessor
120 return getTypeElement(clazz.getCanonicalName()); in getTypeElement()
123 protected final TypeElement getTypeElement(String canonicalName) { in getTypeElement() method in ValidationReportTest.SimpleTestProcessor
124 return processingEnv.getElementUtils().getTypeElement(canonicalName); in getTypeElement()
DDependencyRequestMapperTest.java65 elements.getTypeElement(ProvidesMethodModule.class.getCanonicalName()); in sampleProviderParameters()
73 elements.getTypeElement(ProducesMethodModule.class.getCanonicalName()); in sampleProducerParameters()
/external/parameter-framework/upstream/parameter/
DInstanceConfigurableElement.cpp59 const CTypeElement *CInstanceConfigurableElement::getTypeElement() const in getTypeElement() function in CInstanceConfigurableElement
69 return getTypeElement()->getMappingData(strKey, pStrValue); in getMappingData()
76 return getTypeElement()->getFormattedMapping(); in getFormattedMapping()
81 bool bHasMappingData = getTypeElement()->hasMappingData(); in map()
223 getTypeElement()->setXmlDescriptionAttribute(xmlElement); in structureToXml()
DParameter.cpp68 static_cast<const CParameterType *>(getTypeElement()) in handleValueSpaceAttribute()
80 return static_cast<const CParameterType *>(getTypeElement())->getSize(); in getSize()
88 static_cast<const CParameterType *>(getTypeElement())->getDefaultValue(); in setDefaultValues()
177 if (!static_cast<const CParameterType *>(getTypeElement()) in doSet()
203 return static_cast<const CParameterType *>(getTypeElement()) in doGet()
DBitParameter.cpp84 if (static_cast<const CBitParameterType *>(getTypeElement())->getBitSize() != 1) { in access()
153 if (!static_cast<const CBitParameterType *>(getTypeElement()) in doSet()
177 static_cast<const CBitParameterType *>(getTypeElement()) in doGet()
191 return static_cast<const CBitParameterType *>(getTypeElement())->merge(uiOriginData, uiNewData); in merge()
DArrayParameter.cpp57 return getTypeElement()->getArrayLength(); in getArrayLength()
182 static_cast<const CParameterType *>(getTypeElement())->getDefaultValue(); in setDefaultValues()
406 if (!static_cast<const CParameterType *>(getTypeElement()) in doSet()
432 return static_cast<const CParameterType *>(getTypeElement()) in doGet()
DBitParameterBlock.cpp58 return static_cast<const CBitParameterBlockType *>(getTypeElement())->getSize(); in getSize()
DStringParameter.cpp57 return static_cast<const CStringParameterType *>(getTypeElement())->getMaxLength() + 1; in getSize()
DInstanceConfigurableElement.h60 const CTypeElement *getTypeElement() const;
/external/javapoet/src/test/java/com/squareup/javapoet/
DClassNameTest.java107 TypeElement object = elements.getTypeElement(Object.class.getCanonicalName()); in classNameFromTypeElement()
109 TypeElement outer = elements.getTypeElement($Outer.class.getCanonicalName()); in classNameFromTypeElement()
111 TypeElement inner = elements.getTypeElement($Outer.$Inner.class.getCanonicalName()); in classNameFromTypeElement()
121 TypeElement object = elements.getTypeElement(Object.class.getCanonicalName()); in classNameFromTypeElementDoesntUseGetKind()
124 TypeElement outer = elements.getTypeElement($Outer.class.getCanonicalName()); in classNameFromTypeElementDoesntUseGetKind()
127 TypeElement inner = elements.getTypeElement($Outer.$Inner.class.getCanonicalName()); in classNameFromTypeElementDoesntUseGetKind()
DAnnotationSpecTest.java120 TypeElement element = compilation.getElements().getTypeElement(name); in defaultAnnotation()
157 TypeElement element = compilation.getElements().getTypeElement(name); in defaultAnnotationWithImport()
245 TypeElement element = compilation.getElements().getTypeElement(name); in defaultAnnotationToBuilder()
DAbstractTypesTest.java57 return getElements().getTypeElement(clazz.getCanonicalName()); in getElement()
95 processingEnv.getElementUtils().getTypeElement("com.squareup.tacos.ErrorTypes"); in errorTypes()
240 TypeMirror charSequence = elements.getTypeElement(CharSequence.class.getName()).asType(); in wildcardMirrorExtendsType()
249 TypeMirror string = elements.getTypeElement(String.class.getName()).asType(); in wildcardMirrorSuperType()
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/
DClassNameTest.java80 TypeElement element = elements.getTypeElement(Object.class.getCanonicalName()); in classNameFromTypeElement()
87 TypeElement element = elements.getTypeElement(ClassNameTest.class.getCanonicalName()); in peerNamed_topLevelClass()
96 TypeElement element = elements.getTypeElement(OuterClass.class.getCanonicalName()); in peerNamed_nestedClass()
105 TypeElement element = elements.getTypeElement(InnerClass.class.getCanonicalName()); in peerNamed_deeplyNestedClass()
/external/desugar/java/com/google/devtools/common/options/processor/
DOptionProcessor.java113 TypeElement typeElement = elementUtils.getTypeElement(typeName); in init()
142 elementUtils.getTypeElement("com.google.devtools.common.options.OptionsBase").asType(); in checkInOptionBase()
176 TypeMirror listType = elementUtils.getTypeElement(List.class.getCanonicalName()).asType(); in getAcceptedConverterReturnTypes()
239 elementUtils.getTypeElement(converterInstance.getClass().getCanonicalName()); in checkForDefaultConverter()
292 elementUtils.getTypeElement(String.class.getCanonicalName()).asType())) in checkProvidedConverter()
328 optionType, elementUtils.getTypeElement(Void.class.getCanonicalName()).asType())) { in checkConverter()
338 elementUtils.getTypeElement(Converter.class.getCanonicalName()); in checkConverter()
464 elementUtils.getTypeElement(ExpansionFunction.class.getCanonicalName()); in checkExpansionOptions()
DProcessorUtils.java38 TypeElement annotationElement = elementUtils.getTypeElement(annotation.getCanonicalName()); in getAnnotation()
91 return elementUtils.getTypeElement(qualifiedName); in getClassTypeFromAnnotationField()
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/
DHelpers.java116 TypeMirror objectMirror = elements.getTypeElement(Object.class.getCanonicalName()).asType(); in Helpers()
174 TypeElement impElement = elements.getTypeElement(classNameString.replace('$', '.')); in getImplementedClassName()
236 .getTypeElement(interfaceClass.getName()) in findInterface()
254 public TypeElement getTypeElement(String className) { in getTypeElement() method in Helpers
255 return elements.getTypeElement(className); in getTypeElement()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliField.java99 PsiTypeElement typeElement = getTypeElement(); in getType()
105 return getTypeElement().getType(); in getType()
108 @Nullable @Override public SmaliTypeElement getTypeElement() { in getTypeElement() method in SmaliField
DSmaliMethodParameter.java78 @NotNull @Override public SmaliTypeElement getTypeElement() { in getTypeElement() method in SmaliMethodParameter
89 return getTypeElement().getType(); in getType()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DKey.java168 return elements.getTypeElement(Set.class.getCanonicalName());
172 return elements.getTypeElement(Map.class.getCanonicalName());
176 return elements.getTypeElement(Provider.class.getCanonicalName());
180 return elements.getTypeElement(Producer.class.getCanonicalName());
184 return elements.getTypeElement(cls.getCanonicalName());
DComponentDescriptor.java293 ? Optional.of(elements.getTypeElement(Executor.class.getCanonicalName()))
464 TypeElement monitoringModule = elements.getTypeElement(generatedMonitorModuleName);
475 && !elements.getTypeElement(Object.class.getCanonicalName())
/external/parameter-framework/upstream/test/introspection-subsystem/
DIntrospectionSubsystemObject.cpp45 return static_cast<const CParameterType *>(element->getTypeElement()); in geParameterType()
/external/parameter-framework/upstream/skeleton-subsystem/
DSkeletonSubsystemObject.cpp57 static_cast<const CParameterType *>(pInstanceConfigurableElement->getTypeElement()); in CSkeletonSubsystemObject()
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliFieldTest.java59 PsiTypeElement typeElement = fields[0].getTypeElement(); in testBasicField()
226 PsiTypeElement typeElement = fields[0].getTypeElement(); in testFieldAnnotations()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/stub/element/
DSmaliMethodParameterElementType.java66 …return new SmaliMethodParameterStub(parentStub, psi.getTypeElement().getSmaliName(), psi.getName()… in createStub()

12