Searched refs:accessFlags (Results 1 - 25 of 72) sorted by relevance

123

/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DEncodedMember.java31 private final int accessFlags; field in class:EncodedMember
36 * @param accessFlags access flags for the member
38 public EncodedMember(int accessFlags) { argument
39 this.accessFlags = accessFlags;
48 return accessFlags;
H A DEncodedField.java40 * @param accessFlags access flags
42 public EncodedField(CstFieldRef field, int accessFlags) { argument
43 super(accessFlags);
50 * TODO: Maybe check accessFlags, at least for
137 int accessFlags = getAccessFlags();
144 out.annotate(Leb128Utils.unsignedLeb128Size(accessFlags),
146 AccessFlags.fieldString(accessFlags));
150 out.writeUleb128(accessFlags);
H A DEncodedMethod.java48 * @param accessFlags access flags
54 public EncodedMethod(CstMethodRef method, int accessFlags, argument
56 super(accessFlags);
67 boolean isStatic = (accessFlags & AccessFlags.ACC_STATIC) != 0;
163 int accessFlags = getAccessFlags();
166 boolean shouldHaveCode = (accessFlags &
183 out.annotate(Leb128Utils.unsignedLeb128Size(accessFlags),
185 AccessFlags.methodString(accessFlags));
191 out.writeUleb128(accessFlags);
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/stub/
H A DSmaliModifierListStub.java40 private final int accessFlags; field in class:SmaliModifierListStub
42 public SmaliModifierListStub(StubElement parent, int accessFlags) { argument
44 this.accessFlags = accessFlags;
48 return accessFlags;
/external/proguard/src/proguard/classfile/util/
H A DAccessUtil.java50 * @param accessFlags the internal access flags.
55 public static int accessLevel(int accessFlags) argument
57 switch (accessFlags & ACCESS_MASK)
77 public static int accessFlags(int accessLevel) method in class:AccessUtil
91 * @param accessFlags the internal access flags.
92 * @param accessFlags the new internal access flags.
94 public static int replaceAccessFlags(int accessFlags, int newAccessFlags) argument
99 accessFlags &= ~ClassConstants.ACC_FINAL;
102 return (accessFlags & ~ACCESS_MASK) |
H A DClassUtil.java169 * @param accessFlags the access flags of the class.
175 public static String externalFullClassDescription(int accessFlags, argument
178 return externalClassAccessFlags(accessFlags) +
533 * @param accessFlags the access flags of the method,
539 int accessFlags)
542 (accessFlags & ClassConstants.ACC_STATIC) != 0);
867 * @param accessFlags the access flags of the field.
875 public static String externalFullFieldDescription(int accessFlags, argument
879 return externalFieldAccessFlags(accessFlags) +
890 * @param accessFlags th
538 internalMethodParameterSize(String internalMethodDescriptor, int accessFlags) argument
900 externalFullMethodDescription(String internalClassName, int accessFlags, String internalMethodName, String internalMethodDescriptor) argument
921 externalClassAccessFlags(int accessFlags) argument
934 externalClassAccessFlags(int accessFlags, String prefix) argument
997 externalFieldAccessFlags(int accessFlags) argument
1010 externalFieldAccessFlags(int accessFlags, String prefix) argument
1062 externalMethodAccessFlags(int accessFlags) argument
1075 externalMethodAccessFlags(int accessFlags, String prefix) argument
1144 externalParameterAccessFlags(int accessFlags) argument
1158 externalParameterAccessFlags(int accessFlags, String prefix) argument
[all...]
/external/proguard/src/proguard/classfile/visitor/
H A DClassAccessFilter.java83 private boolean accepted(int accessFlags) argument
85 return (requiredSetAccessFlags & ~accessFlags) == 0 &&
86 (requiredUnsetAccessFlags & accessFlags) == 0;
H A DMemberAccessFilter.java115 private boolean accepted(int accessFlags) argument
117 return (requiredSetAccessFlags & ~accessFlags) == 0 &&
118 (requiredUnsetAccessFlags & accessFlags) == 0 &&
120 (requiredOneSetAccessFlags & accessFlags) != 0);
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
H A DAccessFlags.java87 public boolean isSet(int accessFlags) { argument
88 return (this.value & accessFlags) != 0;
99 AccessFlags[] accessFlags = new AccessFlags[size];
103 accessFlags[accessFlagsPosition++] = accessFlag;
106 return accessFlags;
109 private static String formatAccessFlags(AccessFlags[] accessFlags) { argument
111 for (AccessFlags accessFlag: accessFlags) {
116 for (AccessFlags accessFlag: accessFlags) {
120 if (accessFlags.length > 0) {
138 AccessFlags[] accessFlags
[all...]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
H A DBuilderField.java43 final int accessFlags; field in class:BuilderField
48 int accessFlags,
52 this.accessFlags = accessFlags;
58 return accessFlags;
47 BuilderField(@onnull BuilderFieldReference fieldReference, int accessFlags, @Nullable BuilderEncodedValue initialValue, @Nonnull BuilderAnnotationSet annotations) argument
H A DBuilderMethod.java46 final int accessFlags; field in class:BuilderMethod
55 int accessFlags,
60 this.accessFlags = accessFlags;
70 @Override public int getAccessFlags() { return accessFlags; }
53 BuilderMethod(@onnull BuilderMethodReference methodReference, @Nonnull List<? extends BuilderMethodParameter> parameters, int accessFlags, @Nonnull BuilderAnnotationSet annotations, @Nullable MethodImplementation methodImplementation) argument
H A DBuilderClassDef.java49 final int accessFlags; field in class:BuilderClassDef
64 int accessFlags,
79 this.accessFlags = accessFlags;
95 @Override public int getAccessFlags() { return accessFlags; }
63 BuilderClassDef(@onnull BuilderTypeReference type, int accessFlags, @Nullable BuilderTypeReference superclass, @Nonnull BuilderTypeList interfaces, @Nullable BuilderStringReference sourceFile, @Nonnull BuilderAnnotationSet annotations, @Nullable Iterable<? extends BuilderField> fields, @Nullable Iterable<? extends BuilderMethod> methods) argument
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
H A DFieldDefinition.java47 int accessFlags = field.getAccessFlags();
50 AccessFlags.STATIC.isSet(accessFlags) &&
51 AccessFlags.FINAL.isSet(accessFlags) &&
95 private static void writeAccessFlags(IndentingWriter writer, int accessFlags) throws IOException { argument
96 for (AccessFlags accessFlag: AccessFlags.getAccessFlagsForField(accessFlags)) {
/external/proguard/src/proguard/optimize/info/
H A DAccessMethodMarker.java110 int accessFlags = clazz.getAccessFlags();
112 if ((accessFlags & ClassConstants.ACC_PUBLIC) == 0)
123 int accessFlags = member.getAccessFlags();
125 if ((accessFlags & ClassConstants.ACC_PRIVATE) != 0)
129 else if ((accessFlags & ClassConstants.ACC_PROTECTED) != 0)
133 else if ((accessFlags & ClassConstants.ACC_PUBLIC) == 0)
H A DFieldOptimizationInfo.java53 int accessFlags = field.getAccessFlags();
56 isRead = (accessFlags & ClassConstants.ACC_VOLATILE) != 0;
124 int accessFlags = field.getAccessFlags();
129 if ((accessFlags & ClassConstants.ACC_STATIC) != 0)
139 (accessFlags & ClassConstants.ACC_FINAL) == 0))
H A DParameterUsageMarker.java88 int accessFlags = programMethod.getAccessFlags();
92 (accessFlags & ClassConstants.ACC_STATIC) == 0)
103 (accessFlags & ClassConstants.ACC_STATIC) != 0 ?
108 if ((accessFlags & ClassConstants.ACC_NATIVE) != 0)
115 else if ((accessFlags & ClassConstants.ACC_ABSTRACT) != 0)
126 if ((accessFlags & ClassConstants.ACC_STATIC) == 0 &&
127 ((accessFlags & ClassConstants.ACC_SYNCHRONIZED) != 0 ||
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
H A DImmutableField.java54 protected final int accessFlags; field in class:ImmutableField
61 int accessFlags,
67 this.accessFlags = accessFlags;
75 int accessFlags,
81 this.accessFlags = accessFlags;
102 @Override public int getAccessFlags() { return accessFlags; }
58 ImmutableField(@onnull String definingClass, @Nonnull String name, @Nonnull String type, int accessFlags, @Nullable EncodedValue initialValue, @Nullable Collection<? extends Annotation> annotations) argument
72 ImmutableField(@onnull String definingClass, @Nonnull String name, @Nonnull String type, int accessFlags, @Nullable ImmutableEncodedValue initialValue, @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations) argument
H A DImmutableMethod.java55 protected final int accessFlags; field in class:ImmutableMethod
63 int accessFlags,
70 this.accessFlags = accessFlags;
79 int accessFlags,
86 this.accessFlags = accessFlags;
110 @Override public int getAccessFlags() { return accessFlags; }
59 ImmutableMethod(@onnull String definingClass, @Nonnull String name, @Nullable Iterable<? extends MethodParameter> parameters, @Nonnull String returnType, int accessFlags, @Nullable Set<? extends Annotation> annotations, @Nullable MethodImplementation methodImplementation) argument
75 ImmutableMethod(@onnull String definingClass, @Nonnull String name, @Nullable ImmutableList<? extends ImmutableMethodParameter> parameters, @Nonnull String returnType, int accessFlags, @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations, @Nullable ImmutableMethodImplementation methodImplementation) argument
H A DImmutableClassDef.java54 protected final int accessFlags; field in class:ImmutableClassDef
65 int accessFlags,
80 this.accessFlags = accessFlags;
92 int accessFlags,
102 this.accessFlags = accessFlags;
114 int accessFlags,
124 this.accessFlags = accessFlags;
64 ImmutableClassDef(@onnull String type, int accessFlags, @Nullable String superclass, @Nullable Collection<String> interfaces, @Nullable String sourceFile, @Nullable Collection<? extends Annotation> annotations, @Nullable Iterable<? extends Field> fields, @Nullable Iterable<? extends Method> methods) argument
91 ImmutableClassDef(@onnull String type, int accessFlags, @Nullable String superclass, @Nullable Collection<String> interfaces, @Nullable String sourceFile, @Nullable Collection<? extends Annotation> annotations, @Nullable Iterable<? extends Field> staticFields, @Nullable Iterable<? extends Field> instanceFields, @Nullable Iterable<? extends Method> directMethods, @Nullable Iterable<? extends Method> virtualMethods) argument
113 ImmutableClassDef(@onnull String type, int accessFlags, @Nullable String superclass, @Nullable ImmutableList<String> interfaces, @Nullable String sourceFile, @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations, @Nullable ImmutableSortedSet<? extends ImmutableField> staticFields, @Nullable ImmutableSortedSet<? extends ImmutableField> instanceFields, @Nullable ImmutableSortedSet<? extends ImmutableMethod> directMethods, @Nullable ImmutableSortedSet<? extends ImmutableMethod> virtualMethods) argument
[all...]
/external/javassist/src/main/javassist/bytecode/
H A DFieldInfo.java31 int accessFlags; field in class:FieldInfo
40 accessFlags = 0;
154 return accessFlags;
163 accessFlags = acc;
192 if ((accessFlags & AccessFlag.STATIC) == 0)
246 accessFlags = in.readUnsignedShort();
256 out.writeShort(accessFlags);
H A DClassFileWriter.java117 * @param accessFlags access flags.
127 public byte[] end(int accessFlags, int thisClass, int superClass, argument
130 output.writeShort(accessFlags);
160 * @param accessFlags access flags.
171 int accessFlags, int thisClass, int superClass,
177 out.writeShort(accessFlags);
267 * @param accessFlags access flags.
273 public void add(int accessFlags, String name, String descriptor, AttributeWriter aw) { argument
276 add(accessFlags, nameIndex, descIndex, aw);
282 * @param accessFlags acces
170 end(DataOutputStream out, int accessFlags, int thisClass, int superClass, int[] interfaces, AttributeWriter aw) argument
288 add(int accessFlags, int name, int descriptor, AttributeWriter aw) argument
344 begin(int accessFlags, String name, String descriptor, String[] exceptions, AttributeWriter aw) argument
367 begin(int accessFlags, int name, int descriptor, int[] exceptions, AttributeWriter aw) argument
[all...]
/external/proguard/src/proguard/classfile/editor/
H A DMemberAdder.java101 int accessFlags = programField.getAccessFlags();
135 // targetField.u2accessFlags = accessFlags | targetAccessFlags;
155 new ProgramField(accessFlags,
188 int accessFlags = programMethod.getAccessFlags();
195 if ((accessFlags & ClassConstants.ACC_ABSTRACT) != 0)
220 accessFlags & ~ClassConstants.ACC_FINAL;
252 new ProgramMethod(accessFlags & ~ClassConstants.ACC_FINAL,
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
H A DClassDataItem.java137 int accessFlags = reader.readSmallUleb128();
138 out.annotateTo(reader.getOffset(), "access_flags = 0x%x: %s", accessFlags,
139 Joiner.on('|').join(AccessFlags.getAccessFlagsForField(accessFlags)));
153 int accessFlags = reader.readSmallUleb128();
154 out.annotateTo(reader.getOffset(), "access_flags = 0x%x: %s", accessFlags,
155 Joiner.on('|').join(AccessFlags.getAccessFlagsForMethod(accessFlags)));
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
H A DDexBackedField.java50 public final int accessFlags; field in class:DexBackedField
70 this.accessFlags = reader.readSmallUleb128();
87 this.accessFlags = reader.readSmallUleb128();
106 @Override public int getAccessFlags() { return accessFlags; }
/external/proguard/src/proguard/ant/
H A DClassSpecificationElement.java206 int accessFlags = 0;
234 accessFlags |= accessFlag;
254 accessFlags |= accessFlag;
257 return accessFlags;

Completed in 915 milliseconds

123