/openjdk7/jdk/test/java/lang/invoke/ |
H A D | InvokeGenericTest.java | 48 @SuppressWarnings("cast") // various casts help emphasize arguments to invokeExact 147 return dst.cast(value);
|
/openjdk7/jdk/src/share/classes/sun/util/logging/ |
H A D | PlatformLogger.java | 229 DefaultLoggerProxy lp = DefaultLoggerProxy.class.cast(this.loggerProxy);
|
/openjdk7/jdk/test/java/util/logging/ |
H A D | TestAppletLoggerContext.java | 108 return TestExc.class.cast(o);
|
/openjdk7/jdk/src/share/classes/java/lang/invoke/ |
H A D | MethodHandles.java | 1508 * then the value of type <em>T0</em> is passed as a <em>T1</em> without a cast. 1540 throw new WrongMethodTypeException("cannot explicitly cast "+target+" to "+newType); 1656 return identity(type).bindTo(type.cast(value)); 1736 value = ptype.cast(value); // throw CCE if needed
|
H A D | MemberName.java | 877 throw nsmClass.cast(ex);
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/ |
H A D | TransTypes.java | 100 /** Construct an attributed tree for a cast of expression to target type, 105 JCExpression cast(JCExpression tree, Type target) { method in class:TransTypes 128 : cast(tree, btarget); 145 * a cast to Integer. That is, the last assignment becomes:
|
H A D | Lower.java | 2080 JCVariableDecl def = make.VarDef(var, (JCExpression)rval); // XXX cast 3041 final boolean cast = TreeInfo.skipParens(tree.arg).getTag() == JCTree.TYPECAST; 3048 JCTree lhs = cast 3824 JCTypeCast cast = make.TypeCast(castTargetIdent, par1UsageId); 3825 cast.setType(castTargetIdent.type); 3833 JCVariableDecl otherVar = make.VarDef(otherVarSym, cast);
|
/openjdk7/jdk/test/java/lang/invoke/indify/ |
H A D | Indify.java | 74 * This call must be cast to {@code CallSite}, and the result must be 956 break; // assume it is a helpful cast 1147 add(itemClass.cast(row)); 1178 return dataClass.cast(data); 1235 return c.cast(walk);
|
/openjdk7/hotspot/src/share/vm/compiler/ |
H A D | compileBroker.cpp | 1033 assert(!instanceKlass::cast(method->method_holder())->is_not_initialized(), 1188 assert(!instanceKlass::cast(method->method_holder())->is_not_initialized(), "method holder must be initialized");
|
/openjdk7/jdk/src/share/classes/com/sun/jmx/interceptor/ |
H A D | DefaultMBeanServerInterceptor.java | 1355 return reqClass.cast(instance); 1359 return reqClass.cast(instance);
|
/openjdk7/hotspot/src/share/vm/code/ |
H A D | codeCache.cpp | 655 number_of_marked_CodeBlobs += instanceKlass::cast(d)->mark_dependent_nmethods(changes);
|
/openjdk7/hotspot/src/share/vm/gc_implementation/g1/ |
H A D | heapRegion.cpp | 87 const char* class_name = instanceKlass::cast(k)->external_name(); 328 // The cast to int is safe, given that we've bounded region_size by
|
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | doCall.cpp | 512 Node* cast = cast_not_null(receiver); local 513 // %%% assert(receiver == cast, "should already have cast the receiver"); 950 // Calling this method would include an implicit cast to its holder. 956 tty->print_cr("found unique CHA method, but could not cast up");
|
H A D | memnode.cpp | 658 bool MemNode::adr_phi_is_loop_invariant(Node* adr_phi, Node* cast) { argument 661 // includes such a CastPP, and so the original cast, whatever its input, 662 // must be covered by an equivalent cast, with an earlier control input. 670 // Add the phi node and the cast to the worklist. 673 if( cast != NULL ){ 674 if( !cast->is_ConstraintCast() ) return false; 675 worklist.push(cast); 688 // - it is a cast of an identical value 690 // Otherwise, the node is not OK, and we presume the cast is not invariant 708 // Find any cast [all...] |
H A D | memnode.hpp | 76 static bool adr_phi_is_loop_invariant(Node* adr_phi, Node* cast); 83 // Find any cast-away of null-ness and keep its control. 182 *(const Type**)&_type = t; // cast away const-ness
|
H A D | library_call.cpp | 1115 // Properly cast the argument to String 3571 Node* cast = new (C) CastPPNode(klass_node, akls); local 3572 cast->init_req(0, control()); 3573 klass_node = _gvn.transform(cast); 5512 // so we cast it here safely. 5518 // cast it to what we know it will be at runtime
|
H A D | parse1.cpp | 1229 return Bytecodes::is_defined(i) ? Bytecodes::name(Bytecodes::cast(i)) : "xxxunusedxxx"; 2006 // cast from oop to interface allowed by the Verifier. Make it explicit
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/ |
H A D | Options.java | 997 a.add(clazz.cast(implClass.newInstance()));
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/client/ |
H A D | WSServiceDelegate.java | 613 return portInterface.cast(proxy);
|
/openjdk7/jdk/test/javax/management/mxbean/ |
H A D | MXBeanTest.java | 238 T impl = c.cast(Proxy.newProxyInstance(c.getClassLoader(),
|
/openjdk7/hotspot/src/share/vm/interpreter/ |
H A D | bytecodeInterpreter.cpp | 1285 // this is ugly QQQ (why cast to jlong?? ) 2045 const char* objName = Klass::cast(objKlassOop)->external_name(); 2046 const char* klassName = Klass::cast(klassOf)->external_name(); 2373 // instanceKlass* rcvrKlass = instanceKlass::cast(STACK_OBJECT(-parms)->klass()); 2388 but using instanceKlass::cast(STACK_OBJECT(-parms)->klass()) causes in assertion failure
|
H A D | templateTable.cpp | 54 return Bytecodes::cast(i);
|
/openjdk7/jdk/src/share/classes/java/lang/ |
H A D | Class.java | 390 * {@code Object} argument is non-null and can be cast to the 3074 * @param obj the object to be cast 3082 public T cast(Object obj) { method in class:Class 3089 return "Cannot cast " + obj.getClass().getName() + " to " + getName(); 3094 * represented by the specified class object. Checks that that the cast 3100 * {@code Class} objects that it is willing to accept. A cast would 3101 * generate a compile-time warning, as the correctness of the cast 3105 * @return this {@code Class} object, cast to represent a subclass of
|
/openjdk7/hotspot/src/share/vm/runtime/ |
H A D | os.cpp | 297 instanceKlass::cast(PENDING_EXCEPTION->klass())->
|
/openjdk7/jdk/make/jpda/jdwp/ |
H A D | jdwp.spec | 2260 "be safely cast to the given reference type. "
|