Home
last modified time | relevance | path

Searched refs:accessFlags (Results 1 – 25 of 53) sorted by relevance

123

/external/proguard/src/proguard/classfile/util/
DClassUtil.java175 public static String externalFullClassDescription(int accessFlags, in externalFullClassDescription() argument
178 return externalClassAccessFlags(accessFlags) + in externalFullClassDescription()
539 int accessFlags) in internalMethodParameterSize() argument
542 (accessFlags & ClassConstants.ACC_STATIC) != 0); in internalMethodParameterSize()
875 public static String externalFullFieldDescription(int accessFlags, in externalFullFieldDescription() argument
879 return externalFieldAccessFlags(accessFlags) + in externalFullFieldDescription()
901 int accessFlags, in externalFullMethodDescription() argument
905 return externalMethodAccessFlags(accessFlags) + in externalFullMethodDescription()
921 public static String externalClassAccessFlags(int accessFlags) in externalClassAccessFlags() argument
923 return externalClassAccessFlags(accessFlags, ""); in externalClassAccessFlags()
[all …]
DAccessUtil.java55 public static int accessLevel(int accessFlags) in accessLevel() argument
57 switch (accessFlags & ACCESS_MASK) in accessLevel()
77 public static int accessFlags(int accessLevel) in accessFlags() method in AccessUtil
94 public static int replaceAccessFlags(int accessFlags, int newAccessFlags) in replaceAccessFlags() argument
99 accessFlags &= ~ClassConstants.ACC_FINAL; in replaceAccessFlags()
102 return (accessFlags & ~ACCESS_MASK) | in replaceAccessFlags()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DAccessFlags.java87 public boolean isSet(int accessFlags) { in isSet() argument
88 return (this.value & accessFlags) != 0; in isSet()
99 AccessFlags[] accessFlags = new AccessFlags[size]; in getAccessFlagsForClass() local
103 accessFlags[accessFlagsPosition++] = accessFlag; in getAccessFlagsForClass()
106 return accessFlags; in getAccessFlagsForClass()
109 private static String formatAccessFlags(AccessFlags[] accessFlags) { in formatAccessFlags() argument
111 for (AccessFlags accessFlag: accessFlags) { in formatAccessFlags()
116 for (AccessFlags accessFlag: accessFlags) { in formatAccessFlags()
120 if (accessFlags.length > 0) { in formatAccessFlags()
138 AccessFlags[] accessFlags = new AccessFlags[size]; in getAccessFlagsForMethod() local
[all …]
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/stub/
DSmaliModifierListStub.java40 private final int accessFlags; field in SmaliModifierListStub
42 public SmaliModifierListStub(StubElement parent, int accessFlags) { in SmaliModifierListStub() argument
44 this.accessFlags = accessFlags; in SmaliModifierListStub()
48 return accessFlags; in getAccessFlags()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableField.java54 protected final int accessFlags; field in ImmutableField
61 int accessFlags, in ImmutableField() argument
67 this.accessFlags = accessFlags; in ImmutableField()
75 int accessFlags, in ImmutableField() argument
81 this.accessFlags = accessFlags; in ImmutableField()
102 @Override public int getAccessFlags() { return accessFlags; } in getAccessFlags()
DImmutableMethod.java55 protected final int accessFlags; field in ImmutableMethod
63 int accessFlags, in ImmutableMethod() argument
70 this.accessFlags = accessFlags; in ImmutableMethod()
79 int accessFlags, in ImmutableMethod() argument
86 this.accessFlags = accessFlags; in ImmutableMethod()
110 @Override public int getAccessFlags() { return accessFlags; } in getAccessFlags()
DImmutableClassDef.java54 protected final int accessFlags; field in ImmutableClassDef
65 int accessFlags, in ImmutableClassDef() argument
80 this.accessFlags = accessFlags; in ImmutableClassDef()
92 int accessFlags, in ImmutableClassDef() argument
102 this.accessFlags = accessFlags; in ImmutableClassDef()
114 int accessFlags, in ImmutableClassDef() argument
124 this.accessFlags = accessFlags; in ImmutableClassDef()
153 @Override public int getAccessFlags() { return accessFlags; } in getAccessFlags()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderField.java43 final int accessFlags; field in BuilderField
48 int accessFlags, in BuilderField() argument
52 this.accessFlags = accessFlags; in BuilderField()
58 return accessFlags; in getAccessFlags()
DBuilderMethod.java46 final int accessFlags; field in BuilderMethod
55 int accessFlags, in BuilderMethod() argument
60 this.accessFlags = accessFlags; in BuilderMethod()
70 @Override public int getAccessFlags() { return accessFlags; } in getAccessFlags()
DBuilderClassDef.java48 final int accessFlags; field in BuilderClassDef
63 int accessFlags, in BuilderClassDef() argument
83 this.accessFlags = accessFlags; in BuilderClassDef()
96 @Override public int getAccessFlags() { return accessFlags; } in getAccessFlags()
/external/proguard/src/proguard/optimize/info/
DParameterUsageMarker.java88 int accessFlags = programMethod.getAccessFlags(); in visitProgramMethod() local
92 (accessFlags & ClassConstants.ACC_STATIC) == 0) in visitProgramMethod()
103 (accessFlags & ClassConstants.ACC_STATIC) != 0 ? in visitProgramMethod()
108 if ((accessFlags & ClassConstants.ACC_NATIVE) != 0) in visitProgramMethod()
115 else if ((accessFlags & ClassConstants.ACC_ABSTRACT) != 0) in visitProgramMethod()
126 if ((accessFlags & ClassConstants.ACC_STATIC) == 0 && in visitProgramMethod()
127 ((accessFlags & ClassConstants.ACC_SYNCHRONIZED) != 0 || in visitProgramMethod()
DAccessMethodMarker.java110 int accessFlags = clazz.getAccessFlags(); in visitAnyClass() local
112 if ((accessFlags & ClassConstants.ACC_PUBLIC) == 0) in visitAnyClass()
123 int accessFlags = member.getAccessFlags(); in visitAnyMember() local
125 if ((accessFlags & ClassConstants.ACC_PRIVATE) != 0) in visitAnyMember()
129 else if ((accessFlags & ClassConstants.ACC_PROTECTED) != 0) in visitAnyMember()
133 else if ((accessFlags & ClassConstants.ACC_PUBLIC) == 0) in visitAnyMember()
DFieldOptimizationInfo.java53 int accessFlags = field.getAccessFlags(); in FieldOptimizationInfo() local
56 isRead = (accessFlags & ClassConstants.ACC_VOLATILE) != 0; in FieldOptimizationInfo()
124 int accessFlags = field.getAccessFlags(); in resetValue() local
129 if ((accessFlags & ClassConstants.ACC_STATIC) != 0) in resetValue()
139 (accessFlags & ClassConstants.ACC_FINAL) == 0)) in resetValue()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DFieldDefinition.java47 int accessFlags = field.getAccessFlags(); in writeTo() local
50 AccessFlags.STATIC.isSet(accessFlags) && in writeTo()
51 AccessFlags.FINAL.isSet(accessFlags) && in writeTo()
95 … private static void writeAccessFlags(IndentingWriter writer, int accessFlags) throws IOException { in writeAccessFlags() argument
96 for (AccessFlags accessFlag: AccessFlags.getAccessFlagsForField(accessFlags)) { in writeAccessFlags()
/external/javassist/src/main/javassist/bytecode/
DFieldInfo.java41 int accessFlags; field in FieldInfo
50 accessFlags = 0; in FieldInfo()
165 return accessFlags; in getAccessFlags()
174 accessFlags = acc; in setAccessFlags()
203 if ((accessFlags & AccessFlag.STATIC) == 0) in getConstantValue()
272 accessFlags = in.readUnsignedShort(); in read()
282 out.writeShort(accessFlags); in write()
DClassFileWriter.java127 public byte[] end(int accessFlags, int thisClass, int superClass, in end() argument
130 output.writeShort(accessFlags); in end()
171 int accessFlags, int thisClass, int superClass, in end() argument
177 out.writeShort(accessFlags); in end()
273 public void add(int accessFlags, String name, String descriptor, AttributeWriter aw) { in add() argument
276 add(accessFlags, nameIndex, descIndex, aw); in add()
288 public void add(int accessFlags, int name, int descriptor, AttributeWriter aw) { in add() argument
290 output.writeShort(accessFlags); in add()
344 public void begin(int accessFlags, String name, String descriptor, in begin() argument
354 begin(accessFlags, nameIndex, descIndex, intfs, aw); in begin()
[all …]
DMethodInfo.java58 int accessFlags; field in MethodInfo
101 accessFlags = 0; in MethodInfo()
268 return accessFlags; in getAccessFlags()
277 accessFlags = acc; in setAccessFlags()
543 accessFlags = src.accessFlags; in read()
562 accessFlags = in.readUnsignedShort(); in read()
572 out.writeShort(accessFlags); in write()
DClassFile.java63 int accessFlags; field in ClassFile
204 accessFlags = AccessFlag.INTERFACE | AccessFlag.ABSTRACT; in ClassFile()
206 accessFlags = AccessFlag.SUPER; in ClassFile()
317 return (accessFlags & AccessFlag.INTERFACE) != 0; in isInterface()
324 return (accessFlags & AccessFlag.FINAL) != 0; in isFinal()
331 return (accessFlags & AccessFlag.ABSTRACT) != 0; in isAbstract()
340 return accessFlags; in getAccessFlags()
352 accessFlags = acc; in setAccessFlags()
373 return ica.accessFlags(i); in getInnerAccessFlags()
795 accessFlags = in.readUnsignedShort(); in read()
[all …]
/external/proguard/src/proguard/classfile/visitor/
DMemberAccessFilter.java115 private boolean accepted(int accessFlags) in accepted() argument
117 return (requiredSetAccessFlags & ~accessFlags) == 0 && in accepted()
118 (requiredUnsetAccessFlags & accessFlags) == 0 && in accepted()
120 (requiredOneSetAccessFlags & accessFlags) != 0); in accepted()
DClassAccessFilter.java83 private boolean accepted(int accessFlags) in accepted() argument
85 return (requiredSetAccessFlags & ~accessFlags) == 0 && in accepted()
86 (requiredUnsetAccessFlags & accessFlags) == 0; in accepted()
/external/proguard/src/proguard/classfile/editor/
DMemberAdder.java101 int accessFlags = programField.getAccessFlags(); in visitProgramField() local
155 new ProgramField(accessFlags, in visitProgramField()
188 int accessFlags = programMethod.getAccessFlags(); in visitProgramMethod() local
195 if ((accessFlags & ClassConstants.ACC_ABSTRACT) != 0) in visitProgramMethod()
220 accessFlags & ~ClassConstants.ACC_FINAL; in visitProgramMethod()
252 new ProgramMethod(accessFlags & ~ClassConstants.ACC_FINAL, in visitProgramMethod()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DClassDataItem.java137 int accessFlags = reader.readSmallUleb128(); in makeAnnotator() local
138 out.annotateTo(reader.getOffset(), "access_flags = 0x%x: %s", accessFlags, in makeAnnotator() local
139 Joiner.on('|').join(AccessFlags.getAccessFlagsForField(accessFlags))); in makeAnnotator()
153 int accessFlags = reader.readSmallUleb128(); in makeAnnotator() local
154 out.annotateTo(reader.getOffset(), "access_flags = 0x%x: %s", accessFlags, in makeAnnotator() local
155 Joiner.on('|').join(AccessFlags.getAccessFlagsForMethod(accessFlags))); in makeAnnotator()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedField.java52 public final int accessFlags; field in DexBackedField
75 this.accessFlags = reader.readSmallUleb128(); in DexBackedField()
94 this.accessFlags = reader.readSmallUleb128(); in DexBackedField()
114 @Override public int getAccessFlags() { return accessFlags; } in getAccessFlags()
/external/proguard/src/proguard/ant/
DClassSpecificationElement.java206 int accessFlags = 0; in requiredAccessFlags() local
234 accessFlags |= accessFlag; in requiredAccessFlags()
254 accessFlags |= accessFlag; in requiredAccessFlags()
257 return accessFlags; in requiredAccessFlags()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DDexMaker.java607 private final int accessFlags; field in DexMaker.FieldDeclaration
610 FieldDeclaration(FieldId<?, ?> fieldId, int accessFlags, Object staticValue) { in FieldDeclaration() argument
611 if ((accessFlags & STATIC) == 0 && staticValue != null) { in FieldDeclaration()
615 this.accessFlags = accessFlags; in FieldDeclaration()
620 return new EncodedField(fieldId.constant, accessFlags); in toEncodedField()
624 return (accessFlags & STATIC) != 0; in isStatic()

123