Home
last modified time | relevance | path

Searched refs:TypeParameterElement (Results 1 – 25 of 32) sorted by relevance

12

/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/
DHelpers.java20 import javax.lang.model.element.TypeParameterElement;
120 List<TypeMirror> getExplicitBounds(TypeParameterElement typeParam) { in getExplicitBounds()
137 private final Equivalence<TypeParameterElement> typeEq = new Equivalence<TypeParameterElement>() {
140 protected boolean doEquivalent(TypeParameterElement arg0,
141 TypeParameterElement arg1) {
148 protected int doHash(TypeParameterElement arg0) {
155 public boolean isSameParameterList(List<? extends TypeParameterElement> l1, in isSameParameterList()
156 List<? extends TypeParameterElement> l2) { in isSameParameterList()
161 return typeEq.pairwise().equivalent((List<TypeParameterElement>) l1, in isSameParameterList()
162 (List<TypeParameterElement>) l2); in isSameParameterList()
[all …]
DRobolectricModel.java23 import javax.lang.model.element.TypeParameterElement;
242 for (TypeParameterElement typeParam : type.getTypeParameters()) { in registerType()
357 for (TypeParameterElement typeParam : actualType.getTypeParameters()) { in prepare()
/external/auto/value/src/it/functional/src/test/java/com/google/auto/value/gwt/
DEmptyExtension.java30 import javax.lang.model.element.TypeParameterElement;
98 List<? extends TypeParameterElement> typeParameters = type.getTypeParameters(); in actualTypeParametersString()
109 List<? extends TypeParameterElement> typeParameters = type.getTypeParameters(); in formalTypeParametersString()
115 for (TypeParameterElement typeParameter : typeParameters) { in formalTypeParametersString()
124 TypeParameterElement typeParameter, StringBuilder sb) { in appendTypeParameterWithBounds()
/external/javapoet/src/main/java/com/squareup/javapoet/
DTypeVariableName.java27 import javax.lang.model.element.TypeParameterElement;
104 return get((TypeParameterElement) mirror.asElement()); in get()
116 TypeVariable mirror, Map<TypeParameterElement, TypeVariableName> typeVariables) { in get() argument
117 TypeParameterElement element = (TypeParameterElement) mirror.asElement(); in get()
135 public static TypeVariableName get(TypeParameterElement element) { in get()
DArrayTypeName.java25 import javax.lang.model.element.TypeParameterElement;
97 ArrayType mirror, Map<TypeParameterElement, TypeVariableName> typeVariables) { in get() argument
DWildcardTypeName.java26 import javax.lang.model.element.TypeParameterElement;
106 Map<TypeParameterElement, TypeVariableName> typeVariables) { in get() argument
DTypeName.java31 import javax.lang.model.element.TypeParameterElement;
247 final Map<TypeParameterElement, TypeVariableName> typeVariables) { in get() argument
/external/auto/value/src/main/java/com/google/auto/value/processor/
DTypeVariables.java30 import javax.lang.model.element.TypeParameterElement;
87 List<? extends TypeParameterElement> sourceTypeParameters = sourceType.getTypeParameters(); in rewriteReturnTypes()
88 List<? extends TypeParameterElement> targetTypeParameters = targetType.getTypeParameters(); in rewriteReturnTypes()
144 List<? extends TypeParameterElement> typeParameters = method.getTypeParameters(); in canAssignStaticMethodResult()
DTypeEncoder.java32 import javax.lang.model.element.TypeParameterElement;
165 List<? extends TypeParameterElement> typeParameters = type.getTypeParameters(); in formalTypeParametersString()
171 for (TypeParameterElement typeParameter : typeParameters) { in formalTypeParametersString()
181 TypeParameterElement typeParameter, StringBuilder sb) { in appendTypeParameterWithBounds()
DBuilderSpec.java49 import javax.lang.model.element.TypeParameterElement;
495 TypeParameterElement aParam = a.getTypeParameters().get(i); in sameTypeParameters()
496 TypeParameterElement bParam = b.getTypeParameters().get(i); in sameTypeParameters()
DTypeSimplifier.java35 import javax.lang.model.element.TypeParameterElement;
139 List<? extends TypeParameterElement> typeParameters = type.getTypeParameters(); in actualTypeParametersString()
/external/auto/common/src/main/java/com/google/auto/common/
DOverrides.java29 import javax.lang.model.element.TypeParameterElement;
242 private final Map<TypeParameterElement, TypeMirror> typeBindings = Maps.newLinkedHashMap();
263 List<? extends TypeParameterElement> formals = element.getTypeParameters(); in erasedParameterTypes()
284 if (element instanceof TypeParameterElement) { in visitTypeVariable()
285 TypeParameterElement e = (TypeParameterElement) element; in visitTypeVariable()
DMoreElements.java41 import javax.lang.model.element.TypeParameterElement;
143 public static TypeParameterElement asTypeParameter(Element element) { in asTypeParameter()
148 extends CastingElementVisitor<TypeParameterElement> {
156 public TypeParameterElement visitTypeParameter(TypeParameterElement e, Void ignore) { in visitTypeParameter()
DMoreTypes.java41 import javax.lang.model.element.TypeParameterElement;
238 TypeParameterElement aElement = (TypeParameterElement) a.asElement(); in visitTypeVariable()
239 TypeParameterElement bElement = (TypeParameterElement) b.asElement(); in visitTypeVariable()
414 TypeParameterElement element = (TypeParameterElement) t.asElement(); in visitTypeVariable()
DSuperficialValidation.java29 import javax.lang.model.element.TypeParameterElement;
86 @Override public Boolean visitTypeParameter(TypeParameterElement e, Void p) {
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DValidator.java12 import javax.lang.model.element.TypeParameterElement;
55 public Void visitTypeParameter(TypeParameterElement e, Element p) {
138 public Void visitTypeParameter(TypeParameterElement e, Element p) { in visitTypeParameter()
DRealObjectValidator.java6 import javax.lang.model.element.TypeParameterElement;
41 List<? extends TypeParameterElement> parentTypeParams = parent.getTypeParameters();
DImplementsValidator.java23 import javax.lang.model.element.TypeParameterElement;
133 final List<? extends TypeParameterElement> typeTP = actualType.getTypeParameters(); in visitType()
134 final List<? extends TypeParameterElement> elemTP = shadowType.getTypeParameters(); in visitType()
/external/dagger2/java/dagger/internal/codegen/binding/
DBinding.java38 import javax.lang.model.element.TypeParameterElement;
134 for (TypeParameterElement parameter : element.getTypeParameters()) { in hasNonDefaultTypeParameters()
DSourceFiles.java69 import javax.lang.model.element.TypeParameterElement;
263 List<? extends TypeParameterElement> typeParameters = in bindingTypeElementTypeVariableNames()
/external/turbine/java/com/google/turbine/processing/
DTurbineElement.java79 import javax.lang.model.element.TypeParameterElement;
305 private final Supplier<ImmutableList<TypeParameterElement>> typeParameters =
307 new Supplier<ImmutableList<TypeParameterElement>>() {
309 public ImmutableList<TypeParameterElement> get() {
310 ImmutableList.Builder<TypeParameterElement> result = ImmutableList.builder();
319 public List<? extends TypeParameterElement> getTypeParameters() { in getTypeParameters()
541 static class TurbineTypeParameterElement extends TurbineElement implements TypeParameterElement {
689 public List<? extends TypeParameterElement> getTypeParameters() { in getTypeParameters()
1242 public List<? extends TypeParameterElement> getTypeParameters() { in getTypeParameters()
/external/dagger2/java/dagger/internal/codegen/langmodel/
DAccessibility.java31 import javax.lang.model.element.TypeParameterElement;
234 public Boolean visitTypeParameter(TypeParameterElement element, Void p) { in visitTypeParameter()
/external/auto/value/src/test/java/com/google/auto/value/processor/
DTypeSimplifierTest.java28 import javax.lang.model.element.TypeParameterElement;
190 for (TypeMirror bound : ((TypeParameterElement) extendsT.asElement()).getBounds()) { in testTypeMirrorSetWildcardCapture()
/external/turbine/javatests/com/google/turbine/processing/
DTurbineElementTest.java36 import javax.lang.model.element.TypeParameterElement;
117 for (TypeParameterElement t : e.getTypeParameters()) { in typeParameters()
/external/javapoet/src/test/java/com/squareup/javapoet/
DAbstractTypesTest.java38 import javax.lang.model.element.TypeParameterElement;
123 List<? extends TypeParameterElement> typeVariables = in getTypeVariableTypeMirror()

12