/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
H A D | createDocumentType03.java | 73 DocumentType newType = null; 79 newType = domImpl.createDocumentType(qualifiedName, publicId, systemId); 80 nodeName = newType.getNodeName(); 82 nodeValue = newType.getNodeValue();
|
H A D | createDocumentType01.java | 76 DocumentType newType; 83 newType = domImpl.createDocumentType(malformedName, publicId, systemId);
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
H A D | CreateDocumentType.java | 163 DocumentType newType = null; 169 newType = domImpl.createDocumentType(qualifiedName, publicId, systemId); 170 nodeName = newType.getNodeName(); 172 nodeValue = newType.getNodeValue();
|
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
H A D | MethodHandle.java | 40 public MethodHandle asType(MethodType newType) { return null; } argument
|
H A D | MethodHandles.java | 109 MethodHandle explicitCastArguments(MethodHandle target, MethodType newType) { return null; } argument 112 MethodHandle permuteArguments(MethodHandle target, MethodType newType, int... reorder) { return null; } argument
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
H A D | MethodHandle.java | 711 * <em>T0</em>{@code =newType.parameterType(i)} and <em>T1</em>{@code =this.type().parameterType(i)}. 713 * <em>T0</em>{@code =this.type().returnType()} and <em>T1</em>{@code =newType.returnType()}. 762 * @param newType the expected type of the new method handle 766 * @throws NullPointerException if {@code newType} is a null reference 770 public MethodHandle asType(MethodType newType) { argument 773 if (newType == type) { 777 if (!type.isConvertibleTo(newType)) { 778 throw new WrongMethodTypeException("cannot convert " + this + " to " + newType); 782 mh.nominalType = newType; 1356 // /*non-public*/ MethodHandle viewAsType(MethodType newType, boolea [all...] |
H A D | CallSite.java | 211 MethodType newType = newTarget.type(); // null check! 212 if (!newType.equals(oldType))
|
H A D | MethodHandles.java | 2576 * @param newType the expected type of the new method handle 2585 MethodHandle explicitCastArguments(MethodHandle target, MethodType newType) { argument 2586 explicitCastArgumentsChecks(target, newType); 2589 if (oldType == newType) return target; 2590 if (oldType.explicitCastEquivalentToAsType(newType)) { 2591 return target.asFixedArity().asType(newType); 2594 return new Transformers.ExplicitCastArguments(target, newType); 2597 private static void explicitCastArgumentsChecks(MethodHandle target, MethodType newType) { argument 2598 if (target.type().parameterCount() != newType.parameterCount()) { 2599 throw new WrongMethodTypeException("cannot explicitly cast " + target + " to " + newType); 2663 permuteArguments(MethodHandle target, MethodType newType, int... reorder) argument 2674 permuteArgumentChecks(int[] reorder, MethodType newType, MethodType oldType) argument [all...] |
H A D | MethodType.java | 812 // boolean isViewableAs(MethodType newType, boolean keepInterfaces); 813 // boolean parametersAreViewableAs(MethodType newType, boolean keepInterfaces); 815 boolean isConvertibleTo(MethodType newType) { argument 817 MethodTypeForm newForm = newType.form(); 821 if (!canConvert(returnType(), newType.returnType())) 823 Class<?>[] srcTypes = newType.ptypes; 836 (newForm.primitiveParameterCount() == 0 && newForm.erasedType == newType)) { 849 boolean explicitCastEquivalentToAsType(MethodType newType) { argument 850 if (this == newType) return true; 851 if (!explicitCastEquivalentToAsType(rtype, newType [all...] |
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
H A D | MethodHandleCombinersTest.java | 760 final MethodType newType = MethodType.methodType(void.class, new Class<?>[]{ 765 target, newType, new int[]{7, 6, 5, 4, 3, 2, 1, 0}); 772 MethodHandles.permuteArguments(target, newType, 781 MethodHandles.permuteArguments(target, newType, 789 MethodHandles.permuteArguments(target, newType, 802 final MethodType newType = MethodType.methodType(String.class, String.class, 808 newType, new int[]{1, 0}); 811 permutation = MethodHandles.permuteArguments(target, newType, new int[]{0, 0}); 814 permutation = MethodHandles.permuteArguments(target, newType, new int[]{1, 1}); 824 final MethodType newType [all...] |
/libcore/ojluni/src/main/java/java/util/ |
H A D | Arrays.java | 3120 * The resulting array is of the class <tt>newType</tt>. 3126 * @param newType the class of the copy to be returned 3133 * an array of class <tt>newType</tt> 3136 public static <T,U> T[] copyOf(U[] original, int newLength, Class<? extends T[]> newType) { argument 3138 T[] copy = ((Object)newType == (Object)Object[].class) 3140 : (T[]) Array.newInstance(newType.getComponentType(), newLength); 3385 * The resulting array is of the class <tt>newType</tt>. 3393 * @param newType the class of the copy to be returned 3402 * an array of class <tt>newType</tt>. 3405 public static <T,U> T[] copyOfRange(U[] original, int from, int to, Class<? extends T[]> newType) { argument [all...] |