/external/dagger2/java/dagger/internal/codegen/binding/ |
D | AssistedInjectionAnnotations.java | 53 import javax.lang.model.element.VariableElement; 104 List<? extends VariableElement> paramElements, List<? extends TypeMirror> paramTypes) { in assistedParameterSpecs() 107 VariableElement paramElement = paramElements.get(i); in assistedParameterSpecs() 149 public static ImmutableList<VariableElement> assistedParameters(Binding binding) { in assistedParameters() 155 private static ImmutableList<VariableElement> assistedParameters(ExecutableElement constructor) { in assistedParameters() 162 public static boolean isAssistedParameter(VariableElement param) { in isAssistedParameter() 205 public ImmutableMap<AssistedParameter, VariableElement> assistedInjectAssistedParametersMap() { in assistedInjectAssistedParametersMap() 206 ImmutableMap.Builder<AssistedParameter, VariableElement> builder = ImmutableMap.builder(); in assistedInjectAssistedParametersMap() 214 public ImmutableMap<AssistedParameter, VariableElement> assistedFactoryAssistedParametersMap() { in assistedFactoryAssistedParametersMap() 215 ImmutableMap.Builder<AssistedParameter, VariableElement> builder = ImmutableMap.builder(); in assistedFactoryAssistedParametersMap() [all …]
|
D | ComponentCreatorDescriptor.java | 43 import javax.lang.model.element.VariableElement; 83 abstract ImmutableSetMultimap<ComponentRequirement, VariableElement> 121 public ImmutableMap<ComponentRequirement, VariableElement> factoryParameters() { in factoryParameters() 174 VariableElement parameter = getOnlyElement(method.getParameters()); in create() 183 ImmutableSetMultimap.Builder<ComponentRequirement, VariableElement> factoryParameters = in create() 188 List<? extends VariableElement> parameters = factoryMethod.getParameters(); in create() 191 VariableElement parameter = parameters.get(i); in create() 206 VariableElement parameter, in requirement()
|
D | MethodSignatureFormatter.java | 33 import javax.lang.model.element.VariableElement; 111 Iterator<? extends VariableElement> parameters = method.getParameters().iterator(); 123 private void appendParameter(StringBuilder builder, VariableElement parameter, TypeMirror type) {
|
/external/dagger2/java/dagger/internal/codegen/ |
D | AssistedProcessingStep.java | 39 import javax.lang.model.element.VariableElement; 46 final class AssistedProcessingStep extends TypeCheckingProcessingStep<VariableElement> { 75 VariableElement assisted, ImmutableSet<Class<? extends Annotation>> annotations) { in process() 80 ValidationReport<VariableElement> validate(VariableElement assisted) { in validate() 81 ValidationReport.Builder<VariableElement> report = ValidationReport.about(assisted); in validate()
|
/external/desugar/java/com/google/devtools/common/options/processor/ |
D | OptionProcessor.java | 45 import javax.lang.model.element.VariableElement; 136 private void checkInOptionBase(VariableElement optionField) throws OptionProcessorException { in checkInOptionBase() 158 private void checkModifiers(VariableElement optionField) throws OptionProcessorException { in checkModifiers() 172 private ImmutableList<TypeMirror> getAcceptedConverterReturnTypes(VariableElement optionField) in getAcceptedConverterReturnTypes() 228 VariableElement optionField, in checkForDefaultConverter() 265 VariableElement optionField, in checkProvidedConverter() 319 private void checkConverter(VariableElement optionField) throws OptionProcessorException { in checkConverter() 360 private void checkEffectTagRationality(VariableElement optionField) in checkEffectTagRationality() 393 private void checkMetadataTagAndCategoryRationality(VariableElement optionField) in checkMetadataTagAndCategoryRationality() 415 private void checkOldCategoriesAreNotUsed(VariableElement optionField) in checkOldCategoriesAreNotUsed() [all …]
|
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/ |
D | RealObjectValidator.java | 7 import javax.lang.model.element.VariableElement; 37 TypeVisitor<Void,VariableElement> typeVisitor = new SimpleTypeVisitor6<Void,VariableElement>() { 39 public Void visitDeclared(DeclaredType t, VariableElement v) { 61 public Void visitVariable(VariableElement elem, TypeElement parent) { in visitVariable()
|
D | FoundOnImplementsValidator.java | 8 import javax.lang.model.element.VariableElement; 51 final public Void visitVariable(VariableElement elem, Element parent) { in visitVariable() 55 public Void visitVariable(VariableElement elem, TypeElement parent) { in visitVariable()
|
D | ResetterValidator.java | 9 import javax.lang.model.element.VariableElement; 33 List<? extends VariableElement> params = elem.getParameters(); in visitExecutable()
|
D | Validator.java | 13 import javax.lang.model.element.VariableElement; 45 public Void visitVariable(VariableElement e, Element p) { 128 public Void visitVariable(VariableElement e, Element p) { in visitVariable()
|
/external/dagger2/java/dagger/internal/codegen/validation/ |
D | BindsInstanceParameterValidator.java | 30 import javax.lang.model.element.VariableElement; 34 final class BindsInstanceParameterValidator extends BindsInstanceElementValidator<VariableElement> { 41 protected ElementValidator elementValidator(VariableElement element) { in elementValidator() 46 Validator(VariableElement element) { in Validator()
|
D | InjectValidator.java | 54 import javax.lang.model.element.VariableElement; 178 for (VariableElement parameter : constructorElement.getParameters()) { in validateConstructorUncached() 246 private ValidationReport<VariableElement> validateField(VariableElement fieldElement) { in validateField() 247 ValidationReport.Builder<VariableElement> builder = ValidationReport.about(fieldElement); in validateField() 302 for (VariableElement parameter : methodElement.getParameters()) { in validateMethod() 310 ValidationReport.Builder<?> builder, VariableElement parameter) { in validateDependencyRequest() 320 for (VariableElement element : ElementFilter.fieldsIn(typeElement.getEnclosedElements())) { in validateMembersInjectionType() 323 ValidationReport<VariableElement> report = validateField(element); in validateMembersInjectionType()
|
D | ProvidesMethodValidator.java | 34 import javax.lang.model.element.VariableElement; 79 protected void checkParameter(VariableElement parameter) { in checkParameter()
|
/external/dagger2/java/dagger/hilt/processor/internal/ |
D | AnnotationValues.java | 30 import javax.lang.model.element.VariableElement; 77 private static final class EnumVisitor extends DefaultVisitor<VariableElement> { 81 super(VariableElement.class); in EnumVisitor() 85 public VariableElement visitEnumConstant(VariableElement value, Void unused) { in visitEnumConstant() 95 public static VariableElement getEnum(AnnotationValue value) { in getEnum()
|
D | Processors.java | 70 import javax.lang.model.element.VariableElement; 377 private static final SimpleAnnotationValueVisitor7<ImmutableSet<VariableElement>, Void> 379 new SimpleAnnotationValueVisitor7<ImmutableSet<VariableElement>, Void>() { 381 public ImmutableSet<VariableElement> defaultAction(Object o, Void unused) { 387 public ImmutableSet<VariableElement> visitArray( 389 ImmutableSet.Builder<VariableElement> builder = ImmutableSet.builder(); 397 public ImmutableSet<VariableElement> visitEnumConstant( 398 VariableElement value, Void unused) { 404 public static ImmutableSet<VariableElement> getEnumArrayAnnotationValue(AnnotationValue value) { 744 VariableElement fieldElement = asVariable(element); [all …]
|
/external/dagger2/java/dagger/internal/codegen/kotlin/ |
D | KotlinMetadata.java | 47 import javax.lang.model.element.VariableElement; 77 private final Map<VariableElement, Optional<MethodForAnnotations>> 81 private final Map<VariableElement, Optional<ExecutableElement>> elementFieldGetterMethodMap = 103 Optional<ExecutableElement> getSyntheticAnnotationMethod(VariableElement fieldElement) { in getSyntheticAnnotationMethod() 119 boolean isMissingSyntheticAnnotationMethod(VariableElement fieldElement) { 128 private Optional<MethodForAnnotations> getAnnotationMethod(VariableElement fieldElement) { 133 private Optional<MethodForAnnotations> getAnnotationMethodUncached(VariableElement fieldElement) { 146 Optional<ExecutableElement> getPropertyGetter(VariableElement fieldElement) { 151 private Optional<ExecutableElement> getPropertyGetterUncached(VariableElement fieldElement) { 157 private PropertyMetadata findProperty(VariableElement field) { [all …]
|
D | KotlinMetadataUtil.java | 37 import javax.lang.model.element.VariableElement; 68 VariableElement fieldElement, Class<? extends Annotation> annotationType) { in getSyntheticPropertyAnnotations() 81 public boolean isMissingSyntheticPropertyForAnnotations(VariableElement fieldElement) { in isMissingSyntheticPropertyForAnnotations() 142 public Optional<ExecutableElement> getPropertyGetter(VariableElement fieldElement) { in getPropertyGetter()
|
/external/auto/factory/src/main/java/com/google/auto/factory/processor/ |
D | Parameter.java | 37 import javax.lang.model.element.VariableElement; 73 VariableElement variable, TypeMirror type, Types types) { in forVariableElement() 103 List<? extends VariableElement> variables, in forParameterList() 120 List<? extends VariableElement> variables, Types types) { in forParameterList() 122 for (VariableElement var : variables) { in forParameterList()
|
D | ProvidedChecker.java | 27 import javax.lang.model.element.VariableElement; 47 public Void visitVariableAsParameter(final VariableElement providedParameter, Void p) { in checkProvidedParameter() 70 private void raiseError(VariableElement providedParameter, String messageFormat) { in raiseError()
|
D | FactoryDescriptorGenerator.java | 42 import javax.lang.model.element.VariableElement; 123 ImmutableListMultimap<Boolean, ? extends VariableElement> parameterMap = 125 new Predicate<VariableElement>() { 127 public boolean apply(VariableElement parameter) {
|
/external/auto/common/src/main/java/com/google/auto/common/ |
D | AnnotationValues.java | 27 import javax.lang.model.element.VariableElement; 200 private static final class EnumVisitor extends DefaultVisitor<VariableElement> { 204 super(VariableElement.class); in EnumVisitor() 208 public VariableElement visitEnumConstant(VariableElement value, Void unused) { in visitEnumConstant() 219 public static VariableElement getEnum(AnnotationValue value) { in getEnum() 356 private static final ArrayVisitor<VariableElement> ENUMS_VISITOR = 364 public static ImmutableList<VariableElement> getEnums(AnnotationValue value) { in getEnums()
|
D | MoreElements.java | 42 import javax.lang.model.element.VariableElement; 161 private static final class VariableElementVisitor extends CastingElementVisitor<VariableElement> { 169 public VariableElement visitVariable(VariableElement e, Void ignore) { in visitVariable() 183 public static VariableElement asVariable(Element element) { in asVariable()
|
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/containers/ |
D | CrossProfileMethodInfo.java | 39 import javax.lang.model.element.VariableElement; 168 Optional<VariableElement> param = getCrossProfileCallbackParam(generatorContext); in isSimpleCrossProfileCallback() 190 public Optional<VariableElement> getCrossProfileCallbackParam(GeneratorContext generatorContext) { in getCrossProfileCallbackParam() 194 public static Optional<VariableElement> getCrossProfileCallbackParam( in getCrossProfileCallbackParam() 199 .map(e -> (VariableElement) e); in getCrossProfileCallbackParam()
|
/external/dagger2/java/dagger/internal/codegen/base/ |
D | ElementFormatter.java | 27 import javax.lang.model.element.VariableElement; 70 public String visitVariableAsParameter(VariableElement parameter, Void aVoid) { 84 public String visitVariableAsField(VariableElement field, Void aVoid) {
|
/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | ParameterSpecTest.java | 24 import javax.lang.model.element.VariableElement; 98 List<VariableElement> methods = fieldsIn(elements.getAllMembers(classElement)); in fieldVariableElement() 99 VariableElement element = findFirst(methods, "name"); in fieldVariableElement() 118 VariableElement parameterElement = element.getParameters().get(0); in parameterVariableElement()
|
/external/connectedappssdk/processor/src/main/java/com/google/android/enterprise/connectedapps/processor/ |
D | OtherProfileGenerator.java | 41 import javax.lang.model.element.VariableElement; 181 for (VariableElement param : method.methodElement().getParameters()) { in generateBlockingMethodOnOtherProfileClass() 241 VariableElement callbackParameter = method.getCrossProfileCallbackParam(generatorContext).get(); in generateCrossProfileCallbackMethodOnOtherProfileClass() 267 for (VariableElement param : method.methodElement().getParameters()) { in generateCrossProfileCallbackMethodOnOtherProfileClass() 330 for (VariableElement param : method.methodElement().getParameters()) { in generateFutureMethodOnOtherProfileClass()
|