Home
last modified time | relevance | path

Searched refs:staticFields (Results 1 – 25 of 28) sorted by relevance

12

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableClassDef.java59 @Nonnull protected final ImmutableSortedSet<? extends ImmutableField> staticFields; field in ImmutableClassDef
85 …this.staticFields = ImmutableField.immutableSetOf(Iterables.filter(fields, FieldUtil.FIELD_IS_STAT… in ImmutableClassDef()
97 @Nullable Iterable<? extends Field> staticFields, in ImmutableClassDef() argument
107 this.staticFields = ImmutableField.immutableSetOf(staticFields); in ImmutableClassDef()
119 @Nullable ImmutableSortedSet<? extends ImmutableField> staticFields, in ImmutableClassDef() argument
129 this.staticFields = ImmutableUtils.nullToEmptySortedSet(staticFields); in ImmutableClassDef()
158 … @Override public ImmutableSet<? extends ImmutableField> getStaticFields() { return staticFields; } in getStaticFields()
170 return Iterators.concat(staticFields.iterator(), instanceFields.iterator()); in getFields()
174 return staticFields.size() + instanceFields.size(); in getFields()
/external/r8/src/main/java/com/android/tools/r8/graph/
DDexProgramClass.java23 DexEncodedField[] staticFields, in DexProgramClass() argument
27 super(sourceFile, interfaces, accessFlags, superType, type, staticFields, in DexProgramClass()
50 collectAll(indexedItems, staticFields); in collectIndexedItems()
71 collectAll(collector, staticFields); in addDependencies()
104 int numberOfFields = staticFields().length + instanceFields().length; in hasMethodsOrFields()
113 || hasAnnotations(staticFields) in hasAnnotations()
121 && !hasAnnotations(staticFields) in hasInternalizableAnnotation()
DDexClass.java27 public DexEncodedField[] staticFields; field in DexClass
35 DexType type, DexEncodedField[] staticFields, DexEncodedField[] instanceFields, in DexClass() argument
44 this.staticFields = staticFields; in DexClass()
98 public DexEncodedField[] staticFields() { in staticFields() method in DexClass
99 return MoreObjects.firstNonNull(staticFields, NO_FIELDS); in staticFields()
117 return findTarget(staticFields(), field); in findStaticTarget()
DClassKind.java17 DexEncodedField[] staticFields, DexEncodedField[] instanceFields, in create() argument
32 DexEncodedField[] staticFields, DexEncodedField[] instanceFields, in create() argument
35 annotations, staticFields, instanceFields, directMethods, virtualMethods); in create()
DDexClasspathClass.java16 DexEncodedField[] staticFields, DexEncodedField[] instanceFields, in DexClasspathClass() argument
19 staticFields, instanceFields, directMethods, virtualMethods, annotations, origin); in DexClasspathClass()
DDexLibraryClass.java16 DexEncodedField[] staticFields, DexEncodedField[] instanceFields, in DexLibraryClass() argument
19 staticFields, instanceFields, directMethods, virtualMethods, annotations, origin); in DexLibraryClass()
DDexAnnotationDirectory.java38 assert isSorted(clazz.staticFields()); in DexAnnotationDirectory()
41 new OrderedMergingIterator<>(clazz.staticFields(), clazz.instanceFields()); in DexAnnotationDirectory()
DClassAndMemberPublicizer.java28 publicizeAllFields(clazz.staticFields()); in run()
DJarClassFileReader.java113 private final List<DexEncodedField> staticFields = new ArrayList<>(); field in JarClassFileReader.CreateDexClassVisitor
260 staticFields.toArray(new DexEncodedField[staticFields.size()]), in visitEnd()
337 parent.staticFields.add(field); in visitEnd()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DPoolClassDef.java47 @Nonnull final ImmutableSortedSet<Field> staticFields; field in PoolClassDef
60 staticFields = ImmutableSortedSet.copyOf(classDef.getStaticFields()); in PoolClassDef()
93 return staticFields; in getStaticFields()
104 ImmutableList.of(staticFields.iterator(), instanceFields.iterator()), in getFields()
109 return staticFields.size() + instanceFields.size(); in getFields()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderClassDef.java53 @Nonnull final SortedSet<BuilderField> staticFields; field in BuilderClassDef
83 …this.staticFields = ImmutableSortedSet.copyOf(Iterables.filter(fields, FieldUtil.FIELD_IS_STATIC)); in BuilderClassDef()
94 @Nonnull @Override public SortedSet<BuilderField> getStaticFields() { return staticFields; } in getStaticFields()
108 ImmutableList.of(staticFields.iterator(), instanceFields.iterator()), in getFields()
113 return staticFields.size() + instanceFields.size(); in getFields()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DClassDefinition.java109 Set<String> staticFields = writeStaticFields(writer); in writeTo() local
110 writeInstanceFields(writer, staticFields); in writeTo()
180 Iterable<? extends Field> staticFields; in writeStaticFields() local
182 staticFields = ((DexBackedClassDef)classDef).getStaticFields(false); in writeStaticFields()
184 staticFields = classDef.getStaticFields(); in writeStaticFields()
187 for (Field field: staticFields) { in writeStaticFields()
211 …private void writeInstanceFields(IndentingWriter writer, Set<String> staticFields) throws IOExcept… in writeInstanceFields() argument
236 } else if (staticFields.contains(fieldString)) { in writeInstanceFields()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/reflection/
DReflectionClassDef.java107 Iterator<java.lang.reflect.Field> staticFields = Iterators.filter(
115 return Iterators.transform(staticFields,
129 Iterator<java.lang.reflect.Field> staticFields = Iterators.filter(
137 return Iterators.transform(staticFields,
/external/r8/src/main/java/com/android/tools/r8/naming/
DFieldNameMinifier.java54 reserveFieldNames(newState, holder.staticFields(), holder.isLibraryClass()); in reserveNamesInSubtypes()
76 renameFields(clazz.staticFields(), state); in renameFieldsInSubtypes()
DMinifiedNameMapPrinter.java55 clazz.staticFields(), Comparator.comparing(DexEncodedField::toSourceString)), out); in write()
/external/r8/src/main/java/com/android/tools/r8/shaking/
DSimpleClassMerger.java233 addAll(existingFields, target.staticFields(), FieldSignatureEquivalence.get()); in merge()
235 Iterators.forArray(source.staticFields()), in merge()
236 target.staticFields(), in merge()
264 target.staticFields = mergedStaticFields in merge()
273 source.staticFields = null; in merge()
433 clazz.staticFields = substituteTypesIn(clazz.staticFields); in fixupTypeReferences()
DTreePruner.java84 clazz.staticFields = reachableFields(clazz.staticFields()); in getNewProgramClasses()
DDiscardedChecker.java32 processSubItems(clazz.staticFields()); in run()
DAnnotationRemover.java112 processFields(clazz.staticFields()); in run()
DReasonPrinter.java47 Arrays.stream(clazz.staticFields()).filter(itemsQueried::contains) in run()
DRootSetBuilder.java258 markFields(clazz.staticFields(), memberKeepRules, rule, onlyIfClassKept); in markMatchingFields()
318 ruleSatisfiedByFields(rule, clazz.staticFields()) || in ruleSatisfied()
DMainDexListBuilder.java156 for (DexEncodedField field : clazz.staticFields()) { in traceMainDexDirectDependencies()
/external/r8/src/main/java/com/android/tools/r8/
DPrintClassList.java51 printFields(clazz.staticFields(), map); in main()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexWriter.java470 Collection<? extends FieldKey> staticFields = classSection.getSortedStaticFields(key);
474 boolean classHasData = staticFields.size() > 0 ||
491 offsetWriter.writeUleb128(staticFields.size());
496 writeEncodedFields(offsetWriter, staticFields);
/external/r8/src/main/java/com/android/tools/r8/dex/
DFileWriter.java258 sortEncodedFields(clazz.staticFields); in sortClassData()
640 dest.putUleb128(clazz.staticFields().length); in writeClassData()
644 writeEncodedFields(clazz.staticFields()); in writeClassData()
651 DexEncodedField[] fields = clazz.staticFields(); in addStaticFieldValues()

12