Home
last modified time | relevance | path

Searched refs:isFinal (Results 1 – 12 of 12) 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/ojluni/src/main/java/java/lang/invoke/
DVarHandle.java2204 VarHandle(Class<?> varType, boolean isFinal) { in VarHandle() argument
2208 this.accessModesBitMask = alignedAccessModesBitMask(varType, isFinal); in VarHandle()
2219 VarHandle(Class<?> varType, boolean isFinal, Class<?> coordinateType) { in VarHandle() argument
2223 this.accessModesBitMask = alignedAccessModesBitMask(varType, isFinal); in VarHandle()
2236 VarHandle(Class<?> varType, Class<?> backingArrayType, boolean isFinal, in VarHandle() argument
2248 this.accessModesBitMask = alignedAccessModesBitMask(varType, isFinal); in VarHandle()
2327 static int alignedAccessModesBitMask(Class<?> varType, boolean isFinal) { in alignedAccessModesBitMask() argument
2333 if (isFinal) { in alignedAccessModesBitMask()
DMethodHandles.java1219 if (isSetterKind && Modifier.isFinal(modifiers)) { in findAccessor()
/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.cpp1033 const char* bytes, size_t byteOffset, size_t byteCount, jboolean isFinal) { in append() argument
1038 if (!XML_Parse(parser, bytes + byteOffset, byteCount, isFinal) && !env->ExceptionCheck()) { in append()
1069 …arser_appendString(JNIEnv* env, jobject object, jlong pointer, jstring javaXml, jboolean isFinal) { in ExpatParser_appendString() argument
1076 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.java423 private native void appendString(long pointer, String xml, boolean isFinal) in appendString() argument