Home
last modified time | relevance | path

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

/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/
DRobolectricModel.java92 public void addShadowType(TypeElement shadowType, TypeElement actualType, in addShadowType() argument
105 new ShadowInfo(shadowType, actualType, shadowPickerType, shadowBaseType); in addShadowType()
108 registerType(shadowInfo.shadowType); in addShadowType()
113 shadowTypes.put(shadowType.getQualifiedName().toString(), shadowInfo); in addShadowType()
330 private final TypeElement shadowType; field in RobolectricModel.ShadowInfo
345 ShadowInfo(TypeElement shadowType, TypeElement actualType, TypeElement shadowPickerType, in ShadowInfo() argument
347 this.shadowType = shadowType; in ShadowInfo()
387 shadowTypeReferent = referentResolver.getReferentFor(shadowType); in prepare()
388 shadowBinaryName = helpers.getBinaryName(shadowType); in prepare()
402 return shadowType.getAnnotation(Implements.class).isInAndroidSdk(); in isInAndroidSdk()
[all …]
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DImplementsValidator.java73 public Void visitType(TypeElement shadowType, Element parent) { in visitType() argument
74 captureJavadoc(shadowType); in visitType()
77 if (shadowType.getEnclosingElement().getKind() == ElementKind.CLASS in visitType()
78 && !shadowType.getModifiers().contains(Modifier.STATIC)) { in visitType()
101 addShadowNotInSdk(shadowType, av, cv); in visitType()
114 && !suppressWarnings(shadowType, "robolectric.internal.IgnoreMissingClass")) { in visitType()
130 addShadowNotInSdk(shadowType, av, cv); in visitType()
134 final List<? extends TypeParameterElement> elemTP = shadowType.getTypeParameters(); in visitType()
147 helpers.appendParameterList(message, shadowType.getTypeParameters()); in visitType()
150 messager.printMessage(Kind.ERROR, message, shadowType); in visitType()
[all …]
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/generator/
DJavadocJsonGenerator.java45 String shadowType = entry.getKey(); in generate() local
47 shadowedTypes.put(shadowType, shadowedType); in generate()
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DInvokeDynamicSupport.java132 Class<?> shadowType = mh.type().parameterType(0); in bindCallSite() local
133 mh = filterArguments(mh, 0, GET_SHADOW.asType(methodType(shadowType, site.thisType()))); in bindCallSite()