HomeSort by relevance Sort by last modified time
    Searched refs:asElement (Results 1 - 25 of 39) sorted by null

1 2

  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/
KeyVariableNamer.java 43 builder.append(key.qualifier().get().getAnnotationType().asElement().getSimpleName());
49 builder.append(t.asElement().getSimpleName());
ConfigurationAnnotations.java 100 if (mirror.getAnnotationType().asElement().getSimpleName().toString().equals("Nullable")) {
219 return MoreElements.getAnnotationMirror(t.asElement(), Subcomponent.class);
230 element = MoreElements.asType(types.asElement(superclass));
MapKeys.java 87 MapKey mapKeyAnnotation = mapKey.getAnnotationType().asElement().getAnnotation(MapKey.class);
111 getOnlyElement(methodsIn(mapKeyAnnotationType.asElement().getEnclosedElements()));
284 mapKeyAnnotation.getAnnotationType().asElement().getSimpleName(),
ComponentValidator.java 171 referencedSubcomponents.put(MoreTypes.asElement(returnType), method);
179 referencedSubcomponents.put(MoreTypes.asElement(returnType).getEnclosingElement(),
278 return MoreElements.isAnnotationPresent(t.asElement(), Module.class)
341 return MoreElements.getAnnotationMirror(t.asElement(), annotation);
MapKeyProcessingStep.java 78 if (keyType.asElement().getKind() == ElementKind.ANNOTATION_TYPE) {
ProductionComponentValidator.java 68 TypeElement moduleElement = MoreElements.asType(t.asElement());
MembersInjectionBinding.java 213 TypeElement typeElement = MoreElements.asType(declaredType.asElement());
233 ancestors.add(MoreElements.asType(type.asElement()));
234 for (Element enclosedElement : type.asElement().getEnclosedElements()) {
ModuleValidator.java 168 final TypeElement element = MoreElements.asType(t.asElement());
241 currentClass = MoreElements.asType(types.asElement(currentClass.getSuperclass()));
300 return types.asElement(input);
ComponentDescriptor.java 323 MoreElements.asType(MoreTypes.asElement(resolvedMethod.getReturnType())),
331 MoreTypes.asElement(resolvedMethod.getReturnType()).getEnclosingElement()),
381 } else if (isAnnotationPresent(MoreTypes.asElement(returnType), Subcomponent.class)) {
386 } else if (isAnnotationPresent(MoreTypes.asElement(returnType),
MethodSignatureFormatter.java 63 type = MoreElements.asType(container.get().asElement());
Binding.java 195 TypeElement typeElement = MoreElements.asType(t.asElement());
InjectBindingRegistry.java 209 TypeElement element = MoreElements.asType(types.asElement(key.type()));
ProducesMethodValidator.java 196 if (!declaredType.asElement().equals(getSetElement())) {
ProvidesMethodValidator.java 141 if (!declaredReturnType.asElement().equals(getSetElement())) {
ProvisionBinding.java 144 TypeElement typeElement = MoreElements.asType(type.asElement());
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
TypeNames.java 71 ? ClassName.fromTypeElement((TypeElement) t.asElement())
73 ClassName.fromTypeElement((TypeElement) t.asElement()),
TypeVariableName.java 98 return named(variable.asElement().getSimpleName());
  /external/desugar/java/com/google/devtools/common/options/processor/
ProcessorUtils.java 88 ((TypeElement) ((DeclaredType) annotationField).asElement())
  /external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
FoundOnImplementsValidator.java 39 p = superclass == null ? null : types.asElement(superclass);
ImplementsValidator.java 126 actualType = Helpers.getAnnotationTypeMirrorValue(types.asElement(value));
163 : (TypeElement) types.asElement(shadowPickerTypeMirror));
  /external/javapoet/src/main/java/com/squareup/javapoet/
TypeVariableName.java 104 return get((TypeParameterElement) mirror.asElement());
117 TypeParameterElement element = (TypeParameterElement) mirror.asElement();
TypeName.java 273 ClassName rawType = ClassName.get((TypeElement) t.asElement());
277 && !t.asElement().getModifiers().contains(Modifier.STATIC)
AnnotationSpec.java 143 TypeElement element = (TypeElement) annotation.getAnnotationType().asElement();
  /external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/
Helpers.java 250 public Element asElement(TypeMirror typeMirror) {
251 return types.asElement(typeMirror);
RobolectricModel.java 100 String baseClassName = type.asElement().getQualifiedName().toString();
245 TypeElement boundElement = TYPE_ELEMENT_VISITOR.visit(helpers.asElement(bound));
255 return referentMap.get(t.asElement());

Completed in 1183 milliseconds

1 2