Searched defs:cast (Results 1 - 25 of 50) sorted by relevance

12

/openjdk7/langtools/test/tools/javac/cast/5065215/
H A DT5065215.java32 static <T, U extends T> T[] cast(U[] a) { return (T[]) a; } method in class:T5065215
/openjdk7/langtools/test/tools/javac/cast/6467183/
H A DT6467183b.java37 void cast(A<? extends Number> a) { method in class:T6665356b
/openjdk7/langtools/test/tools/javac/generics/
H A DCastCrash.java27 * @summary Crash on cast
33 package cast.crash;
/openjdk7/hotspot/src/share/vm/oops/
H A DarrayKlassKlass.hpp43 static arrayKlassKlass* cast(klassOop k) { function in class:arrayKlassKlass
44 assert(k->klass_part()->oop_is_klass(), "cast to arrayKlassKlass");
H A DinstanceKlassKlass.hpp56 static instanceKlassKlass* cast(klassOop k) { function in class:instanceKlassKlass
57 assert(k->klass_part()->oop_is_klass(), "cast to instanceKlassKlass");
H A DobjArrayKlassKlass.hpp39 int oop_size(oop obj) const { return objArrayKlass::cast(klassOop(obj))->object_size(); }
49 static objArrayKlassKlass* cast(klassOop k) { function in class:objArrayKlassKlass
50 assert(k->klass_part()->oop_is_klass(), "cast to objArrayKlassKlass");
H A DtypeArrayKlassKlass.hpp39 int oop_size(oop obj) const { return typeArrayKlass::cast(klassOop(obj))->object_size(); }
47 static typeArrayKlassKlass* cast(klassOop k) { function in class:typeArrayKlassKlass
48 assert(k->klass_part()->oop_is_klass(), "cast to typeArrayKlassKlass");
H A DcompiledICHolderKlass.hpp54 static compiledICHolderKlass* cast(klassOop k) { function in class:compiledICHolderKlass
55 assert(k->klass_part()->oop_is_compiledICHolder(), "cast to compiledICHolderKlass");
H A DconstMethodKlass.hpp60 static constMethodKlass* cast(klassOop k) { function in class:constMethodKlass
61 assert(k->klass_part()->oop_is_constMethod(), "cast to constMethodKlass");
H A DconstantPoolKlass.hpp47 static constantPoolKlass* cast(klassOop k) { function in class:constantPoolKlass
48 assert(k->klass_part()->oop_is_constantPool(), "cast to constantPoolKlass");
H A DcpCacheKlass.hpp46 static constantPoolCacheKlass* cast(klassOop k) { function in class:constantPoolCacheKlass
47 assert(k->klass_part()->oop_is_constantPoolCache(), "cast to constantPoolCacheKlass");
H A DinstanceRefKlass.hpp53 static instanceRefKlass* cast(klassOop k) { function in class:instanceRefKlass
54 assert(k->klass_part()->oop_is_instanceRef(), "cast to instanceRefKlass");
H A DklassKlass.hpp53 static klassKlass* cast(klassOop k) { function in class:klassKlass
54 assert(k->klass_part()->oop_is_klass(), "cast to klassKlass");
H A DmethodDataKlass.hpp50 static methodDataKlass* cast(klassOop k) { function in class:methodDataKlass
51 assert(k->klass_part()->oop_is_methodData(), "cast to methodDataKlass");
H A DmethodKlass.hpp53 static methodKlass* cast(klassOop k) { function in class:methodKlass
54 assert(k->klass_part()->oop_is_method(), "cast to methodKlass");
H A DinstanceMirrorKlass.hpp49 static instanceMirrorKlass* cast(klassOop k) { function in class:instanceMirrorKlass
50 assert(k->klass_part()->oop_is_instanceMirror(), "cast to instanceMirrorKlass");
66 _offset_of_static_fields = instanceMirrorKlass::cast(SystemDictionary::Class_klass())->size_helper() << LogHeapWordSize;
H A DtypeArrayKlass.hpp87 static typeArrayKlass* cast(klassOop k) { function in class:typeArrayKlass
88 assert(k->klass_part()->oop_is_typeArray_slow(), "cast to typeArrayKlass");
H A DobjArrayKlass.hpp69 oop protection_domain() { return Klass::cast(bottom_klass())->protection_domain(); }
71 oop class_loader() const { return Klass::cast(bottom_klass())->class_loader(); }
87 static objArrayKlass* cast(klassOop k) { function in class:objArrayKlass
88 assert(k->klass_part()->oop_is_objArray_slow(), "cast to objArrayKlass");
H A DarrayKlass.hpp90 static arrayKlass* cast(klassOop k) { function in class:arrayKlass
92 assert(kp->null_vtbl() || kp->oop_is_array(), "cast to arrayKlass");
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/host/
H A DBase.java57 protected AnnotationsHost cast( Annotations ann ) { method in class:Base
64 protected LocationHost cast( Location loc ) { method in class:Base
/openjdk7/jdk/src/share/sample/nio/file/
H A DWatchDir.java59 static <T> WatchEvent<T> cast(WatchEvent<?> event) { method in class:WatchDir
132 WatchEvent<Path> ev = cast(event);
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/legacy/connection/
H A DLegacyServerSocketManagerImpl.java117 LegacyServerSocketEndPointInfo endPoint = cast(iterator.next());
132 LegacyServerSocketEndPointInfo endPoint = cast(iterator.next());
149 LegacyServerSocketEndPointInfo ep = cast(endpoints.next());
172 private LegacyServerSocketEndPointInfo cast(Object o) method in class:LegacyServerSocketManagerImpl
/openjdk7/hotspot/src/share/vm/runtime/
H A Dvframe_hp.hpp48 static compiledVFrame* cast(vframe* vf) { function in class:compiledVFrame
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/
H A DIllegalAnnotationException.java59 this(message,cast(src));
68 this(message,cast(src1),cast(src2));
72 this(message,cast(src1),src2);
80 private static Locatable cast(Annotation a) { method in class:IllegalAnnotationException
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/protocol/local/
H A DLocalMonitoredVm.java172 registered = cast(listeners.clone());
208 // Suppress unchecked cast warning msg.
210 static <T> T cast(Object x) { method in class:LocalMonitoredVm

Completed in 669 milliseconds

12