Home
last modified time | relevance | path

Searched refs:ClassKey (Results 1 – 25 of 29) sorted by relevance

12

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DClassSection.java47 …e ClassSection<StringKey extends CharSequence, TypeKey extends CharSequence, TypeListKey, ClassKey,
48 FieldKey, MethodKey, AnnotationSetKey, EncodedArrayKey> extends IndexSection<ClassKey> {
49 @Nonnull Collection<? extends ClassKey> getSortedClasses(); in getSortedClasses()
51 @Nullable Map.Entry<? extends ClassKey, Integer> getClassEntryByType(@Nullable TypeKey key); in getClassEntryByType()
53 @Nonnull TypeKey getType(@Nonnull ClassKey key); in getType()
54 int getAccessFlags(@Nonnull ClassKey key); in getAccessFlags()
55 @Nullable TypeKey getSuperclass(@Nonnull ClassKey key); in getSuperclass()
56 @Nullable TypeListKey getInterfaces(@Nonnull ClassKey key); in getInterfaces()
57 @Nullable StringKey getSourceFile(@Nonnull ClassKey key); in getSourceFile()
58 @Nullable EncodedArrayKey getStaticInitializers(@Nonnull ClassKey key); in getStaticInitializers()
[all …]
DDexWriter.java84 ClassKey extends Comparable<? super ClassKey>,
98 …ClassSectionType extends ClassSection<StringKey, TypeKey, TypeListKey, ClassKey, FieldKey, MethodK…
488 …List<Map.Entry<? extends ClassKey, Integer>> classEntries = Lists.newArrayList(classSection.getIte…
489 Collections.sort(classEntries, DexWriter.<ClassKey>comparableKeyComparator());
492 for (Map.Entry<? extends ClassKey, Integer> key: classEntries) {
506 … int nextIndex, @Nullable Map.Entry<? extends ClassKey, Integer> entry) throws IOException {
517 ClassKey key = entry.getKey();
523 Map.Entry<? extends ClassKey, Integer> superEntry =
529 …Map.Entry<? extends ClassKey, Integer> interfaceEntry = classSection.getClassEntryByType(interface…
737 for (ClassKey classKey: classSection.getSortedClasses()) {
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DSimpleMixInResolver.java6 import com.fasterxml.jackson.databind.type.ClassKey;
33 protected Map<ClassKey,Class<?>> _localMixIns;
40 Map<ClassKey,Class<?>> mixins) { in SimpleMixInResolver() argument
65 Map<ClassKey,Class<?>> mixIns = new HashMap<ClassKey,Class<?>>(sourceMixins.size()); in setLocalDefinitions()
67 mixIns.put(new ClassKey(en.getKey()), en.getValue()); in setLocalDefinitions()
75 _localMixIns = new HashMap<ClassKey,Class<?>>(); in addLocalDefinition()
77 _localMixIns.put(new ClassKey(target), mixinSource); in addLocalDefinition()
84 Map<ClassKey,Class<?>> mixIns = (_localMixIns == null) in copy()
85 ? null : new HashMap<ClassKey,Class<?>>(_localMixIns); in copy()
94 mixin = _localMixIns.get(new ClassKey(cls)); in findMixInClassFor()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/
DClassKey.java19 public final class ClassKey class
20 implements Comparable<ClassKey>,
35 public ClassKey() in ClassKey() method in ClassKey
42 public ClassKey(Class<?> clz) in ClassKey() method in ClassKey
63 public int compareTo(ClassKey other) in compareTo()
81 ClassKey other = (ClassKey) o; in equals()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/module/
DSimpleDeserializers.java26 protected HashMap<ClassKey,JsonDeserializer<?>> _classMappings = null;
52 ClassKey key = new ClassKey(forClass); in addDeserializer()
54 _classMappings = new HashMap<ClassKey,JsonDeserializer<?>>(); in addDeserializer()
128 JsonDeserializer<?> deser = _classMappings.get(new ClassKey(type)); in findEnumDeserializer()
135 deser = _classMappings.get(new ClassKey(Enum.class)); in findEnumDeserializer()
149 return _classMappings.get(new ClassKey(nodeType)); in findTreeNodeDeserializer()
188 && _classMappings.containsKey(new ClassKey(valueType)); in hasDeserializerFor()
195 return _classMappings.get(new ClassKey(type.getRawClass())); in _find()
DSimpleSerializers.java10 import com.fasterxml.jackson.databind.type.ClassKey;
37 protected HashMap<ClassKey,JsonSerializer<?>> _classMappings = null;
42 protected HashMap<ClassKey,JsonSerializer<?>> _interfaceMappings = null;
112 ClassKey key = new ClassKey(cls); in findSerializer()
211 protected JsonSerializer<?> _findInterfaceMapping(Class<?> cls, ClassKey key) in _findInterfaceMapping()
229 ClassKey key = new ClassKey(cls); in _addSerializer()
233 _interfaceMappings = new HashMap<ClassKey,JsonSerializer<?>>(); in _addSerializer()
238 _classMappings = new HashMap<ClassKey,JsonSerializer<?>>(); in _addSerializer()
DSimpleKeyDeserializers.java10 import com.fasterxml.jackson.databind.type.ClassKey;
27 protected HashMap<ClassKey,KeyDeserializer> _classMappings = null;
40 _classMappings = new HashMap<ClassKey,KeyDeserializer>(); in addDeserializer()
42 _classMappings.put(new ClassKey(forClass), deser); in addDeserializer()
59 return _classMappings.get(new ClassKey(type.getRawClass())); in findKeyDeserializer()
DSimpleValueInstantiators.java9 import com.fasterxml.jackson.databind.type.ClassKey;
21 protected HashMap<ClassKey,ValueInstantiator> _classMappings;
31 _classMappings = new HashMap<ClassKey,ValueInstantiator>(); in SimpleValueInstantiators()
37 _classMappings.put(new ClassKey(forType), inst); in addValueInstantiator()
45 ValueInstantiator inst = _classMappings.get(new ClassKey(beanDesc.getBeanClass())); in findValueInstantiator()
DSimpleAbstractTypeResolver.java10 import com.fasterxml.jackson.databind.type.ClassKey;
38 protected final HashMap<ClassKey,Class<?>> _mappings = new HashMap<ClassKey,Class<?>>();
66 _mappings.put(new ClassKey(superType), subType); in addMapping()
75 Class<?> dst = _mappings.get(new ClassKey(src)); in findTypeMapping()
/external/dagger2/javatests/dagger/android/support/functional/
DAllControllersAreDirectChildrenOfApplication.java32 import dagger.multibindings.ClassKey;
68 @ClassKey(TestActivity.class)
74 @ClassKey(OuterClass.TestInnerClassActivity.class)
80 @ClassKey(TestParentFragment.class)
86 @ClassKey(TestChildFragment.class)
92 @ClassKey(TestDialogFragment.class)
98 @ClassKey(TestService.class)
104 @ClassKey(TestIntentService.class)
110 @ClassKey(TestBroadcastReceiver.class)
116 @ClassKey(TestContentProvider.class)
DComponentStructureFollowsControllerStructureApplication.java32 import dagger.multibindings.ClassKey;
67 @ClassKey(TestActivity.class)
73 @ClassKey(OuterClass.TestInnerClassActivity.class)
79 @ClassKey(TestService.class)
85 @ClassKey(TestIntentService.class)
91 @ClassKey(TestBroadcastReceiver.class)
97 @ClassKey(TestContentProvider.class)
114 @ClassKey(TestParentFragment.class)
120 @ClassKey(TestDialogFragment.class)
140 @ClassKey(TestChildFragment.class)
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DRootNameLookup.java6 import com.fasterxml.jackson.databind.type.ClassKey;
19 protected transient LRUMap<ClassKey,PropertyName> _rootNames;
22 _rootNames = new LRUMap<ClassKey,PropertyName>(20, 200); in RootNameLookup()
31 ClassKey key = new ClassKey(rootType); in findRootName()
/external/llvm-project/llvm/unittests/Support/
DItaniumManglingCanonicalizerTest.cpp315 CanonKey ClassKey = Keys[&Class]; in testTestcases() local
323 if (ClassKey) { in testTestcases()
324 EXPECT_EQ(ThisKey, ClassKey) in testTestcases()
327 ClassKey = ThisKey; in testTestcases()
330 EXPECT_TRUE(Found.insert({ClassKey, *Class.begin()}).second) in testTestcases()
331 << *Class.begin() << " is in the same class as " << Found[ClassKey]; in testTestcases()
/external/dagger2/javatests/dagger/functional/
DWrappedAnnotationKey.java20 import dagger.multibindings.ClassKey;
27 ClassKey[] annotations(); in annotations()
DMultibindingModule.java21 import dagger.multibindings.ClassKey;
114 @ClassKey(Integer.class)
121 @ClassKey(Long.class)
DMultibindingTest.java22 import dagger.multibindings.ClassKey;
88 testStringKey("foo"), new int[] {1, 2, 3}, new ClassKey[] {}, classes), in wrappedAnnotationKeyMap()
198 StringKey value, int[] integers, ClassKey[] annotations, Class<? extends Number>[] classes) { in testWrappedAnnotationKey()
/external/dagger2/javatests/dagger/functional/multibindings/subpackage/
DBindsInaccessibleMapKeyModule.java21 import dagger.multibindings.ClassKey;
29 @ClassKey(Inaccessible.class)
/external/dagger2/java/dagger/example/gradle/android/simple/app/src/main/java/dagger/example/gradle/android/simple/
DSimpleActivity.java27 import dagger.multibindings.ClassKey;
50 @ClassKey(SimpleActivity.class)
/external/dagger2/javatests/artifacts/dagger-android/simple/app/src/main/java/dagger/android/simple/
DSimpleActivity.java27 import dagger.multibindings.ClassKey;
53 @ClassKey(SimpleActivity.class)
/external/dagger2/java/dagger/multibindings/
DClassKey.java37 public @interface ClassKey { annotation
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/type/
DTestJavaType.java205 ClassKey key = new ClassKey(String.class); in testClassKey()
210 assertFalse(key.equals(new ClassKey(Integer.class))); in testClassKey()
/external/dagger2/java/dagger/android/processor/
DAndroidMapKeyValidator.java33 import dagger.multibindings.ClassKey;
65 .add(ClassKey.class) in annotations()
DContributesAndroidInjectorGenerator.java51 import dagger.multibindings.ClassKey;
162 return AnnotationSpec.builder(ClassKey.class) in androidInjectorMapKey()
/external/guice/extensions/dagger-adapter/lib/
Ddagger-2.4.jarMETA-INF/ META-INF/MANIFEST.MF dagger/ dagger/internal/ dagger/ ...
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DBeanDeserializerBase.java20 import com.fasterxml.jackson.databind.type.ClassKey;
174 protected transient HashMap<ClassKey, JsonDeserializer<Object>> _subDeserializers;
1761 …subDeser = (_subDeserializers == null) ? null : _subDeserializers.get(new ClassKey(bean.getClass()… in _findSubclassDeserializer()
1779 _subDeserializers = new HashMap<ClassKey,JsonDeserializer<Object>>();; in _findSubclassDeserializer()
1781 _subDeserializers.put(new ClassKey(bean.getClass()), subDeser); in _findSubclassDeserializer()

12