Home
last modified time | relevance | path

Searched refs:isFinal (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/
DAbstractTest.java87 assertTrue(Modifier.isFinal(cls.getModifiers())); in assertImmutable()
92 assertTrue(Modifier.isFinal(field.getModifiers()), "Field:" + field.getName()); in assertImmutable()
95 assertTrue(Modifier.isFinal(field.getModifiers()), "Field:" + field.getName()); in assertImmutable()
DTestZoneId.java106 assertTrue(Modifier.isFinal(field.getModifiers()) || in test_immutable()
/libcore/libart/src/main/java/java/lang/invoke/
DFieldVarHandle.java30 super(field.getType(), Modifier.isFinal(field.getModifiers()), declaringClass); in FieldVarHandle()
35 super(field.getType(), Modifier.isFinal(field.getModifiers())); in FieldVarHandle()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DModifierTest.java52 assertTrue(Modifier.isFinal(Modifier.FINAL)); in test_isFinalI()
53 assertTrue(!Modifier.isFinal(-1 & ~Modifier.FINAL)); in test_isFinalI()
DReflectionTest.java561 assertTrue(Modifier.isFinal(modifiers)); in testClassModifiers()
572 assertFalse(Modifier.isFinal(modifiers)); in testInnerClassModifiers()
588 assertFalse(Modifier.isFinal(modifiers)); in testAnonymousClassModifiers()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DModifierTest.java51 assertTrue("FINAL returned false", Modifier.isFinal(ALL_FLAGS)); in test_isFinalI()
52 assertTrue("FINAL returned false", Modifier.isFinal(Modifier.FINAL)); in test_isFinalI()
54 .isFinal(Modifier.TRANSIENT)); in test_isFinalI()
/libcore/ojluni/src/main/java/java/lang/reflect/
DModifier.java115 public static boolean isFinal(int mod) { in isFinal() method in Modifier
/libcore/luni/src/main/native/
Dorg_apache_harmony_xml_ExpatParser.cpp1021 const char* bytes, size_t byteOffset, size_t byteCount, jboolean isFinal) { in append() argument
1026 if (!XML_Parse(parser, bytes + byteOffset, byteCount, isFinal) && !env->ExceptionCheck()) { in append()
1057 …arser_appendString(JNIEnv* env, jobject object, jlong pointer, jstring javaXml, jboolean isFinal) { in ExpatParser_appendString() argument
1064 append(env, object, pointer, bytes, 0, byteCount, isFinal); in ExpatParser_appendString()
/libcore/luni/src/test/java/libcore/java/lang/
DLambdaImplementationTest.java354 assertTrue(Modifier.isFinal(classModifiers)); in assertGeneralLambdaClassCharacteristics()
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatParser.java420 private native void appendString(long pointer, String xml, boolean isFinal) in appendString() argument
/libcore/ojluni/src/main/java/java/lang/invoke/
DMethodHandles.java1218 if (isSetterKind && Modifier.isFinal(modifiers)) { in findAccessor()