Home
last modified time | relevance | path

Searched refs:tclass (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicLongFieldUpdater.java90 public static <U> AtomicLongFieldUpdater<U> newUpdater(Class<U> tclass, in newUpdater() argument
94 return new CASUpdater<U>(tclass, fieldName, caller); in newUpdater()
96 return new LockedUpdater<U>(tclass, fieldName, caller); in newUpdater()
385 private final Class<T> tclass; field in AtomicLongFieldUpdater.CASUpdater
388 CASUpdater(final Class<T> tclass, final String fieldName, in CASUpdater() argument
402 field = tclass.getDeclaredField(fieldName); in CASUpdater()
405 caller, tclass, null, modifiers); in CASUpdater()
438 tclass.isAssignableFrom(caller) && in CASUpdater()
439 !isSamePackage(tclass, caller)) in CASUpdater()
440 ? caller : tclass; in CASUpdater()
[all …]
DAtomicReferenceFieldUpdater.java111 public static <U,W> AtomicReferenceFieldUpdater<U,W> newUpdater(Class<U> tclass, in newUpdater() argument
115 (tclass, vclass, fieldName, Reflection.getCallerClass()); in newUpdater()
307 private final Class<T> tclass; field in AtomicReferenceFieldUpdater.AtomicReferenceFieldUpdaterImpl
324 AtomicReferenceFieldUpdaterImpl(final Class<T> tclass, in AtomicReferenceFieldUpdaterImpl() argument
341 field = tclass.getDeclaredField(fieldName); in AtomicReferenceFieldUpdaterImpl()
344 caller, tclass, null, modifiers); in AtomicReferenceFieldUpdaterImpl()
380 tclass.isAssignableFrom(caller) && in AtomicReferenceFieldUpdaterImpl()
381 !isSamePackage(tclass, caller)) in AtomicReferenceFieldUpdaterImpl()
382 ? caller : tclass; in AtomicReferenceFieldUpdaterImpl()
383 this.tclass = tclass; in AtomicReferenceFieldUpdaterImpl()
[all …]
DAtomicIntegerFieldUpdater.java90 public static <U> AtomicIntegerFieldUpdater<U> newUpdater(Class<U> tclass, in newUpdater() argument
93 (tclass, fieldName, Reflection.getCallerClass()); in newUpdater()
386 private final Class<T> tclass; field in AtomicIntegerFieldUpdater.AtomicIntegerFieldUpdaterImpl
389 AtomicIntegerFieldUpdaterImpl(final Class<T> tclass, in AtomicIntegerFieldUpdaterImpl() argument
404 field = tclass.getDeclaredField(fieldName); in AtomicIntegerFieldUpdaterImpl()
408 caller, tclass, null, modifiers); in AtomicIntegerFieldUpdaterImpl()
443 tclass.isAssignableFrom(caller) && in AtomicIntegerFieldUpdaterImpl()
444 !isSamePackage(tclass, caller)) in AtomicIntegerFieldUpdaterImpl()
445 ? caller : tclass; in AtomicIntegerFieldUpdaterImpl()
446 this.tclass = tclass; in AtomicIntegerFieldUpdaterImpl()
[all …]