Home
last modified time | relevance | path

Searched refs:classType (Results 1 – 25 of 41) sorted by relevance

12

/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
DTestUtils.java43 …public static ClassDef makeClassDef(@Nonnull String classType, @Nullable String superType, String.… in makeClassDef() argument
44 return new ImmutableClassDef(classType, 0, superType, ImmutableSet.copyOf(interfaces), in makeClassDef()
48 public static ClassDef makeInterfaceDef(@Nonnull String classType, String... interfaces) { in makeInterfaceDef() argument
49 … return new ImmutableClassDef(classType, AccessFlags.INTERFACE.getValue(), "Ljava/lang/Object;", in makeInterfaceDef()
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DShadowDecorator.java54 …generator.getField(mutableClass.classType, ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_T… in decorateMethodPreClassHandler()
55 …generator.instanceOf(mutableClass.classType); // __robo_data__, is instance of sam… in decorateMethodPreClassHandler()
60 …generator.getField(mutableClass.classType, ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_T… in decorateMethodPreClassHandler()
61 …generator.checkCast(mutableClass.classType); // __robo_data__ but cast to my class in decorateMethodPreClassHandler()
85 …generator.getField(mutableClass.classType, ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_T… in addRoboGetDataMethod()
DInvokeDynamicClassInstrumentor.java53 Type.getMethodDescriptor(OBJECT_TYPE, mutableClass.classType), BOOTSTRAP_INIT); in writeCallToInitializing()
66 new Handle(getTag(originalMethod), mutableClass.classType.getInternalName(), in generateInvokeDynamic()
73 String desc = "(" + mutableClass.classType.getDescriptor() + originalMethod.desc.substring(1); in generateInvokeDynamic()
DOldClassInstrumentor.java45 …"<init>", "(" + DIRECT_OBJECT_MARKER_TYPE_DESC + mutableClass.classType.getDescriptor() + ")V", nu… in addDirectCallConstructor()
58 …generator.putField(mutableClass.classType, ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_T… in addDirectCallConstructor()
103 …generator.push(mutableClass.classType.getInternalName() + "/" + originalMethodName + originalMetho… in generateCallToClassHandler()
105 generator.push(mutableClass.classType); // my class in generateCallToClassHandler()
160 …generator.invokeMethod(mutableClass.classType.getInternalName(), originalMethod.name, originalMeth… in generateCallToClassHandler()
235 instructions.add(new LdcInsnNode(mutableClass.classType)); // signature instance [] class in interceptInvokeVirtualMethodWithoutInvokeDynamic()
DMutableClass.java22 final Type classType; field in MutableClass
32 this.classType = Type.getObjectType(internalClassName); in MutableClass()
DClassInstrumentor.java148 generator.invokeVirtual(mutableClass.classType, new Method(ROBO_INIT_METHOD_NAME, "()V")); in addNoArgsConstructor()
171 …generator.getField(mutableClass.classType, ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_T… in addRoboInitMethod()
177 …generator.putField(mutableClass.classType, ShadowConstants.CLASS_HANDLER_DATA_FIELD_NAME, OBJECT_T… in addRoboInitMethod()
274 generator.invokeVirtual(mutableClass.classType, new Method(ROBO_INIT_METHOD_NAME, "()V")); in instrumentConstructor()
496 generator.push(mutableClass.classType); in generateStaticInitializerNotifierMethod()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistUtils.java89 SignatureAttribute.ClassType classType = (SignatureAttribute.ClassType) signatureType; in signatureTypeToType() local
90 …t<ResolvedType> typeArguments = classType.getTypeArguments() == null ? Collections.emptyList() : A… in signatureTypeToType()
92 removeTypeArguments(internalNameToCanonicalName(getTypeName(classType)))); in signatureTypeToType()
117 private static String getTypeName(SignatureAttribute.ClassType classType) { in getTypeName() argument
118 SignatureAttribute.ClassType declaringClass = classType.getDeclaringClass(); in getTypeName()
119 …return declaringClass == null ? classType.getName() : getTypeName(declaringClass) + "." + classTyp… in getTypeName()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistUtils.java123 SignatureAttribute.ClassType classType = (SignatureAttribute.ClassType) signatureType; in signatureTypeToType() local
124 …List<Type> typeParameters = classType.getTypeArguments() == null ? Collections.emptyList() : Array… in signatureTypeToType()
126 classType.getDeclaringClass() != null ? in signatureTypeToType()
127 classType.getDeclaringClass().getName() + "." + classType.getName() : in signatureTypeToType()
128 classType.getName(); in signatureTypeToType()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
DRuntimeTestBase.java109 Type classType = Type.getObjectType(className); in generateAndInstantiateClass() local
131 gen.putStatic(classType, InstrSupport.DATAFIELD_NAME, in generateAndInstantiateClass()
142 gen.getStatic(classType, InstrSupport.DATAFIELD_NAME, in generateAndInstantiateClass()
152 gen.getStatic(classType, InstrSupport.DATAFIELD_NAME, in generateAndInstantiateClass()
165 gen.getStatic(classType, InstrSupport.DATAFIELD_NAME, in generateAndInstantiateClass()
DOfflineInstrumentationAccessGeneratorTest.java90 Type classType = Type.getObjectType(className); in generateAndInstantiateClass() local
112 gen.putStatic(classType, InstrSupport.DATAFIELD_NAME, in generateAndInstantiateClass()
123 gen.getStatic(classType, InstrSupport.DATAFIELD_NAME, in generateAndInstantiateClass()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliClassTypeElement.java56 @Nullable private SmaliClassType classType = null; field in SmaliClassTypeElement
63 if (classType == null) { in getType()
64 classType = new SmaliClassType(this); in getType()
66 return classType; in getType()
DSmaliAnnotation.java74 SmaliClassTypeElement classType = findChildByClass(SmaliClassTypeElement.class); in getSmaliName() local
75 if (classType == null) { in getSmaliName()
78 return classType.getSmaliName(); in getSmaliName()
DSmaliClassStatement.java83 SmaliClassTypeElement classType = findChildByClass(SmaliClassTypeElement.class); in getQualifiedName() local
84 if (classType == null) { in getQualifiedName()
89 return NameUtils.smaliToJavaType(classType.getSmaliName()); in getQualifiedName()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javassistmodel_JavassistUtils.txt37 …Line 124) classType.getTypeArguments() ==> javassist.bytecode.SignatureAttribute.ClassType.getType…
39 …Line 124) Arrays.stream(classType.getTypeArguments()).map(ta -> typeArgumentToType(ta, typeSolver,…
40 …Line 124) Arrays.stream(classType.getTypeArguments()).map(ta -> typeArgumentToType(ta, typeSolver,…
41 Line 124) Arrays.stream(classType.getTypeArguments()) ==> java.util.Arrays.stream(T[])
42 …Line 124) classType.getTypeArguments() ==> javassist.bytecode.SignatureAttribute.ClassType.getType…
45 …Line 126) classType.getDeclaringClass() ==> javassist.bytecode.SignatureAttribute.ClassType.getDec…
46 …Line 127) classType.getDeclaringClass().getName() ==> javassist.bytecode.SignatureAttribute.ClassT…
47 …Line 127) classType.getDeclaringClass() ==> javassist.bytecode.SignatureAttribute.ClassType.getDec…
48 Line 127) classType.getName() ==> javassist.bytecode.SignatureAttribute.ClassType.getName()
49 Line 128) classType.getName() ==> javassist.bytecode.SignatureAttribute.ClassType.getName()
/external/mockito/src/main/java/org/mockito/internal/util/reflection/
DGenericMetadataSupport.java68 protected void registerAllTypeVariables(Type classType) { in registerAllTypeVariables() argument
71 typesToRegister.add(classType); in registerAllTypeVariables()
108 protected void registerTypeVariablesOn(Type classType) { in registerTypeVariablesOn() argument
109 if (!(classType instanceof ParameterizedType)) { in registerTypeVariablesOn()
112 ParameterizedType parameterizedType = (ParameterizedType) classType; in registerTypeVariablesOn()
/external/vogar/src/vogar/
DOptionParser.java180 Class<?> classType = (Class) type; in getHandler() local
181 if (Collection.class.isAssignableFrom(classType)) { in getHandler()
189 if (classType.isEnum()) { in getHandler()
190 return new EnumHandler(classType); in getHandler()
192 return handlers.get(classType); in getHandler()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/introspector/
DGenericProperty.java72 Class<?> classType = (Class<?>) genType; in getActualTypeArguments() local
73 if (classType.isArray()) { in getActualTypeArguments()
/external/javapoet/src/test/java/com/squareup/javapoet/
DMethodSpecTest.java186 DeclaredType classType = (DeclaredType) classElement.asType(); in overrideDoesNotCopyDefaultModifier() local
189 MethodSpec method = MethodSpec.overriding(exec, classType, types).build(); in overrideDoesNotCopyDefaultModifier()
198 DeclaredType classType = (DeclaredType) classElement.asType(); in overrideExtendsOthersWorksWithActualTypeParameters() local
201 MethodSpec method = MethodSpec.overriding(exec, classType, types).build(); in overrideExtendsOthersWorksWithActualTypeParameters()
207 method = MethodSpec.overriding(exec, classType, types).build(); in overrideExtendsOthersWorksWithActualTypeParameters()
213 method = MethodSpec.overriding(exec, classType, types).build(); in overrideExtendsOthersWorksWithActualTypeParameters()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DFieldIdItem.java73 String classType = dexFile.getType(classIndex);
81 return String.format("%s->%s:%s", classType, fieldName, fieldType);
DMethodIdItem.java73 String classType = dexFile.getType(classIndex);
81 return String.format("%s->%s%s", classType, methodName, protoString);
DClassDefItem.java112 private void addClassDataIdentity(int classDataOffset, String classType) { in makeAnnotator() argument
114 classDataAnnotator.setItemIdentity(classDataOffset, classType); in makeAnnotator()
/external/skqp/tests/
DGrTRecorderTest.cpp271 ClassType classType = order.next(); in test_subclasses_iters() local
274 REPORTER_ASSERT(reporter, classType == iter->getType()); in test_subclasses_iters()
279 REPORTER_ASSERT(reporter, classType == reverseIter->getType()); in test_subclasses_iters()
/external/javapoet/src/main/java/com/squareup/javapoet/
DTypeName.java328 Class<?> classType = (Class<?>) type;
338 if (classType.isArray()) return ArrayTypeName.of(get(classType.getComponentType(), map));
339 return ClassName.get(classType);
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/
DNode.java228 public <T> T getParentNodeOfType(Class<T> classType) { in getParentNodeOfType() argument
231 if (classType.isAssignableFrom(parent.getClass())) in getParentNodeOfType()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/
DElementValueGenTestCase.java205 final ObjectType classType = new ObjectType("java.lang.Integer"); in testCreateClassElementValue() local
206 final ClassElementValueGen evg = new ClassElementValueGen(classType, cp); in testCreateClassElementValue()

12