Home
last modified time | relevance | path

Searched refs:documentedMethod (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/
DDocumentedType.java18 DocumentedMethod documentedMethod = methods.get(desc); in getDocumentedMethod() local
19 if (documentedMethod == null) { in getDocumentedMethod()
20 documentedMethod = new DocumentedMethod(desc); in getDocumentedMethod()
21 methods.put(desc, documentedMethod); in getDocumentedMethod()
23 return documentedMethod; in getDocumentedMethod()
DRobolectricModel.java137 public void documentMethod(TypeElement shadowClass, DocumentedMethod documentedMethod) { in documentMethod() argument
139 documentedType.methods.put(documentedMethod.getName(), documentedMethod); in documentMethod() local
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DImplementsValidator.java277 DocumentedMethod documentedMethod = new DocumentedMethod(memberElement.toString()); in captureJavadoc() local
279 documentedMethod.modifiers.add(modifier.toString()); in captureJavadoc()
281 documentedMethod.isImplementation = implementation != null; in captureJavadoc()
283 documentedMethod.minSdk = sdkOrNull(implementation.minSdk()); in captureJavadoc()
284 documentedMethod.maxSdk = sdkOrNull(implementation.maxSdk()); in captureJavadoc()
287 documentedMethod.params.add(variableElement.toString()); in captureJavadoc()
289 documentedMethod.returnType = methodElement.getReturnType().toString(); in captureJavadoc()
291 documentedMethod.exceptions.add(typeMirror.toString()); in captureJavadoc()
295 documentedMethod.setDocumentation(docMd); in captureJavadoc()
298 modelBuilder.documentMethod(elem, documentedMethod); in captureJavadoc()
/external/robolectric-shadows/processor/src/test/java/org/robolectric/annotation/processing/validator/
DImplementsValidatorTest.java90 DocumentedMethod documentedMethod = new DocumentedMethod("name"); in javadocMarkdownFormatting() local
91 documentedMethod.setDocumentation( in javadocMarkdownFormatting()
95 assertThat(documentedMethod.getDocumentation()) in javadocMarkdownFormatting()