Home
last modified time | relevance | path

Searched refs:internalName (Results 1 – 24 of 24) sorted by relevance

/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DTypeMapper.java33 String mappedTypeName(String internalName) { in mappedTypeName() argument
34 String remappedInternalName = classesToRemap.get(internalName); in mappedTypeName()
38 return internalName; in mappedTypeName()
43 String internalName = type.getInternalName(); in mappedType() local
44 String remappedInternalName = classesToRemap.get(internalName); in mappedType()
70 String internalName; in remapParamType() local
74 internalName = type.getInternalName(); in remapParamType()
76 while (internalName.charAt(count) == '[') count++; in remapParamType()
78 remappedName = remapParamType(internalName.substring(count)); in remapParamType()
80 … return Type.getObjectType(internalName.substring(0, count) + remappedName).getDescriptor(); in remapParamType()
DMutableClass.java51 String internalName = "L" + annotationClass.getName().replace('.', '/') + ";"; in hasAnnotation() local
58 if (annotationNode.desc.equals(internalName)) { in hasAnnotation()
85 public void addInterface(String internalName) { in addInterface() argument
86 classNode.interfaces.add(internalName); in addInterface()
DInstrumentationConfiguration.java213 public String mappedTypeName(String internalName) { in mappedTypeName() argument
214 return typeMapper.mappedTypeName(internalName); in mappedTypeName()
DClassInstrumentor.java75 public String map(final String internalName) { in instrumentToBytes()
76 return mutableClass.config.mappedTypeName(internalName); in instrumentToBytes()
/external/desugar/java/com/google/devtools/build/android/desugar/scan/
DKeepReference.java24 public static KeepReference classReference(String internalName) { in classReference() argument
25 checkArgument(!internalName.isEmpty()); in classReference()
26 return new AutoValue_KeepReference(internalName, "", ""); in classReference()
29 public static KeepReference memberReference(String internalName, String name, String desc) { in memberReference() argument
30 checkArgument(!internalName.isEmpty()); in memberReference()
33 return new AutoValue_KeepReference(internalName, name, desc); in memberReference()
48 public abstract String internalName(); in internalName() method in KeepReference
DPrefixReferenceScanner.java130 void classReference(String internalName) { in classReference() argument
131 checkArgument(internalName.charAt(0) != '[' && internalName.charAt(0) != '(', internalName); in classReference()
132 checkArgument(!internalName.endsWith(";"), internalName); in classReference()
133 if (internalName.startsWith(prefix)) { in classReference()
134 roots.add(KeepReference.classReference(internalName)); in classReference()
138 void objectReference(String internalName) { in objectReference() argument
140 checkArgument(internalName.charAt(0) != '(', internalName); in objectReference()
141 if (internalName.charAt(0) == '[') { in objectReference()
142 typeReference(internalName); in objectReference()
144 classReference(internalName); in objectReference()
DKeepScanner.java187 KeepReference::internalName, ImmutableSet.toImmutableSet())); in scan()
214 clazz = classpath.loadClass(ref.internalName().replace('/', '.')); in nearestDeclaration()
/external/desugar/java/com/google/devtools/build/android/desugar/
DClassVsInterface.java36 public ClassVsInterface addKnownClass(@Nullable String internalName) { in addKnownClass() argument
37 if (internalName != null) { in addKnownClass()
38 Boolean previous = known.put(internalName, false); in addKnownClass()
39 checkState(previous == null || !previous, "Already recorded as interface: %s", internalName); in addKnownClass()
45 for (String internalName : internalNames) { in addKnownInterfaces()
46 Boolean previous = known.put(internalName, true); in addKnownInterfaces()
47 checkState(previous == null || previous, "Already recorded as class: %s", internalName); in addKnownInterfaces()
DLambdaDesugaring.java66 private String internalName; field in LambdaDesugaring
93 checkState(internalName == null, "not intended for reuse but reused for %s", name); in visit()
94 internalName = name; in visit()
169 && lambdaMethodsUsedInInvokeDyanmic.contains(MethodInfo.create(internalName, name, desc))) { in visitMethod()
175 aggregateInterfaceLambdaMethods.add(internalName + '#' + name); in visitMethod()
192 name = uniqueInPackage(internalName, name); in visitMethod()
247 internalName, in queueUpBridgeMethodIfNeeded()
252 internalName, in queueUpBridgeMethodIfNeeded()
259 String name = uniqueInPackage(internalName, "bridge$lambda$" + bridgeMethods.size()); in queueUpBridgeMethodIfNeeded()
265 invokedMethod.getTag(), internalName, name, invokedMethod.getDesc(), /*itf*/ false); in queueUpBridgeMethodIfNeeded()
[all …]
DDefaultMethodClassFixer.java55 private String internalName; field in DefaultMethodClassFixer
86 internalName = name; in visit()
204 && !coreLibrarySupport.isEmulatedCoreClassOrInterface(internalName) in mayNeedInterfaceStubsForEmulatedSuperclass()
262 "Couldn't find interface %s implemented by %s", implemented, internalName); in stubMissingDefaultAndBridgeMethods()
270 private Class<?> loadFromInternal(String internalName) { in loadFromInternal() argument
272 return targetLoader.loadClass(internalName.replace('/', '.')); in loadFromInternal()
275 "Couldn't load " + internalName + ", is the classpath complete?", e); in loadFromInternal()
292 String internalName = superName; in recordInheritedMethods() local
293 while (internalName != null) { in recordInheritedMethods()
294 ClassReader bytecode = bootclasspath.readIfKnown(internalName); in recordInheritedMethods()
[all …]
DTryWithResourcesRewriter.java116 private String internalName; field in TryWithResourcesRewriter
150 internalName = name; in visit()
193 internalName, name + desc, closeResourceMethod, classLoader, null); in visitMethod()
209 inference = new BytecodeTypeInference(access, internalName, name, desc); in visitMethod()
215 new TryWithResourceVisitor(internalName, name + desc, visitor, classLoader, inference); in visitMethod()
230 throw new AssertionError("Failed to load class when desugaring class " + internalName); in isInterface()
255 private final String internalName; field in TryWithResourcesRewriter.TryWithResourceVisitor
261 String internalName, in TryWithResourceVisitor() argument
268 this.internalName = internalName; in TryWithResourceVisitor()
283 if (isCallToSyntheticCloseResource(internalName, opcode, owner, name, desc)) { in visitMethodInsn()
[all …]
DCloseResourceMethodScanner.java29 private String internalName; field in CloseResourceMethodScanner
44 Preconditions.checkState(internalName == null, "This scanner has been used."); in visit()
45 this.internalName = name; in visit()
77 methodSignature = internalName + '.' + name + desc; in StackMapFrameCollector()
101 internalName, opcode, owner, name, desc)) { in visitMethodInsn()
DCoreLibrarySupport.java116 public boolean isRenamedCoreLibrary(String internalName) { in isRenamedCoreLibrary() argument
117 String unprefixedName = rewriter.unprefix(internalName); in isRenamedCoreLibrary()
127 public String renameCoreLibrary(String internalName) { in renameCoreLibrary() argument
128 internalName = rewriter.unprefix(internalName); in renameCoreLibrary()
129 return (internalName.startsWith("java/")) in renameCoreLibrary()
130 ? "j$/" + internalName.substring(/* cut away "java/" prefix */ 5) in renameCoreLibrary()
131 : internalName; in renameCoreLibrary()
143 public boolean isEmulatedCoreClassOrInterface(String internalName) { in isEmulatedCoreClassOrInterface() argument
144 return getEmulatedCoreClassOrInterface(internalName) != null; in isEmulatedCoreClassOrInterface()
273 public Class<?> getEmulatedCoreClassOrInterface(String internalName) { in getEmulatedCoreClassOrInterface() argument
[all …]
DJava7Compatibility.java43 private String internalName; field in Java7Compatibility
64 internalName = name; in visit()
100 internalName, name, desc); in visitMethod()
134 Java7Compatibility.this.internalName, in visitMethodInsn()
142 Java7Compatibility.this.internalName, in visitMethodInsn()
162 && internalName.equals(owner)) { in visitMethodInsn()
164 ClassReader bytecode = checkNotNull(factory.readIfKnown(internalName), in visitMethodInsn()
165 "Couldn't load interface %s to inline $jacocoInit()", internalName); in visitMethodInsn()
DInterfaceDesugaring.java58 private String internalName; field in InterfaceDesugaring
94 internalName = name; in visit()
115 depsCollector.recordDefaultMethods(internalName, numberOfDefaultMethods); in visitEnd()
179 String codeOwner = internalName; in visitMethod()
198 codeOwner = getCompanionClassName(internalName); in visitMethod()
219 internalName, in visitMethod() local
224 access, internalName, name, desc, exceptions); in visitMethod()
236 companionDefaultMethodDescriptor(internalName, desc), in visitMethod()
251 isInterface() ? internalName : null, in visitMethod()
264 if (name != null && interfaceCache.isOuterInterface(owner, internalName)) { in visitOuterClass()
[all …]
/external/desugar/java/com/google/devtools/build/android/desugar/io/
DHeaderClassLoader.java87 private String internalName; field in HeaderClassLoader.NonPrimitiveFieldCollector
102 this.internalName = name; in visit()
109 declaredNonPrimitiveFields.add(FieldInfo.create(internalName, name, desc)); in visitField()
130 private String internalName; field in HeaderClassLoader.CodeStubber
149 internalName = name; in visit()
163 return new InterfaceInitializerEraser(dest, internalName, interfaceFields); in visitMethod()
180 MethodVisitor mv, String internalName, ImmutableList<FieldInfo> interfaceFields) { in InterfaceInitializerEraser() argument
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/
DShadowWranglerUnitTest.java72 String methodName = internalName(DummyClass.class) + "/methodWithoutRange()V"; in shadowClassWithSdkRange()
82 String methodName = internalName(DummyClass.class) + "/methodFor20()V"; in shadowMethodWithSdkRange()
92 String methodName = internalName(DummyClass.class) + "/methodMin20()V"; in shadowMethodWithMinSdk()
103 String methodName = internalName(DummyClass.class) + "/methodMax20()V"; in shadowMethodWithMaxSdk()
114 String methodName = internalName(DummyClass.class) + "/__constructor__()V"; in shadowConstructor()
139 String methodName = internalName(ChildOfDummyClass.class) + "/methodWithoutRange()V"; in whenChildShadowHasNarrowerSdk_shouldCallAppropriateShadowMethod()
186 private String internalName(Class clazz) { in internalName() method in ShadowWranglerUnitTest
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/
DJarInstrumentor.java123 String internalName = className.replace('.', '/'); in isClassRenamed() local
124 String remappedName = instrumentationConfiguration.mappedTypeName(internalName); in isClassRenamed()
125 return !remappedName.equals(internalName); in isClassRenamed()
/external/desugar/test/java/com/google/devtools/build/android/desugar/
DByteCodeTypePrinter.java63 private String internalName; field in ByteCodeTypePrinter.ClassWithTypeDumper
79 internalName = name; in visit()
88 BytecodeTypeInference inference = new BytecodeTypeInference(access, internalName, name, desc); in visitMethod()
/external/kotlinx.atomicfu/atomicfu-transformer/src/main/kotlin/kotlinx/atomicfu/transformer/
DAtomicFUTransformer.kt115 val typeInfo = AFU_CLASSES.getValue(fieldType.internalName) in toString()
281 if (fieldType.sort == OBJECT && fieldType.internalName in AFU_CLASSES) { in visitField()
305 … return AccessorCollectorMV(onType.internalName, access, name, desc, signature, exceptions) in visitMethod()
389 if (fieldType.sort == OBJECT && fieldType.internalName in AFU_CLASSES) { in descToName()
479 f.fuType.internalName, in descToName()
728 iv.owner = VH_TYPE.internalName in vhOperation()
799 iv.owner = typeInfo.fuType.internalName in fuOperation()
804 iv.owner = typeInfo.fuType.internalName in fuOperation()
DMetadataTransformer.kt164 override fun visitLambdaClassOriginName(internalName: String) { in <lambda>()
166 originalInternalName = internalName in <lambda>()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DPOJOPropertyBuilder.java75 boolean forSerialization, PropertyName internalName) { in POJOPropertyBuilder() argument
76 this(config, ai, forSerialization, internalName, internalName); in POJOPropertyBuilder()
80 boolean forSerialization, PropertyName internalName, PropertyName name) in POJOPropertyBuilder() argument
84 _internalName = internalName; in POJOPropertyBuilder()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DRewritePipelines.cpp469 const std::string internalName = in getUpdatedFunction() local
472 internalName); in getUpdatedFunction()
DEmitMetal.cpp1101 const Name internalName = Name(internalField); in BuildExternalAttributeIndexMap() local
1103 while (internalName.rawName() != shaderVars[shaderVarIndex].name && in BuildExternalAttributeIndexMap()
1104 internalName.rawName() != shaderVars[shaderVarIndex].mappedName) in BuildExternalAttributeIndexMap()