/libcore/ojluni/src/main/java/java/lang/constant/ |
D | ClassDesc.java | 155 int depth = ConstantUtils.arrayDepth(descriptorString()); in arrayType() 175 int currentDepth = ConstantUtils.arrayDepth(descriptorString()); in arrayType() 178 return ClassDesc.ofDescriptor("[".repeat(rank) + descriptorString()); in arrayType() 202 return ClassDesc.ofDescriptor(dropLastChar(descriptorString()) + "$" + nestedName + ";"); in nested() 237 return descriptorString().startsWith("["); in isArray() 246 return descriptorString().length() == 1; in isPrimitive() 255 return descriptorString().startsWith("L"); in isClassOrInterface() 266 return isArray() ? ClassDesc.ofDescriptor(descriptorString().substring(1)) : null; in componentType() 279 String className = internalToBinary(ConstantUtils.dropFirstAndLastChar(descriptorString())); in packageName() 297 return Wrapper.forBasicType(descriptorString().charAt(0)).primitiveSimpleName(); in displayName() [all …]
|
D | ReferenceClassDescImpl.java | 60 public String descriptorString() { in descriptorString() method in ReferenceClassDescImpl 68 int depth = ConstantUtils.arrayDepth(descriptorString()); in resolveConstantDesc() 73 return lookup.findClass(descriptorString()); in resolveConstantDesc() 75 … Class<?> clazz = lookup.findClass(internalToBinary(dropFirstAndLastChar(c.descriptorString()))); in resolveConstantDesc() 99 return descriptor.equals(constant.descriptorString()); in equals()
|
D | DirectMethodHandleDescImpl.java | 94 boolean isVoid = type.returnType().descriptorString().equals("V"); in validateFieldType() 106 if (!type.returnType().descriptorString().equals("V")) { in validateConstructor() 141 … INTERFACE_SPECIAL -> invocationType.dropParameterTypes(0, 1).descriptorString(); in lookupDescriptor() 143 INTERFACE_STATIC -> invocationType.descriptorString(); in lookupDescriptor() 144 … case CONSTRUCTOR -> invocationType.changeReturnType(CD_void).descriptorString(); in lookupDescriptor() 146 STATIC_GETTER -> invocationType.returnType().descriptorString(); in lookupDescriptor() 147 case SETTER -> invocationType.parameterType(1).descriptorString(); in lookupDescriptor() 148 case STATIC_SETTER -> invocationType.parameterType(0).descriptorString(); in lookupDescriptor()
|
D | MethodTypeDesc.java | 169 default String descriptorString() { in descriptorString() method 172 .map(ClassDesc::descriptorString) in descriptorString() 174 returnType().descriptorString()); in descriptorString()
|
D | PrimitiveClassDescImpl.java | 61 public String descriptorString() { in descriptorString() method in PrimitiveClassDescImpl 67 return Wrapper.forBasicType(descriptorString().charAt(0)).primitiveType(); in resolveConstantDesc()
|
D | MethodTypeDescImpl.java | 57 if (cr.isPrimitive() && cr.descriptorString().equals("V")) in MethodTypeDescImpl() 141 return MethodType.fromMethodDescriptorString(descriptorString(), in resolveConstantDesc()
|
D | ConstantUtils.java | 89 static int arrayDepth(String descriptorString) { in arrayDepth() argument 91 while (descriptorString.charAt(depth) == '[') in arrayDepth()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | TypeDescriptor.java | 51 String descriptorString(); in descriptorString() method
|
D | MethodType.java | 1191 public String descriptorString() {
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ClassTest.java | 683 assertEquals("I", int.class.descriptorString()); in testDescriptorString() 684 assertEquals("V", void.class.descriptorString()); in testDescriptorString() 685 assertEquals("[I", int[].class.descriptorString()); in testDescriptorString() 686 assertEquals("[[I", int[][].class.descriptorString()); in testDescriptorString() 687 assertEquals("Ljava/lang/String;", String.class.descriptorString()); in testDescriptorString() 688 assertEquals("[Ljava/lang/String;", String[].class.descriptorString()); in testDescriptorString()
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodTypeTest.java | 681 int.class, String.class, Object.class).descriptorString()); in testDescriptorString() 683 assertEquals("()I", MethodType.methodType(int.class).descriptorString()); in testDescriptorString() 684 assertEquals("()[I", MethodType.methodType(int[].class).descriptorString()); in testDescriptorString() 687 .descriptorString()); in testDescriptorString()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/invoke/ |
D | MethodType.annotated.java | 98 public @libcore.util.NonNull java.lang.String descriptorString() { throw new RuntimeException("Stub… in descriptorString() method in MethodType
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Class.java | 4837 public String descriptorString() { in descriptorString() method in Class 4842 return "[" + componentType.descriptorString(); in descriptorString() 4904 : Optional.of(ClassDesc.ofDescriptor(descriptorString())); in describeConstable()
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Class.annotated.java | 190 public @libcore.util.NonNull String descriptorString(); in descriptorString() method in Class
|
/libcore/api/ |
D | current.txt | 3078 method @NonNull public String descriptorString(); 4755 method @NonNull public String descriptorString(); 4792 method public String descriptorString();
|