/libcore/luni/src/main/java/java/lang/reflect/ |
Modifier.java | 32 public static final int PUBLIC = 0x1; 38 public static final int PRIVATE = 0x2; 44 public static final int PROTECTED = 0x4; 49 public static final int STATIC = 0x8; 52 * The {@code int} value representing the {@code final} modifier. 54 public static final int FINAL = 0x10; 60 public static final int SYNCHRONIZED = 0x20; 66 public static final int VOLATILE = 0x40; 72 public static final int TRANSIENT = 0x80 [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/ |
ModifierTest.java | 24 private static final int ALL_FLAGS = 0x7FF; 51 assertTrue("FINAL returned false", Modifier.isFinal(ALL_FLAGS)); 52 assertTrue("FINAL returned false", Modifier.isFinal(Modifier.FINAL)); 53 assertTrue("Non-FINAL returned true", !Modifier 187 String modification = "public protected private abstract static final transient " 195 assertEquals(16, Modifier.FINAL); 211 final class FinalClazz { 238 public final class PublicFinalClazz { 241 protected final class ProtectedFinalClazz [all...] |
/external/javassist/src/main/javassist/ |
Modifier.java | 31 public static final int PUBLIC = AccessFlag.PUBLIC; 32 public static final int PRIVATE = AccessFlag.PRIVATE; 33 public static final int PROTECTED = AccessFlag.PROTECTED; 34 public static final int STATIC = AccessFlag.STATIC; 35 public static final int FINAL = AccessFlag.FINAL; 36 public static final int SYNCHRONIZED = AccessFlag.SYNCHRONIZED; 37 public static final int VOLATILE = AccessFlag.VOLATILE; 38 public static final int VARARGS = AccessFlag.VARARGS [all...] |
CtPrimitiveType.java | 22 public final class CtPrimitiveType extends CtClass { 58 return Modifier.PUBLIC | Modifier.FINAL;
|
CtArray.java | 21 final class CtArray extends CtClass { 41 int mod = Modifier.FINAL;
|
SerialVersionUID.java | 55 Modifier.FINAL); 175 | Modifier.FINAL | Modifier.SYNCHRONIZED
|
/cts/tools/signature-tools/src/signature/model/ |
Modifier.java | 26 "static"), FINAL("final"), SYNCHRONIZED("synchronized"), VOLATILE( 30 private final String printableName;
|
/cts/tools/dasm/src/dasm/ |
sym.java | 12 static final int REGS = 29; 13 static final int FROM = 26; 14 static final int DSIGNATURE = 19; 15 static final int SYNTHETIC = 56; 16 static final int OUTER = 34; 17 static final int DCLASS = 3; 18 static final int DVAR = 13; 19 static final int DECLARED_SYNCHRONIZED = 48; 20 static final int DSUPER = 10; 21 static final int SIGNATURE = 28 [all...] |
ReservedWords.java | 94 reserved_words.put("final", new token(sym.FINAL));
|
/frameworks/base/test-runner/src/android/test/ |
ActivityTestCase.java | 61 protected void scrubClass(final Class<?> testCaseClass) 63 final Field[] fields = getClass().getDeclaredFields(); 65 final Class<?> fieldClass = field.getDeclaringClass(); 67 && (field.getModifiers() & Modifier.FINAL) == 0) {
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ModifierTest.java | 48 assertTrue(Modifier.isFinal(Modifier.FINAL)); 49 assertTrue(!Modifier.isFinal(-1 & ~Modifier.FINAL));
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
ConnectionTest.java | 62 + Modifier.FINAL;
|
ParameterMetaDataTest.java | 67 + Modifier.FINAL;
|
ResultSetMetaDataTest.java | 57 + Modifier.FINAL;
|
StatementTest.java | 65 + Modifier.FINAL;
|
ResultSetTest.java | 75 + Modifier.FINAL;
|
/external/javassist/src/main/javassist/bytecode/ |
AccessFlag.java | 23 public static final int PUBLIC = 0x0001; 24 public static final int PRIVATE = 0x0002; 25 public static final int PROTECTED = 0x0004; 26 public static final int STATIC = 0x0008; 27 public static final int FINAL = 0x0010; 28 public static final int SYNCHRONIZED = 0x0020; 29 public static final int VOLATILE = 0x0040; 30 public static final int BRIDGE = 0x0040; // for method_info 31 public static final int TRANSIENT = 0x0080 [all...] |
/external/javassist/src/main/javassist/compiler/ |
TokenId.java | 34 int FINAL = 315;
|
MemberResolver.java | 181 private static final int YES = 0; 182 private static final int NO = -1; 551 case FINAL : 552 m |= Modifier.FINAL;
|
/cts/tests/SignatureTest/tests/src/android/tests/sigtest/tests/ |
JDiffClassDescriptionTest.java | 191 JDiffClassDescription.JDiffField field = new JDiffClassDescription.JDiffField("FINAL_FIELD", "java.lang.String", Modifier.PUBLIC | Modifier.FINAL); 194 assertEquals(field.toSignatureString(), "public final java.lang.String FINAL_FIELD"); 276 clz.setModifier(Modifier.PUBLIC | Modifier.FINAL); 278 assertEquals(clz.toSignatureString(), "public final class FinalClass"); 347 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod("finalMethod", Modifier.PUBLIC | Modifier.FINAL, "void"); 350 assertEquals(method.toSignatureString(), "public final void finalMethod()"); 353 * Final Class, API lists methods as non-final, reflection has it as final. 359 clz.setModifier(Modifier.PUBLIC | Modifier.FINAL); [all...] |
/external/javassist/src/main/javassist/tools/reflect/ |
Reflection.java | 28 * super classes are also intercepted except final methods. To intercept 29 * a final method in a super class, that super class must be also reflective. 64 static final String classobjectField = "_classobject"; 65 static final String classobjectAccessor = "_getClass"; 66 static final String metaobjectField = "_metaobject"; 67 static final String metaobjectGetter = "_getMetaobject"; 68 static final String metaobjectSetter = "_setMetaobject"; 69 static final String readPrefix = "_r_"; 70 static final String writePrefix = "_w_"; 72 static final String metaobjectClassName = "javassist.tools.reflect.Metaobject" [all...] |
/cts/tools/signature-tools/test/signature/converter/ |
ConvertEnumTest.java | 145 assertTrue(c.getModifiers().contains(Modifier.FINAL)); 188 assertFalse(c.getModifiers().contains(Modifier.FINAL));
|
/frameworks/base/tools/aidl/ |
AST.cpp | 27 if (m & FINAL) { 28 fprintf(to, "final "); 86 WriteModifiers(to, this->modifiers, SCOPE_MASK | STATIC | FINAL | OVERRIDE); 681 WriteModifiers(to, this->modifiers, SCOPE_MASK | STATIC | FINAL | OVERRIDE);
|
/frameworks/base/services/java/com/android/server/ |
BackupManagerService.java | 132 private static final String TAG = "BackupManagerService"; 133 private static final boolean DEBUG = true; 134 private static final boolean MORE_DEBUG = false; 137 static final String BACKUP_MANIFEST_FILENAME = "_manifest"; 138 static final int BACKUP_MANIFEST_VERSION = 1; 139 static final String BACKUP_FILE_HEADER_MAGIC = "ANDROID BACKUP\n"; 140 static final int BACKUP_FILE_VERSION = 1; 141 static final boolean COMPRESS_FULL_BACKUPS = true; // should be true in production 145 private static final long BACKUP_INTERVAL = AlarmManager.INTERVAL_HOUR; 148 private static final int FUZZ_MILLIS = 5 * 60 * 1000 [all...] |
/cts/tests/SignatureTest/src/android/tests/sigtest/ |
JDiffClassDescription.java | 39 private static final int CLASS_MODIFIER_ANNOTATION = 0x00002000; 41 private static final int CLASS_MODIFIER_ENUM = 0x00004000; 44 private static final int METHOD_MODIFIER_BRIDGE = 0x00000040; 46 private static final int METHOD_MODIFIER_VAR_ARGS = 0x00000080; 48 private static final int METHOD_MODIFIER_SYNTHETIC = 0x00001000; 179 if ((modifiers & Modifier.FINAL) != 0) { 185 sb.append("final"); 232 final String mName; 244 public static final class JDiffField extends JDiffElement { 340 private static String convertParamList(final ArrayList<String> params) [all...] |